I am getting the following error when running this with wordpress 1.5. It worked at first, but just the other day i statred getting this for an error: Fatal error: Call to a member function faultCode() on a non-object in /var/www/html/wordpress/my-hacks.php on line 35
Any ideas? Thanks
Does this hack work for WordPress 1.5? If so, which code do I use? I think I may need some “hand holding” so to speak, when programming this one LoL >.<
Yep, I just got it working on WP 1.5.1.2, no issues. Simple as pie. Use the 1.2+ version. If you need help, feel free to ask: tsukata at tsukata dot org
I don’t have the exact line that you’re supposed to put the second code under, so I put it here:
$result = $wpdb->query(“
if ($content) ljautoupdate($content, $post_title);
UPDATE $wpdb->posts SET
post_content = ‘$content’,
post_excerpt = ‘$excerpt’,
post_title = ‘$post_title'”
.$datemodif_gmt
.$datemodif.”,
post_status = ‘$post_status’,
comment_status = ‘$comment_status’,
ping_status = ‘$ping_status’,
post_author = ‘$post_author’,
post_password = ‘$post_password’,
post_name = ‘$post_name’,
to_ping = ‘$trackback’,
post_modified = ‘$now’,
post_modified_gmt = ‘$now_gmt’,
menu_order = ‘$menu_order’,
post_parent = ‘$post_parent’
WHERE ID = $post_ID “);
and it didn’t work. 🙁 what am I doing wrong? where is the correct line? I’m confused, but very eager to use this hack!
I wasn’t able to get this working in 1.5.2… I kept getting header errors and had to remove it all. 🙁
You could try Live+Press which I wrote. It is based on the LJ AutoUpdate hack but has been integrated into the WordPress posting system and configuration system.