4oo4
Forum Replies Created
-
I ended up finding a solution, turns out my memcached wasn’t set up to properly set up to handle 405 errors.
In nginx.conf, I changed
error_page 404 502 504 = @fallback;
toerror_page 404 405 502 504 = @fallback;
and it started accepting the POST requests.Thanks for looking!
Forum: Fixing WordPress
In reply to: XML-RPC 500 Error – Ubuntu 16.04 (nginx/php-fpm)Found my solution. It turns out that my
php7.0-xml
package wasn’t installed correctly, per this:
https://www.tecfused.com/2016/09/php-fatal-error-uncaught-error-call-undefined-function-xml_parser_create/php7.0-xml
was “installed”, but not showing up under my php modules when I ranphp -m
, so purging it and reinstalling it fixed it:sudo apt-get purge php7.0-xml && sudo apt-get install php7.0-xml
@t-p, thanks again for the help!
Forum: Fixing WordPress
In reply to: XML-RPC 500 Error – Ubuntu 16.04 (nginx/php-fpm)Thanks for the quick response.
I did test this again with all my plugins deactivated, and I’m getting this in my nginx error log whether the plugins are activated or deactivated:
2016/09/11 13:40:02 [error] 2942#2942: *137 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /home/user/selfhost/html/wp-includes/class-IXR.php:264 Stack trace: #0 /home/user/selfhost/html/wp-includes/class-IXR.php(464): IXR_Message->parse() #1 /home/user/selfhost/html/wp-includes/class-IXR.php(432): IXR_Server->serve('<?xml version='...') #2 /home/user/selfhost/html/wp-includes/class-IXR.php(440): IXR_Server->__construct(Array, false, false) #3 /home/user/selfhost/html/wp-includes/class-wp-xmlrpc-server.php(197): IXR_Server->IXR_Server(Array) #4 /home/user/selfhost/html/xmlrpc.php(84): wp_xmlrpc_server->serve_request() #5 {main} thrown in /home/user/selfhost/html/wp-includes/class-IXR.php on line 264" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: mysite.com, request: "POST /xmlrpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "mysite.com"
In response to your question about .htaccess files, I don’t use them since I’m using nginx and I have all my configuration in the pastebin links above.
I also tried the app login with a different theme but got the same result.
Let me know if there’s anything else for me to try or other info to grab.
Thanks!
- This reply was modified 8 years, 6 months ago by 4oo4.