Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed last year.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
我通过配置文件名如下解决了问题。
I solved the problem by configuring the filename as follows.
就我而言,它显示出此错误,因为现有的Excel是空的。一旦您填充一个牢房,它的工作就可以了。
in my case it showed this error because the existing Excel was empty. As soon you fill a cell its working.
错误的某些原因
找不到zip成员
如果您使用laravel excel
package(或phpexcel
)可能是您处理文件导入laravel排队
,只需使用排队的阅读解决方案。与此讨论的错误相似的一个示例在这里。如果没有任何帮助,请使用替代软件包 simplexlsx or/and/and/and/and/and simplexls
Some of reason of error
Could not find zip member
if you useLaravel Excel
package (orPHPExcel
) may be that you handle file import insideLaravel Queued Job
, just use Queued reading solution. An example of error similar to this discussed here.If nothing helps, use alternative package SimpleXLSX or/and SimpleXLS
如果您的XLSX文件受密码保护,则必须先删除密码。否则也将报告此错误。
if your xlsx file had be protected by password, You must remove the password first. or it would be report this error too.