19:07:01 Create new PHPExcel object
19:07:01 Set document properties
19:07:01 Add some data
19:07:01 Rename worksheet
19:07:01 Set cell protection
19:07:01 Set sheet security
19:07:01 Write to Excel2007 format
Warning: ZipArchive::close(): Failure to create temporary file: Permission denied in /var/www/api.dimerc.cl/public_html/external/general_api/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 398
Fatal error: Uncaught PHPExcel_Writer_Exception: Could not close zip file /var/www/api.dimerc.cl/public_html/external/general_api/vendor/phpoffice/phpexcel/Examples/12cellProtection.xlsx. in /var/www/api.dimerc.cl/public_html/external/general_api/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:399
Stack trace:
#0 /var/www/api.dimerc.cl/public_html/external/general_api/vendor/phpoffice/phpexcel/Examples/12cellProtection.php(92): PHPExcel_Writer_Excel2007->save('/var/www/api.di...')
#1 {main}
thrown in /var/www/api.dimerc.cl/public_html/external/general_api/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 399