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

Kommentar schreiben

Die angegebene E-Mail-Adresse wird nicht dargestellt, sondern nur für eventuelle Benachrichtigungen verwendet.

Um maschinelle und automatische Übertragung von Spamkommentaren zu verhindern, bitte die Zeichenfolge im dargestellten Bild in der Eingabemaske eintragen. Nur wenn die Zeichenfolge richtig eingegeben wurde, kann der Kommentar angenommen werden. Bitte beachten Sie, dass Ihr Browser Cookies unterstützen muss, um dieses Verfahren anzuwenden.
CAPTCHA

BBCode-Formatierung erlaubt
Markdown-Formatierung erlaubt