• oddend

    (@oddend)


    Note: this is a different issue than “Tweetblender breaks Edit post”
    http://wordpress.org/support/topic/391358

    The plugin is working perfectly, except for the fact that it interferes with the saving/publishing of new posts. This happens on a fresh WP install with only this plugin enabled:

    1. Create a new post
    2. Enter a title
    3. Notice how it takes very long for the save and publish button to become available again
    4. Write body text
    5. Click save draft or publish
    6. You get a page that said it failed
    7. Notice that a draft was saved but only the title came through
    8. When you edit the post again you’re able to save and publish like you’d expect to.

    Anyone else experiencing these issues?

    http://wordpress.org/extend/plugins/tweet-blender/

Viewing 6 replies - 1 through 6 (of 6 total)
  • kirilln

    (@kirilln)

    Hmm… I’ll try to replicate and see what’s up. Just wanted to confirm – when Tweet Blender is deactivated it doesn’t happen, right? And when it is completely deleted/uninstalled?

    Thread Starter oddend

    (@oddend)

    Correct, when I disable the plugin the problem goes away. The weird thing is that it occurs only for new posts. I have no problem saving or publishing existing posts.

    Thread Starter oddend

    (@oddend)

    Thanks for your quick response btw and, this issue aside, very nice work on the plugin.

    Thread Starter oddend

    (@oddend)

    Here is some more information.

    When you create a new post and enter a title, wp-admin/admin-ajax.php is called three times.

    The first is the autosave action which succeeds
    The second is the sample-permalink which also succeeds
    The third is the autosave-generate-nonces which fails with a 500 internal server error

    Then when you publish wp-admin/post.php fails with a 403 forbidden error, probably because the nonce is missing.

    When the plugin is disabled, the autosave-generate-nonces call succeeds as expected.

    kirilln

    (@kirilln)

    Update: I’m ready to smash my head against a concrete wall with this. Have been plowing through WP source code for a week trying to see what’s going on and found nothing out of the ordinary in either my plugin or WP.

    There are tons of threads regarding this issue (http://wordpress.org/support/topic/165717?replies=5 and http://wordpress.org/support/topic/343079?replies=65 are good examples).

    Some common solutions I’ve seen thus far:

    – Upgrade to PHP5 (if not on v5 already)
    – Make sure wp-config.php has no extra spaces after closing ?>
    – Disable autosave feature by commenting out wp_enqueue_script(‘autosave’); in wp-admin/post-new.php
    – Disable plugins (Twitter Tools is most commonly mentioned but there are definitely others and it seems like Tweet Blender is doing this for your blog as well)

    There is nothing in my code that I could tweak to fix this… at least I haven’t found it yet. Sorry.

    Have tried to replicate the problem on WP 3.0.1. But it seems to work now (PHP5). Are there users still having issues?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Tweet Blender] Interfering with saving/publishing new posts’ is closed to new replies.