Issue with JetPack Comments

  • Author
    Posts
  • #959904

    shanegowland
    Member

    I’ve been trying to get JetPack comments working on my website; but I’ve had no success. It simply displays the ‘Invalid Request Signature’ error message.

    It seems to be theme specific, as switching to the 2011 theme resolved the issue.

    Things I’ve tried:
    – Replacing my theme’s comments.php file with that of Twenty Eleven
    – Clearing cache in caching plugin, CloudFlare, web browser
    – Disabling all plugins.
    – Re-installing JetPack
    – Removing anything “comment-related” from the theme’s functions.php file.

    So now I’m stuck; any help you could offer would be greatly appreciated.

    Thanks!

    – Shane
    Blog url: http://shanegowland.com/

    The blog I need help with is shanegowland.com.

    #960035

    macmanx
    Staff

    What is the name of the theme giving you trouble?

    #960055

    shanegowland
    Member

    That’s where it get’s annoying; I’m using a premium theme called ‘Spark.’ I’ve contacted the developer to no avail.

    Knowing you can’t readily look at the entirety of the source code; is there anything I should be looking for within the theme that could be interfering with comment_form()?

    #960078

    macmanx
    Staff

    Hm, that’s a shame that the developer isn’t providing support for his paid theme. :(

    There have been some potential incompatibilities with Cloudflare before, so before we attack the theme full-force, would you please see if there’s any different if you stop using Cloudflare momentarily?

    #960082

    shanegowland
    Member

    I’ve spent a few hours debugging the authors javascript code; and managed to get the plugin to mostly load.

    The social connect icons don’t seem to show up; Chrome’s console reports the following:

    Failed to load resource: the server responded with a status of 404 (Not Found) http://s0.wp.com/wp-content/mu-plugins/post-flair/sharing/images/icon-wordpress.png
    Failed to load resource: the server responded with a status of 404 (Not Found) http://s0.wp.com/wp-content/mu-plugins/post-flair/sharing/images/icon-facebook.png
    Failed to load resource: the server responded with a status of 404 (Not Found) http://s0.wp.com/wp-content/mu-plugins/post-flair/sharing/images/icon-twitter.png

    Is that still an issue on my end; or are the images actually missing on the automattic servers?

    If it’s any help in the future; the following block of code was causing the issue:

    /* Fix YouTube iframe overlay and z-index issues
    http://maxmorgandesign.com/fix_youtube_iframe_overlay_and_z_index_issues/
    ------------------------------------------------------------------------------- */

    jQuery("iframe").each(function(){
    var ifr_source = $(this).attr('src');
    var wmode = "wmode=transparent";
    if(ifr_source.indexOf('?') != -1) {
    var getQString = ifr_source.split('?');
    var oldString = getQString[1];
    var newString = getQString[0];
    jQuery(this).attr('src',newString+'?'+wmode+'&'+oldString);
    }
    else jQuery(this).attr('src',ifr_source+'?'+wmode);
    });

    #960091

    yoavf
    Staff

    Is that still an issue on my end; or are the images actually missing on the automattic servers?

    The images should be there now – can you please check again?

The topic ‘Issue with JetPack Comments’ is closed to new replies.