woocommerce 2.6.13 zip file is corrupt
-
I downloaded woocommerce.2.6.13.zip and tried to unzip it but it was corrupt.
I used zip2fix to fix woocommerce.2.6.13.zip then unzipped it but when I tried to activate it files were missing.
I downloaded woocommerce-master.zip from https://github.com/woocommerce/woocommerce/tree/master/ and it seems to have worked.
-
I just downloaded it from https://wordpress.org/plugins/woocommerce/ and it’s OK. It may just be “one of those internet things”.
Did you try to unzip the file?
That is when the error occurs not when I try to download it.
I downloaded it again and when I did an unzip I get this error:
checksum error etc etc
I tested it using Windows 7 and Debian 8.
Both had checksum errors all through the zip file.
Recreate that zip file please and upload it over the corrupt one.
error on Debian 8:
unzip woocommerce.2.6.13\ \(3\).zip
Archive: woocommerce.2.6.13 (3).zip
woocommerce.2.6.13 packaged
creating: woocommerce/
woocommerce/i18n/: mismatching “local” filename (woocommerce/readme.txt),
continuing with “central” filename version
creating: woocommerce/i18n/[giant paste redacted. Please use pastebin.com or gist.github.com for large pastes.]
-
This reply was modified 9 years, 1 month ago by
Steven Stern (sterndata).
Did you try to unzip the file?
I did and it’s fine. It may be a bad mirror or something. I’ll ping the team that looks at such things.
Fully unzip the file not just the top level. Click on woocommerce in the opened zip file and see all the errors crop up.
Also please remove the last line of the last post if possible.
Dwight: I know how to test a zip file. The one I download is OK. As mentioned, I’ve asked the folks who maintain the infrastructure to take a look in case we’re hitting different mirrors.
Update: response from the meta team ..
>> Checked, all servers have the same ZIP. No issues. Must have been a bad download on their end <<
-
This reply was modified 9 years, 1 month ago by
Steven Stern (sterndata).
There are no issues with this ZIP file on our servers. All servers have the same ZIP file, which is 2,045,053 bytes in size. It unzips correctly.
This was for a manual update not automated update due to my server settings making FTP difficult.
My file download had the same number of bytes as yours.
I redownloaded the file again from wordpress.org/plugins/woocommerce and still get Zip errors when I try to open the zip file on Windows 7 or Debian 8.
I will have to upload the woocommerce master plugin from github for now.
I can’t find a way to download files off wordpress.org using FTP.
When I used Zip2Fix on Windows 7 only 812 of 839 files were found.
http://leelusoft.blogspot.com.au/2011/06/zip2fix-10.html is where I downloaded Zip2Fix to try to fix corrupted Zip file.
For the record:
]$ md5sum woocommerce.2.6.13.zip 2aac04514f64bd9d04e9cab2f36d40c0 woocommerce.2.6.13.zipActually, doing a checksum of the ZIP files is not very useful. Many times the ZIP files from our servers will have different checksums because the ZIPs are produced at different times. It’s not a single shared ZIP, each server builds their own.
@wwwalkerweb You should not need to use “zip2fix” at all. The ZIP file unzips correctly. I used the Windows built-in ZIP functionality with no issues. 7-Zip also recognizes the file correctly. It’s a valid ZIP, there is nothing whatsoever wrong with it.
Whatever it is that you’re doing to make the file invalid is on your end, not ours. The ZIPs on our servers unzip correctly. I used Windows 10 and 7-Zip as well as the normal unix “unzip” to test, and they all worked fine.
-
This reply was modified 9 years, 1 month ago by
Samuel Wood (Otto).
I installed 7-Zip and opened the archive then pasted it into another archive and uploaded it and unzipped it in plugins folder and tried to activate it but there were missing files so the archive even if it can be read by 7-Zip is corrupt and needs rebuilding.
I am using Windows 7 and you are using Windows 10.
I get different MD5sum for every zip I downloaded so that was unreliable.
Missing 25 files:
includes/class-wc-autoloader.php
includes/wc-core-functions.php
includes/wc-widget-functions.php
includes/wc-webhook-functions.php
includes/class-wc-install.php
includes/class-wc-geolocation.php
includes/class-wc-comments.php
includes/class-wc-post-data.php
includes/class-wc-ajax.php
includes/admin/class-wc-admin.php
includes/class-wc-query.php
includes/class-wc-api.php
includes/abstracts/abstract-wc-data.php
includes/abstracts/abstract-wc-payment-token.php
includes/abstracts/abstract-wc-product.php
includes/abstracts/abstract-wc-order.php
includes/abstracts/abstract-wc-settings-api.php
includes/abstracts/abstract-wc-shipping-method.php
includes/abstracts/abstract-wc-payment-gateway.php
includes/abstracts/abstract-wc-integration.php
includes/class-wc-product-factory.php
includes/gateways/class-wc-payment-gateway-cc.php
includes/gateways/class-wc-payment-gateway-echeck.php
includes/class-wc-integrations.php
includes/class-wc-cache-helper.phpActually, doing a checksum of the ZIP files is not very useful. Many times the ZIP files from our servers will have different checksums because the ZIPs are produced at different times. It’s not a single shared ZIP, each server builds their own.
Thanks, Otto. As usual, I learned a new thing from you. 🙂
So I just downloaded a 5th copy of the woocommerce.2.6.13.zip and unzipped it using 7-Zip then copied all the files as is into the site under plugins and it worked.
End of saga.
JQuery not working general settings – 7Zip warned end of archive had corrupted Jquery file.
No country can be selected.
Warning: asort() expects parameter 1 to be array, boolean given in /var/www/html/wwwalker.com.au/public_html/wordpress/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php on line 590
Warning: asort() expects parameter 1 to be array, boolean given in /var/www/html/wwwalker.com.au/public_html/wordpress/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php on line 590
Warning: asort() expects parameter 1 to be array, boolean given in /var/www/html/wwwalker.com.au/public_html/wordpress/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php on line 590
The error may have also occurred when I installed 2.7.0-beta-1 as it updated the database.
-
This reply was modified 9 years, 1 month ago by
The topic ‘woocommerce 2.6.13 zip file is corrupt’ is closed to new replies.