I have enabled the standard "reportedcontent" plugin that came with Elgg 1.6.1. But if I click on any of the "report this" links I get the following error. Anybody have any idea why? Thanks.
doug
You don't have permission to access /mod/reportedcontent/add.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Sounds like the permissions for that file are set wrong. Make sure to set them readable to at least the web server...this usually means 644 (or user read/write, group read, and world read).
Hi, Brett.
I just checked and that add.php file's permissions are set to 644.
doug
Hrm....Not sure about this one without more information then. Do the error logs report anything? Do you have any sort of security extensions enable for PHP? What are the permissions of working files for the other mods?
Spot-checking around, the permissions for the working files for the other mods all seem to be the same - 644.
I don't see an error in the error_log, but I do see these warnings from time to time that seems to come in sets of 5:
Those seem unrelated, but you may want to check with your provider why you're getting these errors, which are the results of loading extensions without the proper support libs on the server.
I suppose a simple quesiton that never occured to me is does that file actually exist where the server thinks it does? If possible, what is the HTTP error code?
Yes, the file actually exists. That's why I was able to confirm the 644 permission settings for it! :)
The complete error message is:
So I guess the 404 has to do with some ErrorDocument and the permission looks like a separate problem. But /mod/reportedcontent/add.php does exist.
doug
@Doug
You did not follow Brett's advice !
Ask your host to whitelist /disable mod_security on your account
END-OF-STORY
TA-TA
Hi, Dhrup.
Actually, Brett said those entries
I was having the same problem with "bookmark this" link, the problem was that the script was hitting mod_security rule on the server. I contacted my host and they corrected it.
Hi, Jayadeep. I do have a request in to my host about it, so I hope that it solves the problem.
Thanks,
doug
- Previous
- 1
- 2
- Next
You must log in to post replies.