cookies - Drupal 7 access denied to admin panel -


migrated fully-functioning drupal 7 site , corresponding database new server. unable login admin side. error message is: “access denied. not authorized access page.” username , password has been verified.

i looked @ /admin/reports/dblog, error log shows 2 entries per login. 1 entry shows session opened correct username, , other entry shows access denied , user ‘anonymous.’ assumption drupal not able validate user assigning user anonymous.

i read many forum topics on similar issues. commented out ‘$cookie_domain’ in ‘settings.php’, still nothing. looked @ functioning site , saw 2 cookies generated: ‘has_js’ , session id cookie. in new site, ‘has_js’ cookie generated (using both firefox , chrome browsers). have verified session id being saved session table in database.

i have looked modifying ‘php.ini’ (etc/php5/apache2/php.ini) have not found solution saves session id cookie.

drupal 7 linux server ubuntu 12.04 apache 2.2.22 mysql 14.14 php 5.3.10

uncomment line 340 on settings.php reflect domain name

e.g. localhost

$cookie_domain = 'localhost'; 

please note works drupal 7 , php version 5.6.

regards,


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -