Please help. I've search everywhere and can't find an answer.
Drupal 7 - Omega Theme
It was running just great on our DEV server, but once we copied it to our production server and pointed the domain name nobody can log in.
All the site pages work fine. We're navigating the site perfectly. But trying to log in as an administrator produces "You are not authorized to access this page." Can't even change passwords.
We also have a CAS system that can log people in, but that isn't working either. Both login methods were working prior to the server migration.
Tried...
- Clearing caches
- Flushing DNS
- Checking database for missing users or permissions
What next?
Please help.
Thanks
Comments
[ solved ] - admin "not authorized to access"
OK, I found the solution to my login problem.
When we migrated the site to the new server, I forgot to change the $cookie_domain variable in the settings.php file. It was still pointing to our old server, blocking any admin login.
The file was found here: sites/default/settings.php
PHP variable name: $cookie_domain = 'example.com'; (line 340)
Hope this is helpful to someone.
Same problem, same solution
I had the same problem. And the same solution solved my problem.
Thanks!!
I had the same here too,
I had the same here too, problem solved, thanks!
This fixed my registry rebuilt error
Thanks, this solved my "The theme registry is being rebuilt on every page request" error message that was appearing each time. On my Zen theme.
face same issue
Thanks your solution work for me
The file was found here: sites/default/settings.php
PHP variable name: $cookie_domain = 'example.com'; (line 340)
what to replace in cookie_domain
Frankly, I want to know what should we do with that $
cookie_domain
can u please help
In Drupal 8.4 there is no $cookie_domain variable in setting.php file. I have a same problem
But trying to log in as an administrator Access Denied "You are not authorized to access this page."
Can't even change passwords. Can some body please help me..
admin "not authorized to access"
Thank a lot for your response.It is working for me
In Drupal 8.4 there is no $cookie_domain variable in setting.php
In Drupal 8.4 there is no $cookie_domain variable in setting.php file. I have a same problem
But trying to log in as an administrator Access Denied "You are not authorized to access this page."
Can't even change passwords. Can some body please help me..
I also have same problem in Drupal 8.5
I have same problem in Drupal 8.5. I don't find solution yet. Yes, there is no $cookie_domain in settings.php file.
Please help...
got any solution for this?
got any solution for this?
three years later
three years later~