Skip Navigation

[Resolved] The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) unable to find end of central Dir Record signature.

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

Problem:
When updating Toolset this error appears:
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) unable to find end of central Dir Record signature.

Solution:
This issue was solved in previous Toolset versions.
If you see this again please contact us.

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 4 replies, has 2 voices.

Last updated by ryanl-3 5 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#1201172

I am trying to: update the views plug in but it says: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) unable to find end of central Dir Record signature.

Link to a page where the issue can be seen: n/a

I expected to see: n/a

Instead, I got: My view set up already before I tried to install the new views update stopped working when the update did not work.

#1201221

I see other users with the same error, see here:
https://toolset.com/forums/topic/plugin-update-errors/#post-1201219

As you will see there, I wasn't able to replicate this problem on any of my servers.
It may hence be due to particular settings, other software, or server.

You can for now follow the instructions in the linked thread, but it would be great for us to know why this happens, and for that, we would need an example site where this is happening.
Do you have an online staging instance of the site where this issue is replicable?
Would you agree with us having a look there?

I see the issue on your linked site, but that is a live site, and I don't want to break it debugging it.
I also see the issue there, as both the Toolset Installer AND the WordPress updater fail when updating Views and WooCommerce Views.
I can however not replicate this locally, hence it is due to some exceptional thing that we do not share (such as Server, ISP, etc)

#1201223

Please also ask your server host for PclZip version used.

#1201296

I was able to rename the folders and install the new views plugins, however my search that was working before the update is still not working. I went and tried to resave the view and it wont save because it says it is missing a lot of things in the loop. This is what it says.
((
The Loop cannot be saved because some required elements missing or are present more than once. Please make sure that your code contains those elements in correct order:

[wpv-layout-start] is missing or malformed.
[wpv-items-found] is missing or malformed.
<!-- wpv-loop-start --> is missing or malformed.
<!-- wpv-loop-end --> is missing or malformed.
[/wpv-items-found] is missing or malformed.
[wpv-layout-end] is missing or malformed.
<wpv-loop> is used more than once.
</wpv-loop> is used more than once.
This is a minimal example of Loop with mandatory elements that you can use as a reference:

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-layout-end]

Please fix the problem and click on Update again.
))

Also I do not have a staging site, do you have any suggestions on plugins to download and create a staging site so I can get you access?

Thanks Beda

#1201303

My issue is resolved now. Thank you!

I just redid the view and it worked properly. Thanks again.