You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by alaindev April 23, 2022
Hello PhpSpreadsheet Team
I Face a Bug when i need to reopen a phpspreadsheet created template.
crash when save if images where in the footer
IOFactory::load eval-crash.xlsx whith image in footer
create a IOFactory::createWriter and save it to file2.xlsx
IOFactory::load(file2.xlsx) produced by phpspreasheet
create a IOFactory::createWriter and save it to dest.xlsx
and crash bescause of missing zip image stuff ?
Fatal error: Uncaught PhpOffice\PhpSpreadsheet\Writer\Exception: File zip://C:\temp\file2.xlsx# does not exist in C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\aplitec\includes\modules\phpoffice\phpspreadsheet\src\PhpSpreadsheet\Writer\Xlsx\ContentTypes.php on line 215
This seems similar to issue #3126, which was fixed (I hope) by PR #3140, which was merged around Nov. 2. Does your error still occur when you test against master?
Discussed in #2770
Originally posted by alaindev April 23, 2022
Hello PhpSpreadsheet Team
I Face a Bug when i need to reopen a phpspreadsheet created template.
crash when save if images where in the footer
IOFactory::load eval-crash.xlsx whith image in footer
create a IOFactory::createWriter and save it to file2.xlsx
IOFactory::load(file2.xlsx) produced by phpspreasheet
create a IOFactory::createWriter and save it to dest.xlsx
and crash bescause of missing zip image stuff ?
Fatal error: Uncaught PhpOffice\PhpSpreadsheet\Writer\Exception: File zip://C:\temp\file2.xlsx# does not exist in C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\aplitec\includes\modules\phpoffice\phpspreadsheet\src\PhpSpreadsheet\Writer\Xlsx\ContentTypes.php on line 215
=========================================
getSheetNames(); $liassewriter = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($showPHPExcel,"Xlsx"); $file = 'c:\tmp\file1.xlsx'; $liassewriter->save($file); $step2PHPExcel = \PhpOffice\PhpSpreadsheet\IOFactory::load($file); $sheets_array = $showPHPExcel->getSheetNames(); $liassewriter = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($step2PHPExcel, "Xlsx"); $liassewriter->save('c:\tmp\file2.xlsx'); ?>================================================
Thanks a lot Regards
Alain
The text was updated successfully, but these errors were encountered: