Forum


Replies: 5   Views: 3300
Using templates
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 smaubian  · 11-04-2013 - 12:13

So the issue is that i'm using a user (www-data) to run apache and when i use the createDocxAndDownload() it's just not working. If i create a folder (with full access to user www-data) and use createDocx command it works.

I think this is related to the usage of tmp folders because i can see your files in /tmp created by user www-data but when i'm requested to download the file this is an empty one.

I will investigate later as i do not plan to create the file on the server , i just need a passthrough