Title: Thickbox
Last modified: August 21, 2016

---

# Thickbox

 *  [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * (@bdbolin)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/thickbox-5/)
 * Hello, we are using your great plugin, however it doesn’t seem to be working 
   while using the WP Thickbox.
 * Adding:
 *     ```
       <script>
          WPAC._Options.commentsEnabled = true;
          WPAC._Initialized = false;
          WPAC.Init();
       </script>
       ```
   
 * Gives us some functionality – the scripts now load however the in the console
   we are getting multiple POST’s with 500 internal errors looking for wp-comments-
   post.php
 * Any guidance would be great.
 * Our site is: [http://flip-9-development.com/urban_ag](http://flip-9-development.com/urban_ag)
 * [https://wordpress.org/plugins/wp-ajaxify-comments/](https://wordpress.org/plugins/wp-ajaxify-comments/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * (@bdbolin)
 * [12 years ago](https://wordpress.org/support/topic/thickbox-5/#post-4807166)
 * Any ideas? :'(
 *     ```
       "NetworkError: 500 Internal Server Error - http://flip-9-development.com/urban_ag/wp-comments-post.php"
       wp-com...ost.php
       [WP-Ajaxify-Comments] Comment has not been posted
       wp-aja...=0.21.0 (line 78)
       [WP-Ajaxify-Comments] Try to extract error message (selector: 'p:parent')...
       wp-aja...=0.21.0 (line 78)
       [WP-Ajaxify-Comments] Error message 'Duplicate comment detected; it looks as though you’ve already said that!' successfully extracted
       ```
   
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years ago](https://wordpress.org/support/topic/thickbox-5/#post-4807196)
 * Thanks for your comment. Since the popup containing the comment form is loaded
   after you have clicked one of the posts you need to trigger the plugin’s initialization
   manually:
    Please try to call the following JavaScript method after the content
   in the popup has been loaded: `WPAC.AttachForm();`
 * Hope this helps…
 *  Thread Starter [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * (@bdbolin)
 * [12 years ago](https://wordpress.org/support/topic/thickbox-5/#post-4807197)
 * Not quite working yet:
 *     ```
       "NetworkError: 500 Internal Server Error - http://flip-9-development.com/urban_ag/wp-comments-post.php"
       wp-com...ost.php
       [WP-Ajaxify-Comments] Comment has not been posted
       wp-aja...=0.21.0 (line 78)
       [WP-Ajaxify-Comments] Try to extract error message (selector: 'p:parent')...
       wp-aja...=0.21.0 (line 78)
       [WP-Ajaxify-Comments] Error message 'Duplicate comment detected; it looks as though you’ve already said that!' successfully extracted
       ```
   
 * And on our template page:
 *     ```
       <script>
          WPAC._Options.commentsEnabled = true;
          WPAC._Initialized = false;
          WPAC.Init();
          WPAC.AttachForm();
       </script>
       ```
   
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years ago](https://wordpress.org/support/topic/thickbox-5/#post-4807227)
 * Your site seems to be broken at the moment…
    Where exacty do you have added the
   custom WPAC-JavaScript snippet. You need to call WPAC.AttachForm(); **after**
   the popup content has been loaded and injected into the DOM.
 * The error message you have posted just says that the comment was rejected because
   it was detected as duplicated comment which is a default WordPress functionality.
 * Hope this helps…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Thickbox’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [janjonas](https://wordpress.org/support/users/janjonas/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/thickbox-5/#post-4807227)
 * Status: not resolved