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

guigui75’s picture

Anyone with that issue ?

Stalski’s picture

Do you still have that in latest dev? If not, you can close this issue.
Thx in advance

Stalski’s picture

Title: Impossible to post a comment » Impossible to post a comment (404 on /heartbeat/comment/post)

If it does not work. Can you debug what your path is in the javascript where this line is:
Drupal.settings.basePath + 'heartbeat/comment/post'

guigui75’s picture

Hello,

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.

Stalski’s picture

I 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.

Stalski’s picture

Status: Active » Needs review

Jup 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.

Stalski’s picture

Status: Needs review » Fixed

You can always reopen if the problem still persists.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.