Forum


Replies: 6   Views: 3457
Generatepdf bug
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by andrewk_777  · 09-05-2018 - 19:49

actually getting an error now. my code:

require_once $_SERVER['DOCUMENT_ROOT'].'/office/_libs/PHPDocx/classes/TransformDoc.inc';
require_once $_SERVER['DOCUMENT_ROOT'].'/office/_libs/PHPDocx/classes/CreateDocx.inc';


$docx = new TransformDocAdvLibreOffice();
$docx->transformDocument($_SERVER['DOCUMENT_ROOT'].'/office/_tmp/example_text5.docx', $_SERVER['DOCUMENT_ROOT'].'/office/_tmp/example_text5.pdf');

 

ERROR:
Warning: rename(/home/snterp/public_html/office/_tmp/example_text5.pdf,/home/snterp/public_html/office/_tmp/example_text5.pdf): No such file or directory in /home/snterp/public_html/office/_libs/PHPDocx/classes/TransformDocAdvLibreOffice.inc on line 134

and no file is generated