Forum


Replies: 14   Views: 11264
Pdf transform not working after migrating to new server using corporate license
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 alerts@dalescott.com  · 08-12-2014 - 19:41

Hello, transformDocument parameters edited, per suggestion. Docx is created, but no PDF doc. Here is entire script: enableCompatibilityMode(); $text = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, ' . 'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut ' . 'enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut' . 'aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit ' . 'in voluptate velit esse cillum dolore eu fugiat nulla pariatur. ' . 'Excepteur sint occaecat cupidatat non proident, sunt in culpa qui ' . 'officia deserunt mollit anim id est laborum.'; $paramsText = array( 'b' => 'single', 'font' => 'Arial' ); $docx->addText($text, $paramsText); $docx->createDocx('test/example_text'); $docx->transformDocument('test/example_text.docx', 'test/example_text.pdf', null,array('debug'=> true)); ?> Log is as follows. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Set language: en-US 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Enable compatibility mode. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Add text to word document. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Set DOCX name to: test/example_text. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Set DOCX name to: test/example_text. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Remove existing template tags. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Add word/document.xml content to DOCX file. 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Close ZIP file 2014-12-08T11:24:44-08:00 phpdocx_logger INFO Copy DOCX file using a new name. Results of Check.php as follows: PHP_VERSION: 5.4.24 PHP_OS: Darwin PHP_UNAME: Darwin dscfmserver.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64 SERVER_NAME: client.dalescott.com SERVER_SOFTWARE: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8za SERVER_ADDR: 192.168.40.7 SERVER_PROTOCOL: HTTP/1.1 HTTP_HOST: client.dalescott.com HTTP_X_FORWARDED_FOR: PHP_SELF: /phpdocx/check.php XSLTProcessor: 1 ZipArchive: 1 DomDocument: 1 SimpleXMLElement: 1 Tidy: 1 Getting a little more urgent to resolve this. Thanks Jonathan