Forum


Replies: 3   Views: 3389
Mergedocx with first and final document equal
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 rcelle  · 07-04-2015 - 16:20

Is there a problem if the first and final document for the function mergeDocx are the same file? Because in a local machine (slowly) multiple execution of merge run perfectly. Instead the same code in production server (fast) give a error at the second execution of consecutive merge. foreach ($this->lavdoc as $filename) { $newDocx->mergeDocx($firstfile, $filename, $firstfile, $options); }

Posted by admin  · 07-04-2015 - 17:39

Hello, What version and license of phpdocx are you using? Regards.

Posted by rcelle  · 08-04-2015 - 14:19

Version is 3.5.1 Pro

Posted by admin  · 09-04-2015 - 06:46

Hello, Please upgrade to the latest version available on your MYPHPDOCX page after login. Regards.