Forum


Replies: 3   Views: 3538
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); }