Closed
Bug 436097
Opened 16 years ago
Closed 16 years ago
xmlrpc doesn't appear to work on blog.mozilla.com
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: benjamin, Assigned: oremj)
Details
I'm trying to post to blog.mozilla.com using the XML-RPC interface to wordpress: I've tested the script and it works on my own blog, but it has login failure notices on blog.mozilla.com: XML-RPC URL: https://blog.mozilla.com/meeting-notes/xmlrpc.php username: bsmedberg@mozilla.com password: LDAP password <Fault 403: 'Bad login/pass combination'> Note: this username/password works if I login through https://blog.mozilla.com/meeting-notes/wp-login.php
Assignee | ||
Updated•16 years ago
|
Assignee: server-ops → oremj
Assignee | ||
Comment 1•16 years ago
|
||
Your script is probably missing a param for the method you are using. For example wp.getPages requires 3 parameters, so the request needs to look like: <params> <param> <value><string></string></value> </param> <param> <value><string>bar</string></value> </param> <param> <value><string>foo</string></value> </param> </params> More documentation is here: http://codex.wordpress.org/XML-RPC_wp system.listMethods() should give you a list of all supported xml-rpc methods.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•16 years ago
|
||
Yah, the problem was that I was passing blogid = '1' (which works for personal blogs but not for large shared installs!)... I dug a little through the API and figured out that meeting-notes is blogid 85.
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•