Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: tophost.lt – naujas požiūris į virtualumą

Parašė ozzWANTED· 2009 Spa. 6 05:10:35
#135

Ar leidžiamas pas Jus PHPExcel modulis. Susimečiau skripto failus, ant VPS'o kliento saite viskas veikė, o pas Jus neleidžia.

Klaidos pranešimai:
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/USER/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Writer/Excel5/Worksheet.php on line 338

Warning: fopen() [function.fopen]: Filename cannot be empty in /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Writer/Excel5/Worksheet.php on line 339

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/USER/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Shared/OLE/OLE_File.php on line 87

Warning: fopen() [function.fopen]: Filename cannot be empty in /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Shared/OLE/OLE_File.php on line 88

Fatal error: Uncaught exception 'Exception' with message 'Can't create temporary file' in /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Shared/OLE/OLE_File.php:90 Stack trace: #0 /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Writer/Excel5/Workbook.php(604): PHPExcel_Shared_OLE_PPS_File->init() #1 /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Writer/Excel5/Workbook.php(572): PHPExcel_Writer_Excel5_Workbook->_storeOLEFile() #2 /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Writer/Excel5/Workbook.php(235): PHPExcel_Writer_Excel5_Workbook->_storeWorkbook() #3 /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Writer/Excel5.php(309): PHPExcel_Writer_Excel5_Workbook->close() #4 /home/USER/domains/DOMAIN/public_html/data/admin/pages/orders/generate_invoice.php(435): PHPExcel_Writer_Excel5->save('invoices/67e010...') #5 /home/USER/domains/DOMAIN/p in /home/USER/domains/DOMAIN/public_html/data/includes/Classes/PHPExcel/Shared/OLE/OLE_File.php on line 90




Čia problema iš mano pusės, ar iš serverio pusės.

Aš generuoju(bandau tai padaryt) atitinkamai Excel5 ir PDF tipo dokumentus.

PHPExcel reference:
http://www.codeplex.com/PHPExcel

Reikalavimai(requirements):
http://phpexcel.codeplex.com/Wik...quirements

Requirements:
PHP version 5.2.5 or higher
PHP extension php_zip enabled
PHP extension php_xml enabled
PHP extension php_gd2 enabled (if not compiled in)

All part of the PHP package (zip) on http://www.php.net/downloads.php, should be enabled in php.ini


Ar viskas pas Jus palaikoma?

Redagavo ozzWANTED· 2009 Spa. 6 05:10:14