我是 php 和 wordpress 的新手,但是由于某些需要,我只能使用 wordpress。因此,刚开始我阅读了教程并创建了自己的 wordpress 主题,当我尝试上传主题时,出现以下错误:
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
搜索相同的内容,我发现通常导致此类错误的原因是最大可用空间或上传文件大小问题。但是,由于我在 localhost 上工作,所以我认为情况并非如此。此外,我还增加了upload_max_filesize
,post_max_size
和memory_limit
。但我仍然遇到同样的错误。
我正在使用 Wordpress 3.5.2。