Anonymous users are denied access to my site. They are shown a custom front page
(via the front page module) with a text block only visible to anonymous users along with login option. Upon signing in, the user is then forwarded to the home page and its contents are viewable along with the rest of the site. I should also mention that I just moved my site to a live server from my home pc’s localhost. The problem I having is that authenticated users are receiving an “Access denied -You are not authorized to access this page” message that shows up on the homepage in the main content area of the page. The weird thing is that this error message does not block the user from the rest of the contents of the page or the rest of the site. The Login does work and the site is accessible after doing so but they get this weird “access denied” message as well. How do I get rid of that error message?
Comments
bump
bump
Have you double checked your
Have you double checked your permission settings in admin/user/permissions ?
By default, some content/content types/modules have permission settings that disallow them to be accessed/viewed by anonymous users.
Thanks for the response. The
Thanks for the response.
The issue is not if anonymous users are able to se content. I specifically set the permissions so that they cannot access any content accept for the login block and the text block I mentioned in my last post. This works fine. The issue is that authenticated users, after sign in, are seeing the access denied message near the middle/top of the content/center area of the front page. This message is, however, not actually blocking the user from any content that I am aware of since above and below this error message the content is shown (as it should) so I don’t know what this error is referring to or why it is showing up. The user can also view and browse the rest of the site. So the message does not seem to make sence.
I figured it out. You weren’t
I figured it out. You weren’t far off. I gave access permission to the front page module to anonymous users only. Once I gave authenticated users access permission too the message went away.
Glad you got it working.
Glad you got it working. Permissioning can cause a lot of headaches sometimes haha. Such a simple fix too, usually.
Repaired the database tables
I checked the tables for my site using phpmyadmin, and the session table needed repairing as it was feeling unwell.
That also fixed all of my problems.
Matt