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.
Hi,
I don't understand this problem because the privileges in the folders is all, the warning is:
Warning: ZipArchive::open() [ziparchive.open]: Empty string as source in /Users/sergio/Sites/phpdocx_pro/classes/CreateDocx.inc on line 504
Warning: ZipArchive::extractTo() [ziparchive.extractto]: Permission denied in /Users/sergio/Sites/phpdocx_pro/classes/CreateDocx.inc on line 598
The operating system is Mac. I can't do a Word file, I guess it must be for this warning.
Thank you very much for you attention,
Sergio
Solved.
In CreateDocx.inc, change "private function getTempDir() return '/my/temp/dir';" and full privileges in this temp dir.
Thanks,
Sergio
Thanks!
That's why my qnap server crashed all the time. The tempdir was created in the OS ramdrive, and run out of space.
You saved my day.
Thanks!
Hello,
You can change temp folder when you create the CreateDocx object and using the new version of PHPDocX that will be released today or tomorrow you'll be able to set this option in an INI file.
Regards.