Forums

Tumblrize
Tumblr returned an HTTP Status Code of 500. Tumblr might be having problems. (15 posts)

  1. twistedsymphony
    Member
    Posted 11 months ago #

    WP version 3.1.3 Tumblrize version 1.4.2

    I installed, and setup the email and password. I kept getting this error: "Tumblrize could not crosspost this entry. Unfortunately, we also do not know why."

    It would appear TWICE in pink at the top of the page when I re-submitted my latest article. I thought something was wrong until I was able to re-submit several OLDER articles without any problems.

    This is the article that had an issue: http://collectorsedition.org/6043/dead-island-limited-edition-revealed

    Other articles give me different problems. I received several "Tumblr returned an HTTP Status Code of 500. Tumblr might be having problems. Try crossposting again." errors (I get this no matter how many times I "try again")

    these are some article that gave me the 500 error: http://collectorsedition.org/5852/uncharted-3-collectors-edition-pre-order-bonuses-announced
    http://collectorsedition.org/5622/resistance-3-special-and-survivor-edition-announced-pal-exclusive
    http://collectorsedition.org/5615/arcana-heart-3-sugoi-oppai-fans-edition-500-units-available-to-pre-order-ps3-xbox-360-pal

    so far it's only worked about 50% of the time, you can see which posts worked by visiting my tumblr page: http://CEdotORG.tumblr.com

    any help with resolving these issues would be greatly appreciated.

  2. gran3
    Member
    Posted 11 months ago #

    Did you find any answers yet?
    I'm having the exact same problem. About 80% of the time I get "Tumblr returned an HTTP Status Code of 500", could this have something to do with server permissions?

  3. twistedsymphony
    Member
    Posted 11 months ago #

    I have not found the answer yet, nor have I found any rhyme or reason to the errors... some posts work, others refuse to.

    FWIW my site has editors from all over the world writing posts, my posts seem to go through fine (I'm the only Admin) but it's the posts from the other editors that seem to have issues (some work, some don't).

  4. Kak2550
    Member
    Posted 11 months ago #

    Any more answers on this? We haven't been able to crosspost a post since about a week ago.

    Thanks!

  5. twistedsymphony
    Member
    Posted 10 months ago #

    no progress here... still problematic, I still haven't even figured out what triggers it...

    I really wish the plugin author would chime in :(

  6. twistedsymphony
    Member
    Posted 10 months ago #

    ok after posting above I decided to spend a few minutes browsing how the Tumbler API worked, and then digging through the code. I found the root of the problem to be the way he modifies the post body before sending it to Tumblr.

    for whatever reason he strips out quotes which screws up html tag parameter, and uses entity decode for a reason I don't understand.

    Also he uses shorthand string concatenation all over the place which upon trying to reactivate the plugin, wordpress was not happy. (is it really so hard to end quote and put a . for superior compatibility? really?)

    Anyway... for me replacing this line:

    $post_body = wpautop(str_replace('\"', "", html_entity_decode($post->post_content)));

    with this:

    $post_body = wpautop($post->post_content);

    For me this made all of my error 500 problems disappear

    Use this fix at your own risk... I take no responsibility for anything you do with this information

    Like I said, I don't know why he was using "str_replace" to remove quotes or why he was using "html_entity_decode" so I don't know what problems he might have been trying to fix with those...

  7. gran3
    Member
    Posted 10 months ago #

    works for me, great
    If I come across something strange I'll let you know

    Thanks a lot!

  8. omorales795
    Member
    Posted 10 months ago #

    Where do we need to change that line? what file?

    Thanks!!!

  9. twistedsymphony
    Member
    Posted 10 months ago #

    The modification is the main plugin file: tumblrize.php
    It can be modified using WordPress' built in plugin editor.

    For what it's worth: I've been running with the modified version for the last 3 weeks, a few dozen post have been re-posted to tumblr with zero issues.

  10. omorales795
    Member
    Posted 10 months ago #

    Thanks Twistedsymphony, ill try it and let you know. :)

  11. omorales795
    Member
    Posted 10 months ago #

    Sorry, it asks what funtion do i want to edit in the Tumblrize plugin editor...?

  12. twistedsymphony
    Member
    Posted 10 months ago #

    you don't need to worry about that... 100% of the function text should be in the editor window just use CTRL+F to find the line.

  13. omorales795
    Member
    Posted 10 months ago #

    Done! it worked perfectly, thanks so much!

  14. joshuef
    Member
    Posted 10 months ago #

    Genius! thanks so much for that

  15. odbinfo
    Member
    Posted 8 months ago #

    Same problem.
    Solution by twistedsymphony worked.
    Thank you.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags