Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 2:38 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
Posted: Thu Nov 08, 2007 2:57 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
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?

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Tue Nov 20, 2007 1:35 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
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?

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Wed Nov 28, 2007 1:36 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
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:


blogger.newPost


6A10B954F5EBCB132CE8141518DF605B9A3D1E2587


1


malcolm


[password]


test


1




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

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Tue Dec 04, 2007 4:03 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
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:


blogger.newPost


6A10B954F5EBCB132CE8141518DF605B9A3D1E2587


1


malcolm


[password]


test


1




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...

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Mon Dec 31, 2007 2:26 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Mar 21, 2007 7:49 am
Posts: 21
Location: South Africa
I attempted to fix this with revision 9780. I am unable to test though so please let me know if it's not working.

_________________
Charl van Niekerk


Top
   
 
Posted: Mon Dec 31, 2007 2:34 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
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...

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Mon Dec 31, 2007 3:10 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Mar 21, 2007 7:49 am
Posts: 21
Location: South Africa
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!

_________________
Charl van Niekerk


Top
   
 
Posted: Mon Dec 31, 2007 2:58 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
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>

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Mon Dec 31, 2007 3:03 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 27, 2005 2:33 am
Posts: 35
Location: Toronto
I notice you closed the tracker item;
should I submit a new one?

_________________
Autism -related websites using Joomla:
http://www.ontarioautismcoalition.com
http://www.soaringhorse.com


Top
   
 
Posted: Mon Dec 31, 2007 4:20 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Mar 21, 2007 7:49 am
Posts: 21
Location: South Africa
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

_________________
Charl van Niekerk


Top
   
 
Posted: Thu Jan 24, 2008 3:36 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Apr 15, 2007 3:17 am
Posts: 60
Location: Taipei, Taiwan
Anyway, It is not a bug

please put the title tag in your content submission

Joomla your content

_________________
just ordinary woman :-[
http://nuraini.net


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group