Admin Site Admin Occupation: Web Developer
Location: Canada
Offline
Joined: Nov 26, 2004 Find all post by Admin
Total Posts: 79
0.06 posts per day
Total Words: 26,399
Posted: Wed Jun 06, 2007 1:36 pm Post subject: Error With PHP 5 and WordPress xmlrpc.php - Fix
Error With PHP 5 and WordPress xmlrpc.php - Fix
Users experiencing troubles with WordPress built in ping feature, and you're hosted on a PHP 5.2.2 platform -- need to apply this fix to their xmlrpc.php file in order for it to work!
Example you're receiving the following error message:
Quote:
Invalid payload received from xmlrpc server
Server Said:
"XML-RPC accepts post request only"
How to fix this error!
Open up xmlrpc.php in the root directory where WordPress is installed and add the following line:
Code:
if (phpversion()=="5.2.2") $GLOBALS ['HTTP_RAW_POST_DATA'] = file_get_contents('php: // input')
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
Invision-Graphics Support Forums - Forum Sitemap - Spambots
All times are GMT - 5 Hours
Today: 11,019
Yesterday: 45,354
Total Hits: 24,449,046
Page Rendered in: 0.15s - Total Queries: 8 - MySQL DB: 16.6 mb's - Pages served in past 5 minutes: 107