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
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
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.
I cannot test the comments without a login …
I’ve turned that setting off for the time being so you can test it.
It seems that your website is currently offline …
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” …
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='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 …
I didn’t get any feedback, so I will mark this topic as resolved.