Here is a guide explaining how to set up a package provider ?
MODX lover
-
Développeur MODX / Webdesign / Solutions web
-
☆ A M B ☆
- 427 Posts
Thank you Jako. That will come in very handy.
Quote from: Jako at Mar 17, 2015, 11:41 AMA very basic one could be found here: https://github.com/Jako/modx-package-provider
Thanks!
I got "MODX received a blank response from the provider. Please double check your service URL and make sure the provider is a valid provider."
curl is enabled and I changed $url in index.php
Any idea?
[ed. note: johnxx last edited this post 11 years, 7 months ago.]
MODX lover
-
Développeur MODX / Webdesign / Solutions web
-
☆ A M B ☆
- 1,031 Posts
If you call the url with the package provider, you should see a basic information page. All links on that page should return an (xml) answer.
Have you changed line 131 in index.php? Forgot that hint in the readme.
Yes the line 131 $url target the index.php directory
When I call the URL, I get an error 500.
It seems to me it comes from case "update".
MODX lover
-
Développeur MODX / Webdesign / Solutions web
-
☆ A M B ☆
- 1,031 Posts
Could you get the PHP/Apache error log and see what is going wrong?
If not: could you make the _log folder writable and see if there occur any errors in error.log in that folder? Maybe you have to create that file.