Hi folks,

After reviewing other posts in this forum (at some length) I can not get past my "You are not authorized to access this page." issue when I first try to run /admin.php.

The mySQL files exist and the db information in config.php is correct. Is there something else I'm missing.

Thanks,

Steve

Comments

Anonymous’s picture

I had this problem twice; both times it was because various parts of the upload/install hadn't completed.

1. When importing the "database.mysql" into the drupal database, my connection timed out and the entire file was not uploaded. (I was using PHPMyAdmin.) After clearing the database and reimporting, I was able to access admin.php etc.

2. When uploading the drupal heirarchy via FTP, I missed selecting the "templates" folder. Once I uploaded the default templates, I was able to continue.

Hope this helps,
Aaron

Anonymous’s picture

same problem as steve below, no solutions it seems.

I can not get past my "You are not authorized to access this page." issue when I first try to run /admin.php.

The mySQL files exist and the db information in config.php is correct. Is there something else I'm missing.

Thankz

Quentin

mmtahir’s picture

I just installed the Drupal 4.2.0 and created database drupal, and granted the priviliges and created the tables as necessary.

When i created a new account (supposedly admin) in drupal and tried to login using the password (alloted to me by drupal), I was unable at all to access the admin page or even my user account page.

I am using php 4.3.1 and mysql 4.0.12 on Internet Information Server Windows XP

The previous drupal version 4.1.0 was working properly

any Helppppppppppppppppp...

Thanks

mmtahir’s picture

Btw i fixed it and its simple

1. Open php.ini file (normaly in the windows/winnt directory)

2. Find Change / add the following settings

register_globals = 0
track_vars = 1
short_open_tag = 1
magic_quotes_gpc = 0
magic_quotes_runtime = 0
magic_quotes_sybase = 0
arg_separator.output = "&"
session.cache_expire = 200000
session.cookie_lifetime = 2000000
session.auto_start = 0
session.save_handler = user
session.cache_limiter = none
php_value allow_call_time_pass_reference = Off

3. Open the drupal website (e.g. http://localhost/drupal420)

4. Login user name and password initially given to you by drupal
(for installation steps please look for the install doc supplyed with drupal)

5. And it worked (At least it works on my system with IIS)