I can't administer my site

AllSystemGo - October 23, 2007 - 19:02

I can't figure out how to access the administer page on my drupal.

I'm trying \\localhost\?q=user

Then I enter:

User: admin
PWD: ****

I access the page and as soon as I press the administer link on the left it's telling me that I don't have the right to access that page.

Please help me out!!!

Cheers

What it's telling me exactly

AllSystemGo - October 23, 2007 - 19:27

What it's telling me exactly is : You are not authorized to access this page.

are you positive that

WorldFallz - October 23, 2007 - 19:50

are you positive that "admin" is the superuser account? Just because the username is "admin" means nothing to drupal. drupal only understands that user/1 is superuser. do http://localhost/?q=user/1 and verify the username for the superuser account.

I did what you ask but it

AllSystemGo - October 24, 2007 - 13:40

I did what you ask but it gives me "You are not athorized to access this page" message again!

Thank you for your help and I hope you can help me out figuring why I have this message all of a sudden

EDIT: I just thought about something, is it possible, since I'm on Ubuntu, that I removed an access to the admin page and that's why I get that message??? Maybe I chmod the directory containing the admin page and It doesn't like it!!!

Just a thought... Let me know!

absolutely--- though there

WorldFallz - October 25, 2007 - 13:35

absolutely--- though there is no "admin page" per say-- (remember drupal stores "pages" in a db, there are no .html pages) I would think that changing the permissions on files/folders in the drupal directory can affect access. Retrace your steps and see if you can undo what you did.

It's been a while since I

AllSystemGo - October 25, 2007 - 15:32

It's been a while since I did that change. Is there one place in particular that I should check for the proper rights.

And thank you again for your help

Try this, I had the same

Johnboat - October 25, 2007 - 15:37

Try this, I had the same problem:

Step #1:

Commented out following in user.module:
session_regenerate_id(); // about line 959...

Step #2:

Added line below drupal_page_footer(); in index.php:
$GLOBALS['tempUser'] = $user; // this alone might already work...

Hope it works

OMG you saved my a$$ big

AllSystemGo - October 25, 2007 - 17:46

OMG you saved my a$$ big time!!!

Why did that happen all of a sudden?? It was working fine like a month ago!

THANK YOU so much again!!

Cheers!

 
 

Drupal is a registered trademark of Dries Buytaert.