Server-Side Scripts that implement class-IXR to post to the blog via XMLRPC are being created in DRAFT mode rather than PUBLISH mode.
When logged into the Dashboard and listing All Posts, they appear with the title “Auto Draft”.
When then editing the Post, the title and Body are totally blank, albeit the tags are listed.
And there is no option to change the type from Draft to Publish.
When previewing the Post, however, the title, body and tags are all correct as per the data issued via class-IXR to XMLRPC for publishing.
There is also no option in Settings for activating Post by XMLRPC as there was in prior versions.
Again, these Server Side Scripts functioned perfectly until upgrading to WP 3.5.
Plugins have been de-activated to test for plugin incompatability and the same problem occurs; therefore it is not a plugin conflict issue.
Here is an example of one of the Server Side Scripts using class-IXR to XMLRPC:
<?php
set_time_limit(0);
ignore_user_abort(true);
$title = ‘Title’;
$body = ‘Body’;
$topic = ‘Topic’;
$tags = ‘tag1,tag2’;
$ixr = getcwd() . ‘/httpdocs/wp-includes/class-IXR.php’;
require_once($ixr);
unset($ixr);
$client->debug = true;
$cat=array($topic);
$content = array (‘title’=>$title, ‘description’=>$body, ‘mt_allow_comments’=>0, ‘mt_allow_pings’=>0, ‘post_type’=>’post’, ‘mt_keywords’=>$tags, ‘categories’=>$cat);
unset($title,$body,$topic,$tags,$cat);
$rurl = ‘https://blogurl.com/xmlrpc.php’;
$user = ‘user’;
$pass = ‘password’;
$params = array(0,$user,$pass,$content,true);
$client = new IXR_Client($rurl);
$client->query(‘metaWeblog.newPost’,$params);
unset($rurl,$user,$pass,$content,$params,$client);
?>
No WP Core Files have been edited.
The script worked perfectly before upgrading to WP 3.5.
Deactivation of plugins proved the problem is not caused by plugin conflicts.
Any clues?
]]>Warning: require_once(***/wp-includes/class-IXR.php) [function.require-once]: failed to open stream: No such file or directory in ***/wp-content/plugins/stats.php on line 344
Fatal error: require_once() [function.require]: Failed opening required ‘***/wp-includes/class-IXR.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /***/wp-content/plugins/stats.php on line 344
I checked. All the files are there – obviously because I was able to activate the plugin and to go to the settings. class-IXR.php file is all in smallcaps on my server, but I think thats not a problem.
Any ideas?
]]>Fatal error: Maximum execution time of 30 seconds exceeded in (…)\wp-includes\class-IXR.php on line 513
Fatal error: Maximum execution time of 30 seconds exceeded in (…)\wp-settings.php on line 219
This error occurs since I have updated from WP 2.0 to 2.0.1.
An example of such post where this error occurs is here.
I have already searched for this error message on the www, but did not find something useful. Ok, this blogger seems having the same problem like me.
Any help is appreciated.
Thanks,
Michael
i looked and the line only reads :
$valueFl
has anyone come across the same issue ?
]]>After updating to 2.0 and applying all the changes to the view of the site everything ran smoothly until I tried publishing a new Post.
Opera 8.51 always states the following:
Warning: weblog_ping(): Unable to access /srv/www/htdocs/web12/html/wp-includes/class-IXR.php in /srv/www/htdocs/web12/html/wp-includes/functions.php on line 843
Warning: weblog_ping(/srv/www/htdocs/web12/html/wp-includes/class-IXR.php): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/wp-includes/functions.php on line 843
Warning: weblog_ping(): Failed opening ‘/srv/www/htdocs/web12/html/wp-includes/class-IXR.php‘ for inclusion (include_path=’.:/usr/share/php’) in /srv/www/htdocs/web12/html/wp-includes/functions.php on line 843
Fatal error: Cannot instantiate non-existent class: ixr_client in /srv/www/htdocs/web12/html/wp-includes/functions.php on line 846
(Bolds/Highlights by me)
Base of the problem was that my ftp client (Total Commander) converted all the files names to lowercase.
Some part of the code (I don’t know which) is referring to that very “class-IXR.php” (IXR “uppercased”) which is mentioned above. This file is obviously now named “class-ixr.php” (all lowercase) in my installation.
As I remember from ye goode olde HTML days the file names oughta be all lowercase or at least linked in the right manner. Here it’s linked in uppercase but stored in lowercase. I’ve changed the three letters to uppercase and now everything again works fine.
I think this is not a major bug but one worth fixing.
Unexperienced users might not comprehend that error message displayed in the browser and be able to fix one’s problem.
I’d love to hear from you guys shortly.
Keep up that awesome work.
WordPress – giving a voice to the world.
]]>