transport error – HTTP status code was not 200
The error log contained this:
(9)Bad file descriptor: [client 72.167.232.24:44726] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
When I do phpinfo I see that Zend Memory Manager is enabled and memory_limit is 64M. max_execution_time is 30, but I was under the impression that it doesn’t look at that if php is running in the background.
What should I be looking at to solve this?
Thanks
Amber
I take a look at the method implementation in : wp-includes/class-wp-xmlrpc-server.php and saw those interesting lines :
// Handle enclosures
...
if ( is_array( $enclosure ) && isset( $enclosure['url'] ) && isset( $enclosure['length'] ) && isset( $enclosure['type'] ) ) {
Does any body know how to manage enclosure with this method ?
I tried this but definitevly doesn’t work, post is remotely created but not with enclosure :
$content = array(
'title' => 'title',
'description' => 'description',
'mt_allow_comments' => 0, // 1 to allow comments
'mt_allow_pings' => 0, // 1 to allow trackbacks
'post_type' => 'post',
'mt_keywords' => '',
'categories' => array(''),
'enclosure' => array('url'=>'https://www.education.gov.yk.ca/pdf/pdf-test.pdf','length'=>'','type' =>'')
);
$params = array(0,'admin','admin',$content,false);
if (!$client->query('metaWeblog.newPost',$params))
{
echo('Error occured while executing method : ' . $client->getErrorCode().":".$client->getErrorMessage());
}
$response = $client->getResponse();
var_dump($response) ;
Greetings,
ben
I use XMLRPC to post to WordPress and the code I have works fine
my problem is when I tried to add “date_created_gmt” the code stopped working and nothing get posted
what is the correct format for date?
I tired
'date_created_gmt' => '<dateTime.iso8601>20081121T02:54:08</dateTime.iso8601>'
'date_created_gmt' => '20081121T02:54:08'
'date_created_gmt' => '2011-01-16 11:11:04'
all didn’t work.
pls help …
thank you
]]>I have succesfully create new post by using the api metaWeblog.newPost. I can see the new post created under the All Posts admin page. But the problem is it won’t show on the homepage. Ii will only show after I go to the edit page of the new post and click Update. What could be causing the problem here?
This is the code:
[Code moderated as per the Forum Rules. Please use the pastebin]
]]>I use the metaWeblog.newPost functionality of my XML RPC API. Works fine. But now i like to set the url manually.
in standard the title is changed by permalink to the blog.com/title url format. but i like to set the permalink url manually.
how to realize that?
Thank You
]]>