(Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature)
BPS Pro also has an internal facility to update from zip file within itself and this worked fine, so not critical, but it would be good to establish whether ClassicPress has a possible compatibility issue with standard plugin update method (and ways for plugin/theme authors to mitigate this if so).
Worth noting that the standard update method worked fine on all my WP sites, and to test I also tried reverting a CP site that failed to update to WP, at which point the BPS update installed with no issues, and then switching back to CP (working fine), so it isn’t an issue with my web host’s setup (the error above can apparently be caused by server site issues)
Alternatively/additionally perhaps BPS Pro is checking core files when doing an update. If this is the case, it would be useful to know from CP developers where the error above might be triggered before (I will also raise this issue direct with the developer of BPS Pro at same link on his forum as in my original post at https://forum.ait-pro.com/forums/topic/bps-pro-compatibility-with-classicpress ).
OK, I have edited the post to show link to BPS forum as referring to “1st post in thread” no longer makes sense when moved to new topic.
Thanks, but as in my post above, the update works fine on WP (so zip file and memory are fine) - the issue is just with CP, and only when updated via standard plugin method. BPSpro’s independent zip upload method within the plugin works fine.
I may be able to find the issue in error logs. If so is there a way I can send via private message?
Thanks @ozfiddler - is that using BPSfree or BPSpro? The problems I’m getting are with BPSpro which has a lot of extra features over the free version. All other plugin updates on CP so far work fine for me, this issue is just with BPSpro.
I had an update from the plugin author (see first post in this thread for link) and he is intending to test with CP
(quote) “I’ve been meaning to install a test ClassicPress site Locally for testing. So I will get to that either today or tomorrow. If I can reproduce the PclZip error then I can figure out the cause of the error. Ask the ClassicPress folks if they have modified PclZip in WP in any way.”
The issue with BPSpro update failing has now been diagnosed and resolved by @james on the site affected (very much appreciated, James!) and I have passed the info on to the BPSpro developer (see BPSpro forum link I gave in first post in this thread).
Thanks for helping us get to the bottom of this Rob!
This issue is a very particular set of circumstances (pro plugin with custom updates + very strict server configuration). We’ll watch out for similar things in the future, but the best way to address them is still going to be for the plugin developer to fix the issue on their end.
Many thanks, James, good to know. I’ve updated my CP sites (all 5 running fine with no issues) and have also updated the thread on BPSpro forums to let the developer know
Marking this as resolved, please open a new thread if you see anything else. Thanks again for helping us get to the bottom of this issue, that was really what we needed in order to get it fixed on our end.