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

前端 未结 1 1918
自闭症患者
自闭症患者 2021-01-16 09:08

I\'am trying to read xlsx file, but I get this error:

Warning: ZipArchive::getFromName(): Invalid or unitialized Zip object in E:\\wamp\\www\\test\\Classes\\         


        
相关标签:
1条回答
  • I had the same error and it was due to improper permissions. Try doing a simple fopen() to make 100% sure you can read that file from the given directory. Also, make sure you can read that file successfully if it's in the same directory as your script so you know the file itself is okay.

    0 讨论(0)
提交回复
热议问题