Closed (fixed)
Project:
React Comments
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2018 at 04:58 UTC
Updated:
31 Oct 2022 at 09:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Manoj Raj.R commentedComment #3
minnur commented@Manoj Raj.R looks like you your Rest resources are not available. Can you verify module specific rest sources enabled and make sure users have permission to use them.
Comment #4
Manoj Raj.R commentedRest resources??
can u be specific with that...
And i have given permission for users to post comment...
Comment #5
void-- commentedManoj, can you please provide a screenshot of the error in your console?
Regarding the rest resources, if you enable the `rest ui` module and visit `/admin/config/services/rest` you should see (at least) three enabled resources: Comment, Comments, and Me
Comment #6
Manoj Raj.R commentedHi Void,
I have done the following you have mentioned with the rest ui model. after that also i get this error.
Comment #7
void-- commentedHmmm, our resource plugin's don't have any code that returns a 404 response, are you 100% sure these resources are enabled? Can you send me a screen shot of your enabled rest resources in the rest ui?
Comment #8
Manoj Raj.R commentedsure.
And when i installed the rest ui module itself the rest ui resources gets enabled as i attached....
My Drupal version: 8.5.3
php :7.0
React comments : 8.x.1-dev(development version)
Once again Void,
Can u provide steps after enabling react_comments module..?
Thanks
Comment #9
Manoj Raj.R commentedVoid,
Can u suggest me the sites using react comments?
Waiting for the reply
Comment #10
minnur commentedThere are no specific steps for the module to be enabled. Ideally you would just install it and you should be all set. Make sure you have comments module enabled.
Comment #11
void-- commentedManoj,
I'm not sure what's going on with your site, it's really strange that your rest resources are enabled but still return 404. Are you able to visit the endpoints directly in the browser? Try clearing cache and visiting /react-comments/me?_format=json
For now I'm going to mark this as closed cause we're unable to reproduce your issue. If you find any more relevant details feel free to post them here and we'll keep trying to help you diagnose your issue.
Best,
Theo
Comment #12
Manoj Raj.R commentedVoid
Making this Fixed, since it worked/applied with clearing cache.