Forum


Replies: 6   Views: 10067
Check.php missing in the community version download
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 anprieto  · 19-09-2013 - 10:13

Thanks for your answer jorgelj -



Yes, I read that, but I couldn't know easily if my hosting had these modules installed, so i wanted to use check.php (that is what is for, right?). In fact, now that it will be in community version, maybe you could give us a link to that single file.



Anyway, I finally discover that my hosting has no Ziparchive module. So, I have tried in a friend's hosting, which has this module.



I still have errors. It seems that phpdocx is trying to write in the hostings tmp folder, which it's strange. I get these errors making a simple operation to create a document.   How can i solve this?  thanks in advance.



Warning: tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose uid is 10010 is not allowed to access /tmp owned by uid 0 in /var/www/vhosts/-----------.com/httpdocs/phpdocx/classes/CreateDocx.inc on line 706



Warning: ZipArchive::open() [ziparchive.open]: Empty string as source in /var/www/vhosts/--------.com/httpdocs/phpdocx/classes/CreateDocx.inc on line 708



Warning: ZipArchive::extractTo() [ziparchive.extractto]: SAFE MODE Restriction in effect. The script whose uid is 10010 is not allowed to access /tmp owned by uid 0 in /var/www/vhosts/----------.com/httpdocs/phpdocx/classes/CreateDocx.inc on line1211



Warning: ZipArchive::extractTo() [ziparchive.extractto]: SAFE MODE Restriction in effect. The script whose uid is 10010 is not allowed to access /tmp owned by uid 0 in /var/www/vhosts/----------.com/httpdocs/phpdocx/classes/CreateDocx.inc on line1211



Fatal error: Uncaught exception 'Exception' with message 'Error while extracting the Base Template: there may be problems writing in the default tmp folder' in /var/www/vhosts/-----------.com/httpdocs/phpdocx/classes/PhpdocxLogger.inc:57 Stack trace: #0 /var/www/vhosts/-----------.com/httpdocs/phpdocx/classes/CreateDocx.inc(1217): PhpdocxLogger::logger('Error while ext...', 'fatal') #1 /var/www/vhosts/-----------.com/httpdocs/phpdocx/generar_word.php(9): CreateDocx->__construct() #2 {main} thrown in/var/www/vhosts/-----------.com/httpdocs/phpdocx/classes/PhpdocxLogger.inc on line 57