Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wordpress 获取错误“;无法安装程序包。PCLZIP“错误格式”;_Wordpress - Fatal编程技术网

Wordpress 获取错误“;无法安装程序包。PCLZIP“错误格式”;

Wordpress 获取错误“;无法安装程序包。PCLZIP“错误格式”;,wordpress,Wordpress,我是wordpress的新手。我已经创建了我自己的插件,它的工作为我好。。。现在我已经创建了rar/zip文件我的插件文件夹。。。我正在另一个wordpress项目中上传我的插件.rar文件 这是一个错误 The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature 通过FTP,它在我所有的wordpress项目中运行良好。

我是wordpress的新手。我已经创建了我自己的插件,它的工作为我好。。。现在我已经创建了rar/zip文件我的插件文件夹。。。我正在另一个wordpress项目中上传我的插件.rar文件

这是一个错误

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
通过FTP,它在我所有的wordpress项目中运行良好。。。但我想让它可以上传

我的插件文件结构是:--

/mypluging\u dir

 **--images---** 
 **--css--**
 **--pluginfile.php--**
 **--abc.php--**
 **--xyz.php--**
我使用的是XAMPP3.2.1,我的wordpress版本是3.7.1

任何帮助都将不胜感激


提前感谢很久以前,我用wordpress。但我记得,你不能使用RAR格式的插件。您尝试为插件使用ZIP格式。祝你好运很久以前,我用wordpress。但我记得,你不能使用RAR格式的插件。您尝试为插件使用ZIP格式。祝你好运

作为wordpress标准,你只能上传.zip文件。。。正如您在问题中提到的.rar。。它不会被上传

尝试将转换为.zip格式,然后尝试。。。当然它会被上传

之后,如果仍然有错误,请告诉我


希望它能帮助你…

作为wordpress标准,你只能上传.zip文件。。。正如您在问题中提到的.rar。。它不会被上传

尝试将转换为.zip格式,然后尝试。。。当然它会被上传

之后,如果仍然有错误,请告诉我

希望它能帮助你