Экспорт
Добавлено: 12 янв 2015, 19:13
После обновления на 1.2 версию, появилась возможность экспорта.
Но Ексель файлы после экспорта получаются 0КБ и не открываются.
Но Ексель файлы после экспорта получаются 0КБ и не открываются.
Предложения, сообщения об ошибках, помощь!
https://forum.rukovoditel.net.ru/
это предупреждение означает что сесия не может сохраниться в папке "/tmp"01 Jan 2015 00:50:57 Warning
session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 678 is not allowed to access /tmp owned by uid 0
/home/cifrakie/domains/hotlan.com.ua/private_html/includes/functions/sessions.php:149
Код: Выделить всё
define('SESSION_WRITE_DIRECTORY','/tmp');
Код: Выделить всё
define('SESSION_WRITE_DIRECTORY','/home/cifrakie/domains/hotlan.com.ua/private_html/tmp');
12 Jan 2015 18:18:08 Warning
realpath(): SAFE MODE Restriction in effect. The script whose uid is 678 is not allowed to access /tmp owned by uid 0
/home/cifrakie/domains/hotlan.com.ua/private_html/includes/libs/PHPExcel/PHPExcel/Shared/File.php:175
12 Jan 2015 18:18:08 Warning
tempnam(): Unable to access
/home/cifrakie/domains/hotlan.com.ua/private_html/includes/libs/PHPExcel/PHPExcel/Writer/Excel2007.php:197
12 Jan 2015 18:18:08 Warning
ZipArchive::open(): Unable to access php://output
/home/cifrakie/domains/hotlan.com.ua/private_html/includes/libs/PHPExcel/PHPExcel/Writer/Excel2007.php:239
Код: Выделить всё
30 Mar 2015 00:26:34 Warning
realpath(): open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Shared/File.php:175
30 Mar 2015 00:26:34 Warning
tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Writer/Excel2007.php:197
30 Mar 2015 00:42:58 Warning
realpath(): open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Shared/File.php:175
30 Mar 2015 00:42:58 Warning
tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Writer/Excel2007.php:197
30 Mar 2015 00:48:15 Warning
realpath(): open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Shared/File.php:175
30 Mar 2015 00:48:15 Warning
tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Writer/Excel2007.php:197
30 Mar 2015 00:57:28 Warning
realpath(): open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Shared/File.php:175
30 Mar 2015 00:57:28 Warning
tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/robota100/data:.)
/home/robota100/data/www/robota100.com/includes/libs/PHPExcel/PHPExcel/Writer/Excel2007.php:197
Код: Выделить всё
$pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp');
Код: Выделить всё
$pFilename = @tempnam('путь к папке', 'phpxltmp');