{"id":191,"date":"2010-07-14T00:27:18","date_gmt":"2010-07-14T04:27:18","guid":{"rendered":"http:\/\/mikemartinezonline.com\/blog\/?p=191"},"modified":"2010-07-29T01:55:11","modified_gmt":"2010-07-29T05:55:11","slug":"wordpress-500-internal-server-error-xmlrpc-php-fix-part-2","status":"publish","type":"post","link":"https:\/\/mikemartinezonline.com\/blog\/2010\/07\/14\/wordpress-500-internal-server-error-xmlrpc-php-fix-part-2\/","title":{"rendered":"WordPress 500 internal Server Error xmlrpc.php fix part 2"},"content":{"rendered":"<p>I had this issue previously and it appeared resolved. But it has returned after upgrading my WordPress installation to 3.x.<\/p>\n<p>So I tried the simple thing of just disabling all my plug-ins but that didn\u2019t do it this time.<\/p>\n<p>I had to do that (disable my plug-ins as described <a href=\"https:\/\/mikemartinezonline.com\/blog\/?p=157\">here<\/a>) <strong>and<\/strong> all this too!<\/p>\n<p>I hope this helps some of you. <em><strong>Please make sure you have a complete backup of our MYSQL dbase AND your blog in case you hose something! I am a nut about backups and you should be too.<\/strong><\/em><\/p>\n<p>OK so..<\/p>\n<p>Do this:<br \/>\n1. Using either FTP or CPanel, navigate to your WordPress root directory.<br \/>\n2. You should find the file \u201cxmlrpc.php\u201d there. Make a back up copy of it, just in case. Download it and then.<br \/>\n3. Open xmlrpc.php in an editor<br \/>\n4. Go to the end of the file.<br \/>\n5. Put your cursor after the final ?&gt;<br \/>\n6. Delete anything there, including spaces, or blank lines.<br \/>\n7. Save the edited xmlrpc.php back to your WordPress root directory. [I also changed the permissions on this file to allow the Owner to \u2018Execute\u2019 too!]<\/p>\n<p><a href=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2010\/07\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/mikemartinezonline.com\/blog\/wp-content\/uploads\/2010\/07\/image_thumb.png\" border=\"0\" alt=\"image\" width=\"257\" height=\"260\" \/><\/a><\/p>\n<p>Then:<\/p>\n<p>If you don&#8217;t have one (php.ini) then create a text file and name it \u201cphp.ini\u201d (without the quotes \ud83d\ude09 ) and with a single line of code in it:<\/p>\n<p>memory=20MB<\/p>\n<p>[If you have one just add that line.]<br \/>\nThis file has to be placed into the root directory OR \/wp-admin\/ within your WordPress installation.<br \/>\nIt caused me problems being in the \/wp-admin\/ directory so I deleted it from there and place it in the root of my blog \/mysite\/blog\/<br \/>\nSo keep that in mind!<br \/>\nAlso if you are creating the file locally and then uploading it make sure you change the file to a .ini and it does not still have the .txt extension on it.<\/p>\n<p>Then you might want to find your .htaccess file<br \/>\n[It is a hidden file! So if you are using an FTP client make sure you set your &#8216;filter&#8217; with the &#8216;-a&#8217; option to &#8216;see hidden files&#8217; and directories.]<br \/>\nAdd this line to the beginning of the file:<\/p>\n<p>AddType x-mapp-php5 .php<br \/>\nAddHandler x-mapp-php5 .php<br \/>\n&lt;Files xmlrpc.php&gt;<br \/>\nSecFilterInheritance Off<br \/>\n&lt;\/Files&gt;<\/p>\n<p>And lastly I did this<\/p>\n<p>Run the following database query to change the data type on the post_parent column:<\/p>\n<p>ALTER TABLE wp_posts CHANGE post_parent post_parent BIGINT;<\/p>\n<p>So after a few hours of aggravation I can now publish posts with loads of content from Window Live Writer again!<\/p>\n<p>UPDATE: This <a href=\"http:\/\/lee-jones.com\/blog\/fix-error-500-internal-server-error\/\">guy here<\/a> has a new solution for 1&amp;1 users that works well!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had this issue previously and it appeared resolved. But it has returned after upgrading my WordPress installation to 3.x. So I tried the simple thing of just disabling all my plug-ins but that didn\u2019t do it this time. I had to do that (disable my plug-ins as described here) and all this too! I &hellip; <a href=\"https:\/\/mikemartinezonline.com\/blog\/2010\/07\/14\/wordpress-500-internal-server-error-xmlrpc-php-fix-part-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress 500 internal Server Error xmlrpc.php fix part 2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":587,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[101,99,18,31,13,86,100],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts\/191"}],"collection":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/users\/587"}],"replies":[{"embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":3,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":257,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions\/257"}],"wp:attachment":[{"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikemartinezonline.com\/blog\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}