I just started working on making my site multilingual and noticed that the AJAX comments isn't compatible. Basically when a user is browsing in NON English (on my site, that would be Japanese or Chinese) and attempts to post a comment, it shows the processing bar and then shows a pop up window that states "An HTTP error 0 occurred. /ja/ajax_comments/js.

And the loading bar stays on the page, the user has to refresh the page to clear the error. The comment actually gets posted, but throwing the error and requiring the user to reload the page is not an option. Anyone know why this is happening or experiencing the same thing?

I can't really use this module if I don't find a solution to this problem and hoping to find that solution before I am ready to go live with the multilingual version. Thanks!

Comments

drupalcoderJP’s picture

I have the exact same problem, have you found an answer to this issue? I have been working with other developers and they said they are experiencing the same issues. When the user is browsing in English it works just fine, both adding comments and deleting them with AJAX working as it should. Once the user goes to a NON english page, it will throw a AJAX error:

An HTTP error 0 occurred.
/ja/ajax_comments/js

but then when you refresh the page it will show the comment. Obviously it goes without saying that this is very bad for the end users. You can see it in action by going here:

http://www.yoninja.com/ja/jp/japan/food-drinks/2146/%E4%B9%9D%E5%B7%9E%E...

You will need to register for a basic account to test out the commenting. But you should see it right away.

Any plans for the maintainers of this module to fix this bug?