WordPress.org

Forums

WP Ajaxify Comments
doesn't get any message or error ? (11 posts)

  1. meezohd
    Member
    Posted 8 months ago #

    hi
    thanks for your amazing work...

    I am facing a problem to show messages such as
    "Your comment has been posted. Thank you!"
    or even any error

    i sat the id for the Error container selector, but still nothing shown.

    i don't even see any Popup.

    https://wordpress.org/plugins/wp-ajaxify-comments/

  2. janjonas
    Member
    Plugin Author

    Posted 8 months ago #

    Thanks for your comment.

    Please send me a link to your page where I can reproduce the problem.
    You can either reply to this message or send me a private message here http://blog.janjonas.net/contact.

  3. meezohd
    Member
    Posted 8 months ago #

    your website is not working !

    im working on my localhost server and using a theme called wordpress-bootstrap-master ....

  4. janjonas
    Member
    Plugin Author

    Posted 8 months ago #

    Do you get any error message on my website? I've successfully tested the contact form.

    Could you please enable the plugin's debug mode and take a look into the browser's console to see if there are any errors?

  5. meezohd
    Member
    Posted 8 months ago #

    its working fine now ...

    there no errors at all...

    could you please explain how a message or an error is shown to the end-user ?

    like what exactly happen after i submit a comment ?

    because it seems for me that there is no action.... just the cursor changes to downloading and then the new comment appears

    thanks

  6. meezohd
    Member
    Posted 8 months ago #

    >>> I meant your website is working fine now

  7. janjonas
    Member
    Plugin Author

    Posted 8 months ago #

    Have you enabled the plugin's debug mode (see question "The plugin is not working, what can I do?" here http://wordpress.org/plugins/wp-ajaxify-comments/faq/)?
    You should at least see some info messages. Please send me a copy of the output.

  8. meezohd
    Member
    Posted 8 months ago #

    [WP-Ajaxify-Comments] Initializing version 0.24.1 wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found jQuery 1.11.0 wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found jQuery blockUI 2.6 wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found jQuery Idle Timer plugin wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Attach form... wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comment form (selector: '#commentform')... Found: e.fn.init[1] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comments container (selector: '#commentslayout')... Found: e.fn.init[1] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search respond container (selector: '#respond')... Found: e.fn.init[1] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comment paging links (selector: '.pagination a')... Found: e.fn.init[4] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comment links (selector: '#comments a[href*="/comment-page-"]')... Found: e.fn.init[10] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Initialization completed wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Replace comment form... wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Comment has been posted wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found comment URL 'http://localhost/players/robin-van-persie.htm/comment-page-5#comment-99' in X-WPAC-URL header. wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found unapproved state '0' in X-WPAC-UNAPPROVED wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Replace comment form... wp-ajaxify-comments.js?ver=0.24.1:79
  9. janjonas
    Member
    Plugin Author

    Posted 8 months ago #

    Could you please check if the element with the id commentform is the comment form's <form> tag?

    You can see a live demo of the plugin here: http://blog.janjonas.net/2012-06-08/wordpress-ajax-comment-wp-ajaxify-comments-plugin

    Hope this helps...

  10. rjcord
    Member
    Posted 1 month ago #

    I've just installed the plugin and updated the Comments container selector with the #comment-wrap selector. I get the console messages below in debug mode but no popup when I click on the Comment Submit button with an empty comment field. Theme is Divi, WP 4.1.1. I don't know what the reference to X-WPAC-ERROR means. Any suggestions?

    Console log:
    wp-ajaxify-comments.js?ver=1.2.0:87 [WP Ajaxify Comments] Initializing version 1.2.0
    wp-ajaxify-comments.js?ver=1.2.0:87 [WP Ajaxify Comments] Found jQuery 1.11.1
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Found jQuery blockUI 2.6
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Found jQuery Idle Timer plugin
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Attach form...
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Search comment form (selector: '#commentform')... Found: e.fn.init[1]
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Search comments container (selector: '#comment-wrap')... Found: e.fn.init[1]
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Search respond container (selector: '#respond')... Found: e.fn.init[1]
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Search comment paging links (selector: '#comments [class^='nav-'] a')... Not found
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Search comment links (selector: '#comments a[href*="/comment-page-"]')... Not found
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Initialization completed
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Found error state X-WPAC-ERROR header. undefined
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Comment has not been posted
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Try to extract error message (selector: 'p:parent')...
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Error message 'ERROR: please type a comment.' successfully extracted
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Found error state X-WPAC-ERROR header. undefined
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Comment has not been posted
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Try to extract error message (selector: 'p:parent')...
    wp-ajaxify-comments.js:87 [WP Ajaxify Comments] Error message 'ERROR: please type a comment.' successfully extracted

  11. rjcord
    Member
    Posted 1 month ago #

    In an almost random long shot I upped the z-index to 99999 and guess what the error message and success messages showed up! Would be nice if the console messages could detect that!

Reply

You must log in to post.

About this Plugin

  • WP Ajaxify Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.