Forum


Replies: 8   Views: 4821
Namespace version throws error
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  · 10-06-2016 - 16:16

Hello,

Please run one of the included examples standalone and using PHP CLI mode to test if the library is working on your server.

As you're using a framework, maybe you didn't include the autoloader of phpdocx to be able to use the library? Please check your server logs.

About this line:

$docx->createDocx('../word_documents/hello_world');

It seems very strange, because a relative path like this one in a framework is not the public folder, so maybe it's wrong or the web server can't write in the folder.

Regards.