Forum


Replies: 7   Views: 4643
Error with pdf generation with new phpdocx pro
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 admin  · 11-04-2013 - 12:13

[quote][b]Quote from dlange on May 17, 2012, 10:52[/b]
Hey,

thanks for your fast response. This was my own fault ... had a typo when choosing the docx file. I got another error now instead though. A PDF is generated and automatically downloaded, but it is malformatted. I then checked my log files and found the following error:
[code]<p>Severity: Warning</p>
<p>Message: ZipArchive::extractTo(): Permission denied</p>
<p>Filename: classes/TransformDoc.inc</p>
<p>Line Number: 308</p>[/code]

Do you have any idea what might cause this, and how I can resolve this? I even tried to actually give chmod 777 to the whole PHPDOCX directory and the directory and files I want to convert.

Further, another question (but unrelated to the error above), how can I save the pdf file to the server instead of downloading it directly?

Best,
Daniel[/quote]

You're getting this error:

Message: ZipArchive::extractTo(): Permission denied

Please check write access permissions.