web analytics

PCLZIP_ERR_BAD_FORMAT (-10)

Issue:

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

( I got this error when I was trying to upload a theme in WordPress and my hosting is Godaddy.)

Reason:

The error was due to I was trying to upload a file with RAR Compression. While WordPress only support ZIP compression.

Solution 1:

I unzip my Theme and Compress it with ZIP format and upload it again,

Ta da it uploads successfully. 🙂

Solution 2: ( if you are already uploading a zip file) 

Check that only those file are here that you wan to upload. Search on folder, if there was already zip folder in it. Then extract that external Zip folder and upload it.

Solution 3: ( If both methods won’t work for you )

First make sure your theme / Plugin file is not incomplete or corrupt.

Then do that

Download theme package, upzip it and upload through FTP whole theme folder into

/wp-content/themes

Then go to Admin CP and switch to new installed theme.

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!