Comments (9)
Do you happen to have Dummy Plugin and WP Plugin Update Server activated on the same WordPress install? If yes, that would be the issue - the WordPress install cannot be client and server at the same time.
If not, please visit Settings > Permalinks on the WordPress install where WP Plugin Update Server is located to flush the URL rewrite rules - it may be the reason why you get a 404 error.
P.S.: to answer your question, you do not need to install anything else besides a fully configured WP Plugin Update Server on one hand, and the plugin to be updated (Dummy Plugin) on the other hand to get the plugin up and running.
from wp-plugin-update-server.
Hi @froger-me, the problem where permalinks, I flushed, and now it's working fine. Dummp Plugin is installed on localhost and I'm getting timeout, but if I change sslverify to false, it's working fine.
Tnx for your help!
from wp-plugin-update-server.
Hi @atlet !
Is it a new install of both WP Plugin Update Server and Dummy Plugin version 1.4, or is it an update from v1.3?
from wp-plugin-update-server.
Hi @froger-me ,
it's a new install.
from wp-plugin-update-server.
I am investigating, I did not seem to be able to reproduce the javascript error just yet.
from wp-plugin-update-server.
Do you need additional data?
from wp-plugin-update-server.
The malformed response error triggered by WP Package Updater library can occur when the server could not be contacted by the plugin that needs to be updated, but could also happen in other cases - it seems I need to change that part to include a more meaningful message.
To provide more data, could you please edit dummy-plugin/lib/wp-package-updater/class-wp-package-updater.php and change the following (lines 394 to 399):
if ( is_wp_error( $response ) ) {
$license_data = new stdClass();
$license_data->message = __( 'Unexpected Error! The query to retrieve the license data returned a malformed response.', 'wp-package-updater' );
return $license_data;
}
into:
if ( is_wp_error( $response ) ) {
$license_data = new stdClass();
$license_data->message = $response->get_error_message();
return $license_data;
}
... and then try again, see the message you get, and report here?
I do not know if it has any effect on the JS (I actually doubt it would), but at least I'd know what error you get and could reproduce the entire scenario.
from wp-plugin-update-server.
Ok, problem is, that doesen't find url on my server (https://mysitexxx/wppus-license-api):
[status_code] => 404
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://mysitexxx/wppus-license-api/?action=activate&license_key=etr&allowed_domains=wordpress.loc&package_slug=mysuperplugin
[history] => Array
I installed WP Plugin Update Server, do I need to install something else on update server?
from wp-plugin-update-server.
@atlet Great! Glad it helped!
from wp-plugin-update-server.
Related Issues (20)
- Hide license box after activation HOT 8
- Access_Token will be removed by July 1st, 2020 HOT 9
- PHP 7.3 warning HOT 3
- Remote (Github) packages not updated? HOT 2
- Integrate with EDD Software Licensing HOT 1
- curl error: cant resolve host HOT 2
- It's trying to download from the plugin intsall directory site rather than the update server HOT 2
- Setup Usage Problem HOT 1
- Integration with plugins software-license-manager HOT 6
- Issue "Unexpected Error! The query to retrieve the license data returned a malformed response." HOT 3
- Deprecation notice for authentication via URL query parameters HOT 2
- Licenses need domain to manage HOT 1
- Possible incorrect use of the function **date_i18n** HOT 1
- Packages assets - Banners and Icons HOT 1
- License Management HOT 1
- Update available, but 'update now' link not visible HOT 1
- Script update based on wp-update-server HOT 1
- Is it possible to remove the yellow notice after activating the license? HOT 2
- Public API Authentication Key HOT 1
- PHP 8.2 compatible version 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-plugin-update-server.