Error reading .xlsx with PHPExcel_Reader_Excel2007

Topics: User Forum
Mar 24, 2008 at 4:47 AM
Hello, everybody.
I have some problem with PHPExcelReaderExcel2007 class. I want use xlsx file as template (read it, write data and save to new file). PHPExcelReaderExcel2007 cant read my xlsx file (Warning: Invalid argument supplied for foreach() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Classes\PHPExcel\Reader\Excel2007.php on line 597), but he is read 05featuredemo.xlsx. When I edit 05featuredemo.xlsx and try it load with PHPExcelReaderExcel2007, i see some errors (Warning: Invalid argument supplied for foreach() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Classes\PHPExcel\Reader\Excel2007.php on line 597).

How I can xlsx file in Excel 2007 without errors in PHPExcelReaderExcel2007?

Sorry for my really bad English :(
Coordinator
Mar 25, 2008 at 8:13 AM
This is a known issue. Please try the latest sources on http://www.codeplex.com/PHPExcel/SourceControl/ListDownloadableCommits.aspx