By martin_jones on
I have just installed the latest drupal (5.1). Installation went fine.
After setting settings.php back to 644, my drupal prompted me to create an account.
I did this and then the next page I got was
Access Denied
You are not authorized to access this page.
I have looked through the forums and tried a number of suggestions, all to no avail.
Does anyone know why I might be getting this?
It is a completely fresh install. Blank database.
Help
Martin
Comments
Fixed
Thanks to another post,
commenting out this section in sites/default/settings.php worked:
Finally :)
Fixed
Thanks to another post,
commenting out this section in sites/default/settings.php worked:
Finally :)
Could this be due to the fact that my domain name is http://byjones.co.uk and not http://www.byjones.co.uk ?
Happens when using an IP address
This issue will also happen if you use an IP address instead of a domain. For example, 127.0.0.1.
Cookie problem
I faced the same problem on existing site, but it was Firefox cannot login, no problem when using IE.
All I do is remove cookies from browser and it works again.
Could be some modules that causes it as I was adding new modules the day before?
Sorry to reopen this Thread
Sorry to reopen this Thread again, but I ran into the same problem and none of the "cookie-fixes", "settings.php"-stuff, etc works for me. Did anyone discover something new?
I'm wondering if the problem is realted to uieforum. The site worked fine 2 weeks and at the point when I installed this forum, it stoped login in users over frontpage's login-block. No matter, what browser or OS client uses.
The stange thing: It only seems to be the login-block. Login in via www.domain.com/user works fine in all cases.
Someone in here with a good input?
Thanks!
You are not alone
I am having the same problem. I downloaded the latest release of 5.2 and uploaded it to a 1and1 site where I have never have any problems. After the initial installation process I create the first account and am prompted with a usual first page but I am NOT logged in. I then picked up the password from the admin email account. That password will not work. I get the perpetual "Access Denied" message.
There is none of the cookie-ness in the 5.2 setting.php that caused problems in V5.1, so evidently that is not the issue.
settings.php is at 644 and all the other permissions appear to be fine.
This is also the first 5.2 scratch install I have done. All of the others have been V5.1 and earlier relaeases. They went in with very little fanfare and upgraded the same.
Has anyone else ran into this? If so what did you do to get it fixed?
Thanks.
+1
I still have this issue as well. My setup is:
Drupal 5.2
Windows Server 2003
Apache 2.2
PHP 5.2.1
MySQL 5.0.27-community-nt
Any more ideas?
found a fix
I found my fix here:
http://drupal.org/node/6696#comment-55263
$cookie_domain in settings.php
I ran into this issue when moving an old site to a local test server to prepare for some updates (Drupal 5.12). I found a line in settings.php referring to the old $cookie_domain setting. I changed the value to reflect my local install, cleared cache in the browser, and the issue was resolved.
Just in case anyone comes across this issue, perhaps this comment will help.
ss
s