| Joomla! http://forum.joomla.org/ |
|
| xml-rpc error response using mars edit http://forum.joomla.org/viewtopic.php?f=473&t=231265 |
Page 1 of 1 |
| Author: | amstanley [ Thu Nov 08, 2007 2:57 am ] |
| Post subject: | xml-rpc error response using mars edit |
fresh install of 1.5 rc3 activated xml-rpc plugin using mars edit 2.0.3 (1026) cannot autodiscover settings for auto configuration When attempting to write post, no categories visible When attempting to send post, error message reads: Can’t do post for TEst Site because the server reported an errorThe XML parser could not parse the data.: XML-RPC Response Parsing Failed. Anybody have an opinion on what is happening here and how I fix it? |
|
| Author: | amstanley [ Tue Nov 20, 2007 1:35 am ] |
| Post subject: | XML-RPC Response Parsing Failed |
Partial Fix. It would have helped if I had turned the xml-rpc plugin on. Now, However, when I try to post or do anything other than d/l revcent posts, I get: Code: XML-RPC Response Parsing Failed When I go to the Red Sweater Blog I get a page http://www.red-sweater.com/blog/342/xml-rpc-response-parsing-failed that says the following: Quote: XML-RPC Response Parsing Failed May 31st, 2007 We are currently living through a minor sort of plague when it comes to remote editing of PHP-based blogs. As web hosting companies upgrade to PHP 5.2.2, some of you may notice that your attempts to publish or edit entries with MarsEdit yields an error dialog with a cryptic error “XML-Response Parsing Failed.” This bug is caused by a bug in PHP that causes blogging systems to return blank responses instead of the expected XML result. WordPress was quick to work around the bug, and included the change in their 2.2 release. Unfortunately the 2.2 release also added a minor time zone bug, so we’ll be looking forward to 2.2.1 for complete normalcy. If you want to fix the bug yourself on whatever system you’re using, the workaround seems to be essentially adding this line to the top of your XML-RPC php file (after the “ $HTTP_RAW_POST_DATA = file_get_contents( 'php://input' ); Nasty bug. Easy workaround. Hope this passes soon. I get new support inquiries every time DreamHost updates a batch of servers I tried editing the index.php in /xmlrpc but it did not seem to have any effect, which surprised me not as I have no idea how that code actually works. Does anyone who has a clue about this have a fix? |
|
| Author: | amstanley [ Wed Nov 28, 2007 1:36 am ] |
| Post subject: | Joomla error code: xml-rpc error response using mars edit |
it turns out mars edit has a network log function which provides this data on the issue: Quote: Network message sent: 2007-11-27 20:04:41 -0500 URL: http://soaringhorse.com/xmlrpc/index.php Method name: blogger.newPost Network reply received: 2007-11-27 20:04:42 -0500 URL: http://soaringhorse.com/xmlrpc/index.php Method name: blogger.newPost Status code: 200 Succeeded: NO --Parse Error-- Parse Error Title: XML-RPC Response Parsing Failed Parse Error Message: The XML parser could not parse the data. Request text: Response text: Fatal error: Class 'JText' not found in /home/soaringh/public_html/libraries/joomla/database/table/content.php on line 124 I have posted a message in the bugtracker at http://joomlacode.org/gf/project/joomla ... em_id=7219 but I have no idea if that will attract any attention to the issue or if I have to post a new bug? Can someone please advise? red-sweater / marsedit support forum reference: http://www.red-sweater.com/forums/viewt ... 2579#p2579 |
|
| Author: | amstanley [ Tue Dec 04, 2007 4:03 am ] |
| Post subject: | Re: xml-rpc error response using mars edit |
updated to latest nightly build as downloaded on Dec 3 ran Marsedit, Attempted to post test post Newtwork log reads: Quote: Network message sent: 2007-12-03 22:59:55 -0500 URL: http://soaringhorse.com/xmlrpc/index.php Method name: blogger.newPost Network reply received: 2007-12-03 22:59:56 -0500 URL: http://soaringhorse.com/xmlrpc/index.php Method name: blogger.newPost Status code: 200 Succeeded: NO --Parse Error-- Parse Error Title: XML-RPC Response Parsing Failed Parse Error Message: The XML parser could not parse the data. Request text: Response text: Fatal error: Class 'dom_xmlrpc_fault' not found in /home/soaringh/public_html/plugins/xmlrpc/blogger.php on line 212 someone has been tinkering but is not quite there... |
|
| Author: | charlvn [ Mon Dec 31, 2007 2:26 am ] |
| Post subject: | Re: xml-rpc error response using mars edit |
I attempted to fix this with revision 9780. I am unable to test though so please let me know if it's not working. |
|
| Author: | amstanley [ Mon Dec 31, 2007 2:34 am ] |
| Post subject: | Re: xml-rpc error response using mars edit |
If I download the nightly build will the fixes be in it? I'll d/l tomorrow am and test it. Thanks a lot for the effort. It's much appreciated... |
|
| Author: | charlvn [ Mon Dec 31, 2007 3:10 am ] |
| Post subject: | Re: xml-rpc error response using mars edit |
The fix should be included in the next nightly build. If unsure just check the CHANGELOG.php; if you see the following the fix should be included with the copy you downloaded: 31-Dec-2007 Charl van Niekerk # Fixed [#8516] xmlrpc throws errors when using third party blog/content entry tools Best of luck! |
|
| Author: | amstanley [ Mon Dec 31, 2007 2:58 pm ] |
| Post subject: | Re: xml-rpc error response using mars edit |
So I downloaded the nightly build and put it up on the server... confirmed in the changelog that the fix is in it. loaded Marsedit. I get a good list of recent posts. I create a new post - no options (categories, front page) are available. when I post I get the following log entry: Code: Network message sent: 2007-12-31 09:52:58 -0500
URL: http://soaringhorse.com/xmlrpc/index.php Method name: blogger.newPost Network reply received: 2007-12-31 09:52:58 -0500 URL: http://soaringhorse.com/xmlrpc/index.php Method name: blogger.newPost Status code: 200 Succeeded: NO --Fault Error-- Fault code: 801 Fault string: Post check failed Request text: <?xml version="1.0" encoding="utf-8"?> <methodCall> <methodName>blogger.newPost</methodName> <params> <param> <value><string>6A10B954F5EBCB132CE8141518DF605B9A3D1E2587</string></value> </param> <param> <value><string>1</string></value> </param> <param> <value><string>[username]</string></value> </param> <param> <value><string>[password]</string></value> </param> <param> <value><string>this is a test of marsedit...</string></value> </param> <param> <value><boolean>1</boolean></value> </param> </params> </methodCall> Response text: <?xml version="1.0"?> <methodResponse> <fault> <value> <struct><member><name>faultCode</name> <value><int>801</int></value> </member> <member> <name>faultString</name> <value><string>Post check failed</string></value> </member> </struct> </value> </fault> </methodResponse> |
|
| Author: | amstanley [ Mon Dec 31, 2007 3:03 pm ] |
| Post subject: | Re: xml-rpc error response using mars edit |
I notice you closed the tracker item; should I submit a new one? |
|
| Author: | charlvn [ Mon Dec 31, 2007 4:20 pm ] |
| Post subject: | Re: xml-rpc error response using mars edit |
Yes please submit a new tracker item, thanks! The previous bug seems to have been sorted out as it's returning the XMLRPC error correctly now instead of returning a PHP error. However, it would appear you're now experiencing a different bug. Kind Regards, Charl |
|
| Author: | aini [ Thu Jan 24, 2008 3:36 am ] |
| Post subject: | Re: xml-rpc error response using mars edit |
Anyway, It is not a bug please put the title tag in your content submission |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|