maxcutler / python-wordpress-xmlrpc

Python library for WordPress XML-RPC integration
http://python-wordpress-xmlrpc.rtfd.org
MIT License
381 stars 130 forks source link

<ProtocolError for mydomain.com/xmlrpc.php: 500 Internal Server Error> #76

Closed djiesamsoe closed 9 years ago

djiesamsoe commented 9 years ago

I tried to make a post, but I found the error as follows: wordpress_xmlrpc.exceptions.ServerConnectionError: <ProtocolError for mydomain.com/xmlrpc.php: 500 Internal Server Error>

errors that occur in my script as follows:

from wordpress_xmlrpc import Client
//error here
client = Client('http://mydomain.com/xmlrpc.php', 'username', 'password')

I asked for his help to resolve the issue. Thanks before.

maxcutler commented 9 years ago

As the error message says, the issue is that your WordPress server is returning a 500 error code instead of a 200 with XML contents. You need to look at your server logs or manually send XML-RPC requests using curl or Postman or your tool of choice and see the actual error occuring on your server. If you need further help with your WordPress server configuration, https://wordpress.org/support/ is a more appropriate forum than my library's GitHub issues.

djiesamsoe commented 9 years ago

Thanks Max