Error while extracting the zip file using php ziparchive
-
Hi there,
Got the below error while using WP Clone.
The plugin encountered an error while extracting the zip file using php ziparchive,the following error message was returned:
Image Link: http://imgur.com/Jes5Lr6
Thanks,
Jatin
-
try the alternate zip method (it’s in advanced settings) at the very least it’ll return an error message.
by the way, make sure that you’re able to download the backup file using your browser or download manager. if you’re having trouble downloading it, deactivate wpclone and activate it again (it’ll update the htaccess rules)Thanks for such a quick response.
Did try Alternate Zip Method and got below error:
Error Message : PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
THanks
it’s probably downloading an html file instead of the zip file, make sure that the link works.
Yes, link is working fine, also Backup from browser worked.
hmm, are you able to open the downloaded zip file?
I’ve had same problem. It will restore from the link it creates, but if you try to upload a backup of a site from a zip file you have stored remotely, it does not work. Same error. I feel like it has something to do with the name. Even if I have it scan and populate the file and tell it to restore from the link. (I hope that all make sense).
hmm, scan and repopulate should have worked.. tell you what, download the file to your computer and see if you can open it without trouble.
you could rename the file and do another scan to see if that solves it.I tried this….
1. created a backup,
2. downloaded that zip file and opened it (which removes the string of other info…dates/times/etc and names it just wpclone_backup).
3. Then, zipped the same file back up, uploaded to server
4. Used the option to scan/repopulate list.When I tried to restore from that file (reuploaded zip), I got the error above. When I tried to restore from the link that system originally created (the same exact file), it worked.
The restore log on the server seems to show that is just stops…
Sunday, 10-Jan-2016 19:45:50 – restore started
Sunday, 10-Jan-2016 19:45:50 – wp version : 4.4.1
Sunday, 10-Jan-2016 19:45:50 – php version : 5.3.24
Sunday, 10-Jan-2016 19:45:50 – mysql version : 5.5.43
Sunday, 10-Jan-2016 19:45:50 – memory limit : 1024M
Sunday, 10-Jan-2016 19:45:50 – execution time : 600
Sunday, 10-Jan-2016 19:45:50 – mysql timeout : 600
Sunday, 10-Jan-2016 19:45:50 – socket timeout : 600
Sunday, 10-Jan-2016 19:45:50 – file exists in the backup folder, filesize – 1.63 MB
Sunday, 10-Jan-2016 19:45:50 – extracting database using ziparchivecould you send the links to those files (the original and the one you created) to [email protected]?
As far as my issue is concern it is still the same. The backup download works absolutely fine.
are you able to extract that file without errors?
Yes, it seems to be fine.
hmm, tell you what, upload that file to /wp-content/uploads/wp-clone/ on your target site, do a “scan and repopulate” and try doing a restore. you really shouldn’t be seeing a “PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature” error for a file that extracts without errors.
Hi there, I’m trying to restore a site from a server to another server. WP Clone works fine when Creating the Zip Backup. But after I uploaded the Zip file to the other server and tried to Restore from URL and also Scan & repopulate the backup list and then Restore backup from the new Zip file, I get the same “Plugin encounter error…” message, shown from “jatsptl2014’s” example screenshot on this thread.
I’ve had the most problem using WP Clone plugin on the GoDaddy.com hosting server for some reason. The other servers seems to work fine, but GoDaddy seems to not be as compatible with this great plugin. Let me know if you can help me solve this issue.
Thanks!
godaddy has a 120 second limit for php scripts, so it will fail if the backup/restore takes longer than that (for example, if the site has a large database or a lot of large files)
anyways, did you manage to get it to work?
The topic ‘Error while extracting the zip file using php ziparchive’ is closed to new replies.