WordPress.org

Ready to get started?Download WordPress

Forums

WP-Ajaxify-Comments
[resolved] Plugin Stopped working Salutations theme (14 posts)

  1. faeronsayn
    Member
    Posted 1 year ago #

    I had a problem with this plugin previously, and it was just the container IDs that had to be fixed, and the plugin author gladly took his time and helped me out.

    However, for some odd reason the plugin has stopped working after a theme update/wordpress update. I am not exactly sure if the container IDs have changed or if there is another problem. I went ahead and turned on debug mode to see what appears in the console.

    I didn't exactly see any errors for WP-Ajaxify. Here is what I got

    Uncaught TypeError: Object function (e,t){return new v.fn.init(e,t,n)} has no method 'noticeAdd' phanime.net:1395
    [WP-Ajaxify-Comments] Initializing version 0.7.0 wp-ajaxify-comments.js:72
    [WP-Ajaxify-Comments] Found jQuery version '1.8.3' wp-ajaxify-comments.js:72
    Uncaught TypeError: Cannot read property 'version' of undefined wp-ajaxify-comments.js:122
    GET http://server.cpmstar.com/view.aspx?poolid=39368&script=1&rnd=358156  embed-640x360.html:44
    GET http://server.cpmstar.com/view.aspx?poolid=39370&script=1&rnd=387883  embed-640x360.html:52
    GET http://cdn.cpmstar.com/cached/js/global_v100.pack.js?poolid=39374  embed-640x360.html:62
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/26748/subbed-claymore-online-episode-26/#comment-727 from frame with URL http://www.zunux.com/view/TOIwLEgf1A/embed-640x360.html. Domains, protocols and ports must match.
     ga.js:16
    GET http://phanime.net/wp-content/plugins/wp-reportpost/loading.gif 404 (Not Found) phanime.net:244
    Resource interpreted as Image but transferred with MIME type text/plain: "data:;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABSCAYAAACMhFB2AAAAGXRFWHRTb2Z0d2…OB3uHVM75CEyK2iNfyb8Q/xFbxak29A590/gNt9QEfAgwAsOgxqt8Lp7QAAAAASUVORK5CYII=".

    Ignoring those other errors, I don't exactly see any errors for WP-Ajaxify.

    I am using the Salutations theme v 2.0.3 if that is any help. I also have BBPress, and Buddypress on.

    http://wordpress.org/extend/plugins/wp-ajaxify-comments/

  2. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    could you please try the most recent developer version 0.8.0 from here:
    http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip

    This version adds some new debug messages if something unexpected happened when initializing the plugin.

    Please post the debug output with the new version and (of possible) send me a link to your site.

    Hope this helps,
    Jan

  3. faeronsayn
    Member
    Posted 1 year ago #

    The update has somehow seemed to fix the ajaxify posting part of the plugin. However, the comment doesn't display until you refresh the page.

    I believe this is the code output relevant to the current problem

    [WP-Ajaxify-Comments] Comment has been posted wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Found comment URL 'http://phanime.net/23008/subbed-sword-art-online-online-episode-3/#comment-730' in X-WPAC-URL header. wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Found unapproved state '0' in X-WPAC-UNAPPROVED wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Replace comment form... wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Anchor '#comment-730' extracted from comment URL 'http://phanime.net/23008/subbed-sword-art-online-online-episode-3/#comment-730' wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Anchor element not found (selector: '#comment-730') wp-ajaxify-comments.js:73

    And here is the whole thing that appears in the console

    Mainly the top and the bottom part are relevant to the plugin.

    [WP-Ajaxify-Comments] Initializing version 0.8.0 wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Found jQuery 1.8.3 wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Found jQuery blockUI 2.42 wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Search comment form (selector: '#PostCommentForm')... Found:
    [form#PostCommentForm.comment-form, context: document, selector: "#PostCommentForm", constructor: function, init: function, selector: ""…]
     wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Search comments container (selector: '#comments')... Found:
    [div#comments.invisible, context: document, selector: "#comments", constructor: function, init: function, selector: ""…]
     wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Search respond container (selector: '#RespondToPost')... Found:
    [div#RespondToPost, context: document, selector: "#RespondToPost", constructor: function, init: function, selector: ""…]
     wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Initialization completed wp-ajaxify-comments.js:73
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://upload2.com/embed/6d21cfa9. Domains, protocols and ports must match.
     wcid.js:1
    GET http://phanime.net/wp-content/plugins/wp-reportpost/loading.gif 404 (Not Found) phanime.net:697
    GET http://ad2.ycasmd.info/custompopup.php?embeded=1&ref=phanime.net  embed.php:6
    GET http://optimized-by.rubiconproject.com/a/8403/13546/26606-15.js?cb=0.9385379466693848  upload2.html:29
    GET http://ad.vuiads.org/showads.php?id=56&porn=0  ad.vuiads.org/showads.php?id=56&porn=0:1
    GET http://ad.vuiads.org/showads.php?id=27&porn=0  ad.vuiads.org/showads.php?id=27&porn=0:1
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://embed.videoweed.es/embed.php?v=eg0kltxf143sq&width=640&height=360. Domains, protocols and ports must match.
     counter.js:1
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://embed.videoweed.es/embed.php?v=eg0kltxf143sq&width=640&height=360. Domains, protocols and ports must match.
     devobject.js:201
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://embed.novamov.com/embed.php?width=640&height=360&v=pjj799l42uoc4&px=1. Domains, protocols and ports must match.
     counter.js:1
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://embed.novamov.com/embed.php?width=640&height=360&v=pjj799l42uoc4&px=1. Domains, protocols and ports must match.
     devobject.js:201
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://embed.videoweed.es/embed.php?v=eg0kltxf143sq&width=640&height=360. Domains, protocols and ports must match.
    Unsafe JavaScript attempt to access frame with URL http://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL http://embed.novamov.com/embed.php?width=640&height=360&v=pjj799l42uoc4&px=1. Domains, protocols and ports must match.
    [WP-Ajaxify-Comments] Comment has been posted wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Found comment URL 'http://phanime.net/23008/subbed-sword-art-online-online-episode-3/#comment-730' in X-WPAC-URL header. wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Found unapproved state '0' in X-WPAC-UNAPPROVED wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Replace comment form... wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Anchor '#comment-730' extracted from comment URL 'http://phanime.net/23008/subbed-sword-art-online-online-episode-3/#comment-730' wp-ajaxify-comments.js:73
    [WP-Ajaxify-Comments] Anchor element not found (selector: '#comment-730') wp-ajaxify-comments.js:73
    GET http://phanime.net/wp-content/plugins/wp-reportpost/loading.gif 404 (Not Found) jquery.js:2
  4. faeronsayn
    Member
    Posted 1 year ago #

    I personally believe it's this line that's showing the error relevant to why the comment is not displayed until you refresh the page...

    This is when you expand the line in the console.

    [WP-Ajaxify-Comments] Anchor element not found (selector: '#comment-730') wp-ajaxify-comments.js:73
    wpac_debug wp-ajaxify-comments.js:73
    jQuery.ajax.success wp-ajaxify-comments.js:258
    l jquery.js:2
    c.fireWith jquery.js:2
    T jquery.js:2
    r
  5. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    Is your site public available?

    I do not think the "Anchor element not found" error is the problem. If this error occurs the plugin is not able to scroll to the new comment. The ajax part (inserting new comments) should not be effected by this problem.

  6. faeronsayn
    Member
    Posted 1 year ago #

    Yes my site is publicly available.

    Here is a link to a random post that you can test the comments on.

    http://phanime.net/29723/subbed-sakurasou-no-pet-na-kanojo-online-episode-18/

  7. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    I cannot test the comments without a login ...

  8. faeronsayn
    Member
    Posted 1 year ago #

    I've turned that setting off for the time being so you can test it.

  9. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    It seems that your website is currently offline ...

  10. faeronsayn
    Member
    Posted 1 year ago #

    It might have went down for a bit, but it should have been back up fairly quickly. It's up right now.

  11. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    Now I get "Error establishing a database connection" ...

  12. faeronsayn
    Member
    Posted 1 year ago #

    That's awkward x.x

    Site was being fixed that time, and you happen to check exactly at that time. Sorry for the problems, it's up currently and shouldn't go down hopefully.

  13. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    your site includes jQuery twice:

    Line 56:
    <script type='text/javascript' src='http://phanime.net/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>

    Line 459
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

    The second jQuery include breaks the functionality (jQuery.blockUI is resetted to undefined). If you enable the debugging mode, you will see, that the wp-ajaxify-comments plugin could not be initialized properly. Please disable all other plugins and enable them step by step to find out which adds the second jQuery include and breaks the functionality.

    Hope this helps ...

  14. janjonas
    Member
    Plugin Author

    Posted 1 year ago #

    I didn't get any feedback, so I will mark this topic as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic