Support » Plugin: Simple Ajax Chat » 404 when sending message

  • Resolved igkouts


    Hi all,

    I’m trying to integrate the plugin into my site using a widget but everytime I hit the “Say it” button I can see my message being added into the messages list followed by a

    POST http://localhost/wordpress/wp-content/plugins/simple-ajax-chat/simple-ajax-chat.php?sacSendChat=yes 404 (Not Found) sac.php:259

    error in Chrome’s console.
    I’ve already tested it using the shortcode and the template tag with no luck. The only clue I have thus far is that the error has to do with the permalinks mechanism. When I’ve the default option selected (?p=123) everything works fine, but when I select the “Day and name” option (/2013/07/29/sample-post/), I receive the error message mentioned above.
    As far as the overall functionality is concerned, there is no impact; all messages get saved and retrieved correctly, but I cannot figure out how to fix the 404 error.
    Any ideas?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr


    Hi igkouts,

    Thanks for the feedback. I would like to investigate this. Which method are you using to do the shortcode in a widget?


    Plugin Author Jeff Starr


    Just to follow up with this, I’m currently updating the plugin and tested “shortcode in widget” functionality using the default WP Text Widget and the following line added to the theme’s functions.php file:

    add_filter('widget_text', 'do_shortcode');

    With this setup, using the chat shortcode [sac_happens] in the text widget seems to work great, no console/404 errors detected.

    I’ll go ahead and mark this topic as resolved, but feel free to follow-up with any further details. Thanks again for the feedback.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 when sending message’ is closed to new replies.