Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-17 08:29:36

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Desktop bloging not working (4.0.8) - strange error messages

I’m trying to get desktop blogging via XML-RPC working. I’ve managed to get an article list into both Ecto and MarsEdit but trying to post I always get error messages.

Here are the logs of unsuccessful posts:

Ecto

 

Request with URL:
http://www.rete-mirabile.net/rpc/
and data:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>mt.setPostCategories</methodName>
<params>
	<param>
		<value><string></string></value>
	</param>
	<param>
		<value><string>andreas</string></value>
	</param>
	<param>
		<value><string>********</string></value>
	</param>
	<param>
	<value><array><data>
	</data></array></value>
	</param>
</params>
</methodCall>

Response:
Status            : 200
X-Powered-By      : PHP/4.4.8
Keep-Alive        : timeout=15, max=100
Server            : Apache/1.3.34 (Debian) FrontPage/5.0.2.2623 PHP/4.4.8 mod_ssl/2.8.10 OpenSSL/0.9.7
Content-Type      : text/html
Date              : Wed, 15 Apr 2009 17:51:28 GMT
Connection        : Keep-Alive
Transfer-Encoding : Identity

MarsEdit



Network message sent: 2009-04-15 09:56:53 +0200
URL: http://www.rete-mirabile.net/rpc
Method name: blogger.deletePost
Network reply received: 2009-04-15 09:56:54 +0200
URL: http://www.rete-mirabile.net/rpc
Method name: blogger.deletePost
Status code: 200
Succeeded: NO
--Fault Error--
Fault code: -32602
Fault string: server error. wrong number of method parameters
Request text:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>blogger.deletePost</methodName>
	<params>
		<param>
			<value><string>6A10B954F5EBCB132CE8141518DF605B9A3D1E2587</string></value>
			</param>
		</params>
	</methodCall>

Response text:
<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
<fault>
 <value>
   <struct>
     <member>
       <name>faultCode</name>
       <value><int>-32602</int></value>
     </member>
     <member>
       <name>faultString</name>
       <value><string>server error. wrong number of method parameters</string></value>
     </member>
   </struct>
 </value>
</fault>
</methodResponse>

Any ideas?

Offline

#2 2009-04-18 14:12:42

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Desktop bloging not working (4.0.8) - strange error messages

So I tried a couple of things, and now I don’t get an error message from MarsEdit. But I get a post “Untitled” plus the one I’m trying to post – but both appear only in MarsEdit, not on the Website.

Here are the logs (note how it says “Success: YES” a couple of times and then “NO” at the end).

Any ideas?

Network message sent: 2009-04-18 16:09:31 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: metaWeblog.newPost
Network reply received: 2009-04-18 16:09:32 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: metaWeblog.newPost
Status code: 200
Succeeded: YES
Request text:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>metaWeblog.newPost</methodName>
	<params>
		<param>
			<value><string>notizen</string></value>
			</param>
		<param>
			<value><string>andreas</string></value>
			</param>
		<param>
			<value><string>[password]</string></value>
			</param>
		<param>
			<value>
			<struct>
			<member>
			<name>mt_allow_comments</name>
			<value><int>1</int></value>
			</member>
			<member>
			<name>mt_tags</name>
			<value><string></string></value>
			</member>
			<member>
			<name>mt_keywords</name>
			<value><string></string></value>
			</member>
			<member>
			<name>mt_convert_breaks</name>
			<value><string>0</string></value>
			</member>
			<member>
			<name>title</name>
			<value><string>Test</string></value>
			</member>
			<member>
			<name>mt_excerpt</name>
			<value><string></string></value>
			</member>
			<member>
			<name>description</name>
			<value><string>Test</string></value>
			</member>
			<member>
			<name>mt_text_more</name>
			<value><string></string></value>
			</member>
			<member>
			<name>mt_allow_pings</name>
			<value><string>0</string></value>
			</member>
			</struct>
			</value>
			</param>
		<param>
			<value><boolean>0</boolean></value>
			</param>
		</params>
	</methodCall>

Response text:
<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
	<params>
		<param>
			<value>
				<string/>
			</value>
		</param>
	</params>
</methodResponse>


Network message sent: 2009-04-18 16:09:32 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: metaWeblog.editPost
Network reply received: 2009-04-18 16:09:32 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: metaWeblog.editPost
Status code: 200
Succeeded: YES
Request text:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>metaWeblog.editPost</methodName>
	<params>
		<param>
			<value><string></string></value>
			</param>
		<param>
			<value><string>andreas</string></value>
			</param>
		<param>
			<value><string>[password]</string></value>
			</param>
		<param>
			<value>
			<struct>
			<member>
			<name>mt_allow_comments</name>
			<value><int>1</int></value>
			</member>
			<member>
			<name>mt_tags</name>
			<value><string></string></value>
			</member>
			<member>
			<name>mt_keywords</name>
			<value><string></string></value>
			</member>
			<member>
			<name>mt_convert_breaks</name>
			<value><string>0</string></value>
			</member>
			<member>
			<name>title</name>
			<value><string>Test</string></value>
			</member>
			<member>
			<name>mt_excerpt</name>
			<value><string></string></value>
			</member>
			<member>
			<name>description</name>
			<value><string>Test</string></value>
			</member>
			<member>
			<name>mt_text_more</name>
			<value><string></string></value>
			</member>
			<member>
			<name>mt_allow_pings</name>
			<value><string>0</string></value>
			</member>
			</struct>
			</value>
			</param>
		<param>
			<value><boolean>1</boolean></value>
			</param>
		</params>
	</methodCall>

Response text:


Network message sent: 2009-04-18 16:09:33 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: metaWeblog.getPost
Network reply received: 2009-04-18 16:09:33 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: metaWeblog.getPost
Status code: 200
Succeeded: YES
Request text:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>metaWeblog.getPost</methodName>
	<params>
		<param>
			<value><string></string></value>
			</param>
		<param>
			<value><string>andreas</string></value>
			</param>
		<param>
			<value><string>[password]</string></value>
			</param>
		</params>
	</methodCall>

Response text:


Network message sent: 2009-04-18 16:09:33 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: mt.getPostCategories
Network reply received: 2009-04-18 16:09:34 +0200
URL: http://www.rete-mirabile.net/rpc/
Method name: mt.getPostCategories
Status code: 200
Succeeded: NO
--Fault Error--
Fault code: -32602
Fault string: server error. wrong number of method parameters
Request text:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>mt.getPostCategories</methodName>
	<params>
		</params>
	</methodCall>

Response text:
<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
  <fault>
    <value>
      <struct>
        <member>
          <name>faultCode</name>
          <value><int>-32602</int></value>
        </member>
        <member>
          <name>faultString</name>
          <value><string>server error. wrong number of method parameters</string></value>
        </member>
      </struct>
    </value>
  </fault>
</methodResponse>

Last edited by andreas (2009-04-18 14:16:59)

Offline

#3 2010-01-04 18:32:34

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Desktop bloging not working (4.0.8) - strange error messages

Here are some server log lines. I tried to send a new post to TXP with MarsEdit.

[04/Jan/2010:17:46:50 +0100] "POST /rpc/index.php HTTP/1.1" 200 162 "-" "MarsEdit" www.rete-mirabile.net
[04/Jan/2010:17:46:51 +0100] "POST /rpc/index.php HTTP/1.1" 500 5 "-" "MarsEdit" www.rete-mirabile.net
[04/Jan/2010:17:46:56 +0100] "POST /rpc/index.php HTTP/1.1" 200 88292 "-" "MarsEdit" www.rete-mirabile.net
[04/Jan/2010:17:46:57 +0100] "POST /rpc/index.php HTTP/1.1" 200 5381 "-" "MarsEdit" www.rete-mirabile.net 

This is what MarsEdit says:

Can’t do get post for rete (Englisch) because the server reported an error. The server returned an unexpected response code: 500.

I’d be very grateful if someone could give me a hint on this. I’ve been trying to get this working for months.

Any ideas anyone?

Last edited by andreas (2010-01-04 18:32:58)

Offline

#4 2010-01-04 18:34:03

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Desktop bloging not working (4.0.8) - strange error messages

By the way: I’ve updated to TXP 4.2 in the meantime but the problem remains.

Offline

#5 2010-01-23 12:13:15

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

Re: Desktop bloging not working (4.0.8) - strange error messages

Hi and thanks for the reply over here and I hope to use this feature “someday”. I think I“m going to start blogging about my adventures in trying to mold textpattern into a do-able blog platform.


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

#6 2010-01-23 14:39:22

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: Desktop bloging not working (4.0.8) - strange error messages

I’m interested in reading about it.

Offline

Board footer

Powered by FluxBB