• Resolved faeronsayn

    (@faeronsayn)


    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 https://server.cpmstar.com/view.aspx?poolid=39368&script=1&rnd=358156  embed-640x360.html:44
    GET https://server.cpmstar.com/view.aspx?poolid=39370&script=1&rnd=387883  embed-640x360.html:52
    GET https://cdn.cpmstar.com/cached/js/global_v100.pack.js?poolid=39374  embed-640x360.html:62
    Unsafe JavaScript attempt to access frame with URL https://phanime.net/26748/subbed-claymore-online-episode-26/#comment-727 from frame with URL https://www.zunux.com/view/TOIwLEgf1A/embed-640x360.html. Domains, protocols and ports must match.
     ga.js:16
    GET https://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.

    https://www.ads-software.com/extend/plugins/wp-ajaxify-comments/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi,
    could you please try the most recent developer version 0.8.0 from here:
    https://downloads.www.ads-software.com/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

    Thread Starter faeronsayn

    (@faeronsayn)

    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 'https://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 'https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://upload2.com/embed/6d21cfa9. Domains, protocols and ports must match.
     wcid.js:1
    GET https://phanime.net/wp-content/plugins/wp-reportpost/loading.gif 404 (Not Found) phanime.net:697
    GET https://ad2.ycasmd.info/custompopup.php?embeded=1&ref=phanime.net  embed.php:6
    GET https://optimized-by.rubiconproject.com/a/8403/13546/26606-15.js?cb=0.9385379466693848  upload2.html:29
    GET https://ad.vuiads.org/showads.php?id=56&porn=0  ad.vuiads.org/showads.php?id=56&porn=0:1
    GET https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://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 https://phanime.net/23008/subbed-sword-art-online-online-episode-3/?replytocom=729#respond from frame with URL https://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 'https://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 'https://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 https://phanime.net/wp-content/plugins/wp-reportpost/loading.gif 404 (Not Found) jquery.js:2
    Thread Starter faeronsayn

    (@faeronsayn)

    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

    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.

    Thread Starter faeronsayn

    (@faeronsayn)

    Yes my site is publicly available.

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

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

    I cannot test the comments without a login …

    Thread Starter faeronsayn

    (@faeronsayn)

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

    It seems that your website is currently offline …

    Thread Starter faeronsayn

    (@faeronsayn)

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

    Now I get “Error establishing a database connection” …

    Thread Starter faeronsayn

    (@faeronsayn)

    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.

    Hi,
    your site includes jQuery twice:

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

    Line 459
    <script src="https://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 …

    janjonas

    (@janjonas)

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Plugin Stopped working Salutations theme’ is closed to new replies.