Comments (6)
This may sound obvious, but did you verify that the ZIP file that you uploaded to the packages
directory is valid and not corrupted?
Also, is there anything special about the corrupted file? For example, is the size wrong (and if so, is it larger or smaller)? Have you tried looking at it with a hex editor? How about the HTTP headers from the download - anything wrong there? Did the download get interrupted after a certain time or after a specific number of bytes was transmitted?
Edit: Also, wp-update-server
is not a plugin.
from wp-update-server.
Of course is not a plugin...sorry for the mistake.
The uploaded zip file is not corrupted. If I download it via ftp I'm able to unzip it. The problem is during the update process via WordPress. The client receive the corrupted zip file with the notification I mentioned in my previous message.
Both files (the corrupted and the original) are identical in size, but when I open them with the HexEditor I've noticed that there are some differences, but I don't know what can I do with this information.
Also the HTTP headers are valid.
If I use wp-update-server
on a server different from the one I'm using, everything's working as usual.
from wp-update-server.
Hi. I'm having a similar issue. I'm using WP 4.8 hosted at GoDaddy, trying to use plugin-update-checker-4.1. The zip file for my plugin/update appears to be OK - when I download it to my PC then upload it to my WP installation to install manually, it works just fine. But when I try to use the update link generated by the plugin-update-checker plugin, I get
Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Here's the link to the JSON meta file: http://talk-city.com/talkcity/talkcity-plugin-version.json
Any hints appreciated!
from wp-update-server.
Both files (the corrupted and the original) are identical in size, but when I open them with the HexEditor I've noticed that there are some differences, but I don't know what can I do with this information.
Maybe I could take a look. Can you post the file or send it to me? My email is [email protected]
@DanBruns: It looks like the download URL requires login. Does you plugin take care of that, e.g. by appending login credentials to the URL? If not, that would explain why updates don't work. WordPress can't download the update because it's not logged in.
from wp-update-server.
Thanks @YahnisElsts for the quick response! That, of course, was the problem and I'm sorry to have wasted your time. Working now and I'm looking forward to getting it into production!
from wp-update-server.
I was using the wp-load.php
file to access to WordPress functions to fetch some data related to the users. I deleted this file and I solved by using the REST APIs to access to WordPress data.
from wp-update-server.
Related Issues (20)
- Issue with the latest wp-update-server version HOT 5
- Critical Error Upon Setup HOT 4
- PHP8 deprecation notices HOT 4
- Sudenly I get: Update failed: You have the latest version of the plugin. HOT 10
- Handling alpha and beta plugin versions HOT 2
- Problem connecting server with checker library HOT 1
- Is it possible to add a list of domains to update? HOT 5
- How about implementing WordPress Code Standards? HOT 4
- Server maintenance questions. HOT 4
- PHP 8.2.7 Deprecated warnings on Server returning metadata (WP_DEBUG true) HOT 3
- Extension for packages list HOT 4
- Need a little help with extends Wpup_UpdateServer HOT 5
- What's going on here? HOT 3
- Can you change it to a remote zip URL? HOT 2
- guidance HOT 1
- Forbidden HOT 13
- Update Packagist HOT 2
- where I have to put example-theme.zip and which class is correct ? HOT 9
- unexpected error HOT 1
- Secure download link error message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-update-server.