PHP_XLSXWriter
PHP_XLSXWriter copied to clipboard
PHP Notice: tempnam()
Hi, php 7 i receive in log notice:
PHP Notice: tempnam(): file created in the system's temporary directory in /var/www/______/www/vendor/mk-j/php_xlsxwriter/xlsxwriter.class.php on line 59
您好,我已经收到您的信件,将尽快回复您。
Hi, php 7 i receive in log notice:
PHP Notice: tempnam(): file created in the system's temporary directory in /var/www/______/www/vendor/mk-j/php_xlsxwriter/xlsxwriter.class.php on line 59
It seem that your temporary directory does not exist or is not writable, see tempnam
hi @Krezalis and @ebta ,
did you get any soluation for this issue? i am also getting this error.
did you get any soluation for this issue? i am also getting this error.
Need to view log, maybe i change php temp directory
did you get any soluation for this issue? i am also getting this error.
Need to view log, maybe i change php temp directory
Actually we did set our own temp file instead of system temp. and for our own path we need to use absolute path instead of relative path. Now it's working.
Guys, i guess the problem is your filename. Try something simple like "test.xlsx" as a parameter of writeToFile() function