Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am unable to get the anonymous posting working; with previous dev I got 403 ajax error, current dev no error just not working, with current alpha2 I get 404 ajax error. Anonymous is able to post comments without the ajax comments system when on a blog post (ajax comments is in my blogs view). I am using Botcha to stop spam bots, but have tried switching this module off also.
Comment | File | Size | Author |
---|---|---|---|
#4 | ajax_comm1.jpeg | 207.58 KB | onyxnz |
Comments
Comment #1
muschpusch CreditAttribution: muschpusch commentedYou put as component views integration: do you mean the views integration or just regular usage of ajax comments?
Comment #2
onyxnz CreditAttribution: onyxnz commentedViews integration.
For instance, when alpha2 is installed, the error is :
An AJAX HTTP error occurred.
HTTP Result Code: 404
Debugging information follows.
Path: /ajax_comments/comment_form/ajax/100?tok=lmWRrrBpve4iPX0UyZPBUWZ3LYVcl061tf0Yf7SwDxU
StatusText: Not Found
ResponseText: ...
which is obviously the path created in line 50 of
..sites/all/modules/ajax_comments/views/ajax_comments_handler_field_ajax_add_comment.inc
With current dev, there is no error to screen, but no result either.
Comment #3
muschpusch CreditAttribution: muschpusch commentedPlease try the latest dev release even though i'm not sure if it will fix it... Could you provide a patch or some more debugging output since i'm quit busy at the moment....
Comment #4
onyxnz CreditAttribution: onyxnz commentedOk...
attached is a screen shot, after click ing the "add your voice to the conversation" link - which is produced by Views, and functions when logged in, to produce the form fields to comment.
This is the current dev version 16-Oct.
Firebug shows that the ajax response is 200 OK, but the JSON object 3 that has the form build inside it is not being inserted into the node, neither are the other objects containing the javascripts.
How does that insertion work (I guess another script is supposed to action that JSON?)
Comment #5
muschpusch CreditAttribution: muschpusch commentedOk it works like this:
the path is : /ajax_comments/comment_form/ajax/100 (except the 100 that's an argument)
So there must be some hook_menu entry defining that path (hint ajax_comments.module). That menu callback has some callback function. That builds the form and uses drupal's ajax api to return it. In that function most likely something goes wrong due to permissions (just a guess)
Comment #6
kmontyChanging the post title to make it more relevant.
Comment #7
tradenet CreditAttribution: tradenet commentedWhen permissions are set NOT to skip comment approval for any role or user, I am getting this ajax error or warning:
LOCATION "http://www.website.com/system/ajax"
Comment #8
formatC'vt CreditAttribution: formatC'vt commentedI confirm this bug in latest dev.
We can post new comments (when we leave "Your name" field blank), but we can't reply to comments (404 error)
Comment #9
formatC'vt CreditAttribution: formatC'vt commentedFixed. Try latest release.