Forum


Replies: 6   Views: 8433
Failed to open stream: permission denied
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 2ndmile  · 21-03-2013 - 13:47

I uploaded the PHPDOCX folder and tried to run one of the test files. I received the following error:

[code]Warning: copy(example_text.docx) [function.copy]: failed to open stream: Permission denied in /home/forceccp/public_html/phpdocx_free/classes/CreateDocx.inc on line 1215[/code]

I confirmed that the script is writing to the /tmp folder (echo $this->_tempDir) in the root of the webserver. I tried different permission on this folder (755, 775, 777) to no avail.

I also confirmed with my webhost that all requirements are fulfilled.

Any thoughts? TIA