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.
Hello everyone,
When i want to add a comment to an event, i have this message :
An HTTP error 404 occurred.
/mysite/heartbeat/comment/post
Does someone got the same issue ?
Thanks
Comments
Comment #1
guigui75 CreditAttribution: guigui75 commentedAnyone with that issue ?
Comment #2
Stalski CreditAttribution: Stalski commentedDo you still have that in latest dev? If not, you can close this issue.
Thx in advance
Comment #3
Stalski CreditAttribution: Stalski commentedIf it does not work. Can you debug what your path is in the javascript where this line is:
Drupal.settings.basePath + 'heartbeat/comment/post'
Comment #4
guigui75 CreditAttribution: guigui75 commentedHello,
Thanks for your answer.
The problem is still here in the last dev version( 11 dec).
My path is : POST http://localhost/site/heartbeat/comment/post
I got a 404 Not Found
Referer http://localhost/site/?q=user/1/heartbeat/useractivity
Source
message=qsd&uaid=3&nid=2&node_comment=1&path=http%3A%2F%2Flocalhost%2Fsite%2F%3Fq%3Duser%2F1%2Fheartbeat%2Fuseractivity&first_comment=true
Thanks for your help.
Comment #5
Stalski CreditAttribution: Stalski commentedI tried to create a subsite and still the base url worked.
I saw the referer for you is ?q= ... , which could mean you don't use clean urls? correct?
I'll investigate this some more.
Comment #6
Stalski CreditAttribution: Stalski commentedJup and there would be other problems too. I've set the urls in the Drupal.settings container so JavaScript knows how to call them.
This seems fixed and pushed to git. Please review and close if ok for you too.
Comment #7
Stalski CreditAttribution: Stalski commentedYou can always reopen if the problem still persists.