Jorge,
Thank you for your prompt reply. Unfortounately, your suggestion does not work. I tried sepearting the .docx creating code from the PDF converting code, and it still doesn't work or generate any errors.
Here is the PDF conversion code:
error_reporting(-1);
require_once '/var/www/app/phpdocx/classes/TransformDocAdv.inc';
$transform = new TransformDocAdv();
try{ $transform->transformDocument('outfile.docx','outfile.pdf'); } catch (Exception $e){
echo '<p>Error Caught!</p>';
var_dump($e);
}
I am certian that the www-data user has write access to the folder, because the .docx files are getting created with no problem. I am also concerned that the try/catch block is not throwing an exception and that no errors are being displayed despite the conversion function failing.