Hello,
I’m trying to import an excel spreadsheet to a database using a control application and the built-in excel php library. I’ve watched the youtube tutorial and tried to adapt the example file providing by Nate . unfortunately when the application tries to process the file I get the following error.
Fatal error : Uncaught PHPExcel_Reader_Exception: Could not open /Applications/Scriptcase/v9/wwwroot/scriptcase/file/doc/asset_group_11_1.xlsx for reading! File does not exist. in /Applications/Scriptcase/v9/wwwroot/scriptcase/prod/third/phpexcel/PHPExcel/Reader/Excel2007.php:82 Stack trace: #0 /Applications/Scriptcase/v9/wwwroot/scriptcase/prod/third/phpexcel/PHPExcel/IOFactory.php(268): PHPExcel_Reader_Excel2007->canRead(’/Applications/S…’) #1 /Applications/Scriptcase/v9/wwwroot/scriptcase/prod/third/phpexcel/PHPExcel/IOFactory.php(191): PHPExcel_IOFactory::createReaderForFile(’/Applications/S…’) #2 /Applications/Scriptcase/v9/wwwroot/scriptcase/app/UFM_August_2020/process_assets/index.php(1663): PHPExcel_IOFactory::load(’/Applications/S…’) #3 /Applications/Scriptcase/v9/wwwroot/scriptcase/app/UFM_August_2020/process_assets/index.php(2506): process_assets_apl->controle() #4 {main} thrown in /Applications/Scriptcase/v9/wwwroot/scriptcase/prod/third/phpexcel/PHPExcel/Reader/Excel2007.php on line 82
Any advice greatly appreciated
Thanks in advance
Phill