Error when submitting newPost using XMLRPC due to incompatible date formatting
|Reported by:||chazegh||Owned by:||anonymous|
I get the following error when I try to submit a new post using the PHPXMLRPC library (http://phpxmlrpc.sourceforge.net/). I can make the problem go away by not submitting a date, but that shouldn't be a problem. The error is as follows:
Fatal error</b>: Call to a member function on a non-object in <b>..../site/xmlrpc.php</b> on line <b>549</b>
I solved the problem by making the following changes.
547: $dateCreatedd = $content_structdateCreated?;
547: $dateCreatedd = new IXR_Date($content_structdateCreated?);
642: $dateCreatedd = $content_structdateCreated?;
642: $dateCreatedd = new IXR_Date($content_structdateCreated?);
Apologies for the nonstandard diff format.
Also, this bug applies to 22.214.171.124, not 126.96.36.199 as the metadata for this report suggests. 188.8.131.52 is not an option currently.