Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

The update from within WP Dashboard (or by uploading the .zip Plugin folder) produces this error : PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

Solution: Please review this 2 threads: https://wpml.org/it/forums/topic/problem-to-upgrade-the-plugins/

https://wpml.org/forums/topic/error-while-updating-wpml-multilingual-cms-pclzip_err_bad_format-v-3-1-8-3/

The issue is sporadically happening and can be solved (usually) by a manual update / install of the plugin

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 7 replies, has 5 voices.

Last updated by loicd 5 years, 8 months ago.

Assigned support staff: Beda.

Author Posts
February 24, 2015 at 5:11 pm #566054

douglasA

I am trying to update to WPML Multilingual CMS 3.1.8.5 - no success.

This is the transcript and error.
---
The update process is starting. This process may take a while on some hosts, so please be patient.

Enabling Maintenance mode…

Updating Plugin WPML Multilingual CMS (1/1)
Downloading update from http://wpml.org/?download=6088&version=3.1.8.5&site_key=HFug46xETJ&site_url=http://mysite.ca…
Unpacking the update…
An error occurred while updating WPML Multilingual CMS: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Disabling Maintenance mode…

All updates have been completed.
----

I have no problem at all on this server and this wordpress installation updating other plugins and wordpress core.
Please debug.

February 24, 2015 at 8:22 pm #566197

Beda

Hello Douglas

Please review this 2 threads:
https://wpml.org/it/forums/topic/problem-to-upgrade-the-plugins/

https://wpml.org/forums/topic/error-while-updating-wpml-multilingual-cms-pclzip_err_bad_format-v-3-1-8-3/

The issue is sporadically happening and can be solved (usually) by a manual update / install of the plugin

Please review the above links, and as manual install procedure follow this:

==>Backup your website and database<==
-Deactivate/Delete the "installer" plugin (if you have it).
-Deactivate all WPML plugins.
-Login via FTP to your wp-content/plugins/ folder.
-Delete all WPML folders.
-Go to http://wpml.org/my-account/downloads/ and download the latest WPML Multilingual CMS Plugin, then extract it. (WPML 3.1.8.5)
-Upload the plugin via FTP to wp-content/plugins/ folder.
(alternatively you could upload the .zip folder using Dashboard > Plugins > new > upload)
-Activate the WPML plugin via WP Dashboard > plugins
-Complete the setup, if needed
-Register WPML for your site (at the end of setup, clic on "generate key" button)
-Navigate to Dashboard > Plugins and locate WPML Multilingual CMS
-Clic on the blue link that says "Registered"
-Download and activate all needed WPML AdOn Plugins

This should not generate any problems.

In case you want to register WPML for your site manually please make sure to enter the naked URL of your site in wpml.org (something like hidden link)

Please let me know if this works

In the extreme case, please try to register with all non-WPML Plugins deactivated.

Please let me know if you find anymore issues.

Thank you

February 25, 2015 at 1:45 am #566286

Kitani

In all my sites, WPML were deactivated after the WPML 3.1.8.5 was updated.
I think that this cause is the folder name issue.

WPML 3.1.8.4 or older version: wp-content/plugins/sitepress-multilingual-cms

WPML 3.1.8.5: wp-content/plugins/sitepress-multilingual-cms-3.1.8.5

I already fixed this issue using WP-CLI command.
1. change wp-content/plugins/sitepress-multilingual-cms-3.1.8.5 folder name to wp-content/plugins/sitepress-multilingual-cms.
2. wp plugin activate sitepress-multilingual-cms

February 25, 2015 at 4:18 am #566310

douglasA

I manually updated the plugin manually and all seems well.
Thanks for the advice.

February 25, 2015 at 7:58 am #566351

loicd

Hi,

This thread is not resolved.
I have the same problems, and i have found what was the trick:
During WPML Multilingual CMS update process in WP the remote zip archive used by this update process contains a folder named

sitepress-multilingual-cms.3.1.8.5

that is the problem. when WP unzip this archive, you can have difference issues:
- an error and update process is stopped (because the name of the folder inside the zip archive has to be

sitepress-multilingual-cms

and not

sitepress-multilingual-cms.3.1.8.5

- the update process goes on, but the plugin is desactivated because the name of the plugin folder don't match. In that case, if you activate the plugin the name of the folder stays wrong. but if you manually correctly rename it without

.3.1.8.5

at the end, this plugin is reactivated magically.

WPML team has to correct the problem quickly!
The right thing to do is to rename the folder without

.3.1.8.5

, because if not you will have a similar problems with next update …

Best regards, and thanks to WPML for they work.

Loïc, Paris

February 27, 2015 at 4:24 pm #568279

douglasA

Well, I manually installed WPML 3.1.8.5.
Works well.

Now I have the same issue with the newest update (WPML 3.1.8.5) as well.
I imagine the same fix will apply

Update Plugin
Downloading update from http://wpml.org/?download=6088&version=3.1.8.6&site_key=HFug46xETJ&site_url=https://mysite.ca…

Unpacking the update…

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
December 13, 2015 at 10:32 pm #767909

sergioV-2

I have the same problem updating to 3.3.3. Will this be recurrent? We will need to delete, download and FTP all 6 plugins for an update?

December 14, 2015 at 12:51 am #767928

loicd

Hi,

I had no problems with last updates of WPML for many web sites.

May be what you can do this time is to try this:

1) Download to your computer "WPML Multilingual CMS" v3.3.3 to your computer, you will get "sitepress-multilingual-cms.zip" file.

2) Find et manually delete by FTP "sitepress-multilingual-cms" folder located in your plugins folder inside "wp-content" folder.

3) Upload via WordPress Admin backend, in menu "Plugins" > "Add New" and click on "Upload plugin". Then you can upload "sitepress-multilingual-cms.zip" file from your computer and activate it.

4) Now you can try again to update all the others 5 WPML additional plugins as before. I think it will work this time and you will not get errors in future.

Regards