404 Not Found
404 Not Found

Reputation: 1223

Getting error "The package could not be installed. PCLZIP_ERR_BAD_FORMAT "

i am newbie in wordpress. i have created my own plugin and it's working fine for me... now i have created rar/zip file my plugin folder... i am uploading my plugin .rar file in my another wordpress project...

it's giving error

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

through FTP it's working fine in my all wordpress projects... but i want to make it uploadable.

my plugin file structure is :--

/mypluging_dir

 **--images---** 
 **--css--**
 **--pluginfile.php--**
 **--abc.php--**
 **--xyz.php--**

i am using xampp 3.2.1 and my wordpress version is 3.7.1

Any help will be appreciate..

Thanks in advance

Upvotes: 0

Views: 4123

Answers (2)

Kalpit
Kalpit

Reputation: 4936

As the wordpress standard you have to upload .zip file only... as you mentioned in your question .rar.. it won't get upload...

Try to convert in to the .zip format and try... surely it will get upload...

after that if still you are getting error let me know..

hope it may help you...

Upvotes: 4

Lost Heaven 0809
Lost Heaven 0809

Reputation: 466

A long time ago, i used to use wordpress. But i remember, you can't use RAR format for your plugin. You try using ZIP format for your plugin. Good luck

Upvotes: 2

Related Questions