PHPExcel Warning: ZipArchive :: getFromName (): Invalid or unified Zip object in

I am trying to read an xlsx file, but I am getting this error:

Warning: ZipArchive::getFromName(): Invalid or unitialized Zip object in E:\wamp\www\test\Classes\PHPExcel\Reader\Excel2007.php on line 323 

What does this error mean?

0
source share
1 answer

I had the same error and this was due to incorrect permissions. Try making simple fopen() to make 100% sure that you can read this file from this directory. Also, make sure you can read this file successfully if it is in the same directory as your script so that you know that the file itself is in order.

+2
source

All Articles