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.
By bomek on
I have Drupal 5.1 running and everything seem fine when i'm logged as a user.
But when i'm anonymous, the page only show the login form and an Access Denied page...
From the INSTALL.txt, they say:
When the install script succeeds, you will be directed to the "Welcome" page.
In "step one" click "create the first account" which will become the main
administrator account with total control. Login as the administrator and
complete the initial configuration steps on the "Welcome" page.
The Welcome page was an Access Denied page. (But i was able to create an admin account)
I would like an anynonymous access to all content. (The "Access Content" of the node module is check for anonymous)
Thanks a lot
Comments
Same issue here
I'm stumped. Band new install. Even deleted all the tables and reinstalled. Same symptoms. Auth'ed users can see content fine, but anonymous users cannot see anything but an "Access Denied" page and the login block, even though node access is enabled for anonymous users.
Anyone else seeing this?
...
Check that you have the proper permissions for the database account for the db install. Check that you have UID0 in the users table (UID0 is anonymous user). Otherwise this is not something I've seen in any of my installs.
Stuff that causes really weird things are hosts running mod_security.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Thanks, but no luck
Thanks for the pointers.
The db account has full access except GRANT to the db. UID0 does exist and is in the users table. We're not running mod_security.
/me scratches his head
MySQL version may have something to do with it
After four clean installs, I think I've narrowed it down. When installing to a MySQL 5.0 DB on a remote server, I get the anonymous user access denied error. When installing to a MySQL 4.1.x localhost server, it works perfectly.
I'll post more details as I narrow it down (i.e. - testing MySQL 5.0 local and MySQL 4.1.x remote).
Found and fixed
http://drupal.org/node/118066
Thanks to marinam and oremj.
Wow, thanks
Thanks a lot for this solution!
I use auto_increment_increment = 10 and auto_increment_offset = 1 for my multimaster mysql setup
Same issue (almost)
I have almost the same issue. Anonymous user gets denied message on almost all pages. For some strange reason there is one page that Anonymous can see (besides login). It is just a basic book page.
My setup:
New Drupal 5.1 install.
Various modules, including Organic Groups.
The site is a subdomain site: demo.domain.com and I have another Drupal install at the main domain.
I mention the last thing because I am also having strange login problems where sometimes users don't get logged in - which I think is a cookie confusion thing between the domains - not sure.
Fixed - disabled OG access control
OK I disabled OG access control and it is all working now. This is what it says under OG access control:
"Enable access control if you want to author any content that is restricted to group members. The button below will delete one record in your node_access table (if needed) and thus enable node permissions on your site. You may revert by clicking the same button again. If you switch back and forth, your node permissions are preserved."
Not sure what the problem as - will check issues list at OG: http://drupal.org/project/issues/og
Fixing existing installation
Ran into the same problem (also on an osuosl database). To fix it, I changed the rid numbering in permission, role, user_roles, and blocks_roles.