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 dotun on
I just installed 4.3.1 and I hink I have done everything right but I get a home page that lets me create a new account but nothing else.
I can create accounts but whenever I log on or even just go to the home page it gives me a page that says "Access denied", "you are not authorized to access this page"
Can anyone please help. I've checked and double checked everything I can think of.
thanks
Comments
permissions
you need to go to http://yoursite.com/drupal/?q=admin/user/permission and enable 'access content' (and probably some others) for anonymous and/or authenticated users.
--
James Walker :: http://walkah.net/
RE: Permissions
I get the same "access denied" page when I go to http://yoursite.com/drupal/?q=admin/user/permission or any other page
Log in as admin
Log in as the first user you created. This account is the "superuser" account and can access/admin anywhere. Use that account to set up the permissions so others can access things.
Same error
This is the error I get. I have followed the install to the letter:
Warning: Access denied for user: 'root@localhost' (Using password: YES) in /var/www/html/drupal/includes/database.mysql.inc on line 12
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: YES) in /var/www/html/drupal/includes/database.mysql.inc on line 12
Access denied for user: 'root@localhost' (Using password: YES)
Any help on this would be great. Thanks in advance.
Re: Same error
Joe
The error message is telling you that the password for the user root@localhost is wrong.
Check /var/www/html/drupal/includes/conf.php and look for this line near the top of the file:
# $db_url = "mssql://user:password@hostname/database";
Make sure that you have entered the correct username/password combination and the address of where your database is.
In the same file, make sure that this line:
$base_url = "http://localhost";
is set correctly. On mine, I had to enter the fully qualified qualified URL of where my Drupal set-up lives i.e. http://external.domain.name/drupal as it didn't work using localhost.
HTH
Bill
Hello drumm, i can get same
Hello drumm, i can get same "Access Denied" when i login with firust user..
When i after setting and save, i redirect to "Access Denied" page, and last settings is not saved.
Please guide me
I found the solution. Actuall
I found the solution. Actually posts http://drupal.org/node/view/4658 and http://drupal.org/node/view/4395
solved the problem.
my version of apache2 (SUN) uses php4_module instead of mod_php4
so the conditional overide was not working right.
I commented out the and things work fine now.
thanks all
what file is that in?
Can you please tell me what file you comment those out in? I am having the same problem and am guessing I'm on a Sun Server.
One Reason of Access Denied
In my site http://www.crmvietnam.com, I can't access some articles (nodes) although I loged in by administrator.
Finally, I find out that cause I deleted some users that posted those articles. After restore the old users, everything is done.
Hope helpful!
Access denied" "you are not authorized to access this page" erro
Here Problem is Little bit Different !!
Actually my site is working properly perfect at my "localhost", but when i use my IP Address instead of localhost, i get error Access Denied "You are not authorized to access this page error" whenever i login to to my site..
Plzz Help me over here...
eat cookies
Hi,
After moving a site to a laptop to do some testing I could no longer login as Admin... The fix was to change the following setting in settings.php
ini_set('session.cookie_domain', '127.0.0.1');
I hope this saves someone else some time.
drupal on!
kc
drupal on!
Thank u so much !!!
Your post really saves time ))
Had this too
I had this too.
Moved my site to a new domain.
change this in settings.php
Thanks
This solved my problem as well. Thanks for the hint!
Access Denied Error on All the pages for Anonymous User
Hi,
I have moved site from Live to localhost and now getting Access Denied on all the pages for anonymous user only.Rest logged in user works properly.
I have tried all the option stated above but not working.
Problem due to upgrade from PHP 4 to 5
Add
//
$GLOBALS['tempUser'] = $user;
//
after the
//
drupal_page_footer();
//
near the end of the index.php
So finally it should look like
//
drupal_page_footer();
$GLOBALS['tempUser'] = $user;
//
and don't forget to clear your cookies.
Access denied how to change the text
"You are not authorized to access this page" i want to replace the text with "You should get register to access this page"... So how will i do it please help me out am new to Drupal
Use
Use http://drupal.org/project/stringoverrides module. It does exactly the same.
Access denied You are not authorized to access this page.
Hello All,
I have copied a site from one location (domain name) to a new one (domain name) so that I can make some changes for testing.
Now I get the "Access denied You are not authorized to access this page." on both sites!!
Arrgghhh!!!
I have access to the SQL database and all the back-end files.
All ideas appreciated.
Thanks all.
Old settings.php file is wrong for Drupal 6.17 and above
Hi
After upgrading from Drupal 6.16 to 6.22 I couldn't log back in again. Even user1 got the sad message "You are not authorized to access this page". The password was ok since I only got an error message when I deliberatly used a wrong passwort (for testing purposes). I tried all the good avice I could find on Google, such as appending the index.php file and using alternative browsers. Apart from getting to know a bunch of new browsers, it didn't do me any good. Until I came across this little gem in the Drupal API section.
http://api.drupal.org/api/drupal/developer--globals.php/global/cookie_domain/6
It says:
Since I don't want to retype all the changes I've made to settings.php at each minor upgrade, I usually leave the file unchanged. That meant my cookie domain was no longer correct. After changing
$cookie_domain = 'http://www.example.com';
to
$cookie_domain = '.example.com';
everything was back to normal.
However, I do think that Drupal should warn users if the configuration files change between minor releases. I'm probably not the only one to keep the old configuration files when upgrading.
Cookie Domain
I will hold that in mind.
I managed to get it working by remming out the $cookie_domain line.
I will give this ago.
Thanks
I found this error when I
I found this error when I copied a website template to another site. I forgot inside the settings file to rename the cookie domain to the new site. It would give me access denied errors similar to the OP.
Solution
Solution
Just in case somebody stumbles over this issue the solution for me was in settings.php.
I had copied a website from one domain to another and had not changed the following setting at the bottom of the file.
$cookie_domain = 'newwebsitenamehere.com';
Thanks , this post help me a
Thanks , this post help me a lot
Thanks for the post
this answered my question as well. thanks!
Thanks!
thanks a lot! this saved me over 1 hour of wasted efforts :)
God bless you
Access denied
http://example123/drupal/#overlay=admin/people/permissions
Go to Node Option
View published content Click on Check box.
more..
http://meramandi.blogspot.com/2015/04/blog-post_14.html