I've been trying to get XML-RPC posting to work, but have so far had little luck. I've tried setting up Flock and Performancing.
In Flock I get the message "There was an error detecting your blog settings...". In performancing the account wizard just states "Logging in... please wait" - and nothing else happens.
I'm running S9Y v0.9.1, with 'Post via XML-RPC' event plugin v1.10. My host is running PHP v4.4.1.
I've even tried changing the charset into UTF-8, having seen Gavins post on Flocks wiki, but to no avail.
Does anybody know what the problem might be?
XML-RPC troubles
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: XML-RPC troubles
Hm, amonth ago I tested Flock with s9y 0.9.1 and the xmlrpc plugin just fine, with a recent flock snapshot. Are you using a recent flock version?
When you call your serendipity_xmlrpc.php fromyour blog via HTTP, do you get any errors?
You might want to setthe $debug switch in the plugin's serendipity_xmlrpc.inc.php file to see what's happening within theXML-RPCcalls?
Regards,
Garvin
When you call your serendipity_xmlrpc.php fromyour blog via HTTP, do you get any errors?
You might want to setthe $debug switch in the plugin's serendipity_xmlrpc.inc.php file to see what's happening within theXML-RPCcalls?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: XML-RPC troubles
Ah - I get an error 500 Internal Server Error.garvinhicking wrote:When you call your serendipity_xmlrpc.php fromyour blog via HTTP, do you get any errors?
What are the prerequisites for the XMLRPC plugin?
I'll try this.garvinhicking wrote:You might want to setthe $debug switch in the plugin's serendipity_xmlrpc.inc.php file to see what's happening within theXML-RPCcalls?
BTW - sorry for misspelling your name in my original post.
Yours,
Morten[/quote]
This is the Debug output from the xmlrpc-sessions (only thing changed is the passwords, naturally):
first one is from running serendipity_xmlrpc.php as a normal URL:
this is from trying to register the blog through Performancing:
and finally from trying to register the blog in Flock:
Yours,
Morten
first one is from running serendipity_xmlrpc.php as a normal URL:
Code: Select all
Array
(
[serendipity] => Array
(
[old_session] => 8056421a69fc778fb4f28ed81c1e5f12
)
[PHPSESSID] => 9cb8877b83d187027d852fe62d936f4b
)Code: Select all
<?xml version="1.0"?><methodCall>
<methodName>blogger.getUsersBlogs</methodName>
<params>
<param>
<value>
<string/>
</value>
</param>
<param>
<value>
<string>morten</string>
</value>
</param>
<param>
<value>
<string>supersecretpassword</string>
</value>
</param>
</params>
</methodCall>
Array
(
[serendipity] => Array
(
[old_session] => 8056421a69fc778fb4f28ed81c1e5f12
)
)Code: Select all
<?xml version="1.0" ?><methodCall><methodName>blogger.getUsersBlogs</methodName><params>
<param><value><string><![CDATA[]]></string></value></param>
<param><value><string><![CDATA[morten]]></string></value></param>
<param><value><string><![CDATA[supersecretpassword]]></string></value></param></params></methodCall>
Array
(
[serendipity] => Array
(
[old_session] => 91af5ee408392ee8ad903958de58514a
)
[PHPSESSID] => 2cca1dacfa58ca70dae0faf38642c57a
)Morten
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Morten:Hm, that doesn't look wrong atall. What does s9y return as output in that case? This should also be stored in the logfile, I think?
Anyways, can you trfy to use the metaweblog/MT API to connect to your blog?
Bestregards,
Garvin
Anyways, can you trfy to use the metaweblog/MT API to connect to your blog?
Bestregards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Unfortunately, there's nothing more in the log-file. This is the full extend of the log-entries - the only thing omitted is the time/date-entry.garvinhicking wrote:Morten:Hm, that doesn't look wrong atall. What does s9y return as output in that case? This should also be stored in the logfile, I think?
Well, that was a thing that struck me as a bit odd. I actually did use the Metaweblog option (both with Flock and Performancing), in accordance with what you wrote in your entry at Flocks wiki - so I thought it a little odd, seeing the blogger. prefix, but I have to admit to not having much knowledge about the inner workings of s9y, so I took this as me just not understanding the finer points of the xmlrpc plugin.garvinhicking wrote:Anyways, can you trfy to use the metaweblog/MT API to connect to your blog?
Yours,
Morten[/quote]
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Morten: Hm, which API options do you have in flock/performancing? Maybe there is a specific "MoveableType" API?
I'm a bit short on time right now, but if thatdoesn't help I could try to helpmore at the middle ofnextweek...
regards,
Garvin
I'm a bit short on time right now, but if thatdoesn't help I could try to helpmore at the middle ofnextweek...
regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Garvin: I've been trying with Blogger, MT and Metaweblog APIs in both Flock and PerFormancing - and for all of them, the results are the same (and the log entries for that matter).
Just now, I've tried making a new s9y installation in a different directory (and with different db-table-prefix), just to see if maybe there was something in my setup causing this (I've been running s9y since december 04 with a couple of upgrades since then), but the results are exactly the same.
I really appreciate your trying to help me (and everybody else for that matter), but please let me assure you, that this is not what I would consider an urgent problem - being able to run Flock and/or PerFormancing would give me some benefits and further functionality, but it is by no means essential to my blogging. So please don't feel any pressure from me on solving this one ASAP.
Yours,
Morten
Just now, I've tried making a new s9y installation in a different directory (and with different db-table-prefix), just to see if maybe there was something in my setup causing this (I've been running s9y since december 04 with a couple of upgrades since then), but the results are exactly the same.
I really appreciate your trying to help me (and everybody else for that matter), but please let me assure you, that this is not what I would consider an urgent problem - being able to run Flock and/or PerFormancing would give me some benefits and further functionality, but it is by no means essential to my blogging. So please don't feel any pressure from me on solving this one ASAP.
Yours,
Morten
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I'll send you an email.
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/