08:36:39 Create new PHPExcel object
08:36:39 Set document properties
08:36:39 Add some data
08:36:39 Rename worksheet
08:36:39 Set document security
08:36:39 Set sheet security
08:36:39 Write to Excel5 format
Warning: fopen(/var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.xls): failed to open stream: Permission denied in /var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 85
Fatal error: Uncaught PHPExcel_Writer_Exception: Can't open /var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.xls. It may be in use or protected. in /var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php:88
Stack trace:
#0 /var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5.php(214): PHPExcel_Shared_OLE_PPS_Root->save('/var/www/html/c...')
#1 /var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.php(94): PHPExcel_Writer_Excel5->save('/var/www/html/c...')
#2 {main}
thrown in /var/www/html/cont.megaconstruct.ro/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 88