Support » Plugin: Shareaholic | share buttons, related posts, social analytics & more » Twitter share button returns HTTP Status 500 – error

  • Dynadata


    Hello all,

    I just wanted to let Sexybookmarks development/users know about a bug I have found in IE, and its solution.

    I have found out the Twitter share button returns a HTTP Status 500 – error in IE when the link-shortener is used.

    The reason for this is that the shortener_key uses a ‘|’ (vertical bar) and without encoding it, it gives the InvalidURI error:
    “(InvalidURIError) bad URI(is not URI?):”

    There is an easy fix for this, and that is to change the ‘|’ to ‘%7C’ to encode it properly.
    This is done on line 230 in includes/public.php (version

    I hope this helps anyone with the same bug, and let the development know about this bug and its simple solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • RuanSmit


    Worked perfectly for me!

    Thank you SO much for this fix,it was destroying my shares.



    I use Executive Child theme (Genesis framework) at

    On posts, I use the shareaholic sexy bookmarks plugin, most recent version.

    I’ve made the above change in my public.php file since I use

    Twitter button doesn’t work in Chrome, just goes to 404 page not found.

    In IE 9 however, it returns the following error:

    xt/javascript’ src=’′>

    The twitter share button in the animated bar won’t click to allow me to login to twitter, but returns a similar error.



    When I disabled fancy menus in genesis per their recommendation, I get this error:\/wp-includes\/js\/thickbox\/loadingAnimation.gif","closeImage":"http:\/\/\/wp-includes\/js\/thickbox\/tb-close.png"}; /* ]]> */

    When I look at my source for any blog post it appears that the script is creating this problem:

    Dynadata Thank you Soooo much!! 🙂 Works great!!

    Hello can you all share what theme you are using? I have tested the above mentioned to see if I see any errors with theme Suffusion and it works well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Twitter share button returns HTTP Status 500 – error’ is closed to new replies.