XML-RPC and PHP 5.2.2
Due to a bug in PHP 5.2.2, the Serendipity XML-RPC plugin will no longer work, because PHP does not initialize a required variable correctly.
The bug is listed on PHP.net here and has been fixed in their CVS already. To fix the problem in Serendipity you will need to either update your PHP installation, or downgrade to the previous version.
Since this bug happens at a place where Serendipity has no possibility to interact, the bug cannot be circumvented by the XML-RPC posting plugin, and your provider definitely needs to upgrade PHP as soon as it will be out officially.
Trackbacks
Trackback-URL für diesen Eintrag
- Keine Trackbacks
Kommentare
Ansicht der Kommentare: (Linear | Verschachtelt)
Anonym am um :
You could (and probably SHOULD) read php://input instead of $SERVER['HTTPRAWPOSTDATA']. To quote appendix N of the PHP manual:
php://input allows you to read raw POST data. It is a less memory intensive alternative to $HTTPRAWPOST_DATA and does not need any special php.ini directives.
Garvin am um :
Hi Anonymous!
Thanks, in fact I didn't knew about this. :-) Guess I use the XML-RPC API too seldomly. ;-)
Anyways, I just committed the use of php://input into version 1.29 of the xmlrpc posting plugin.
Thanks for your help, Garvin