For some reason I cannot login to the admin panel nor can any of our employees login on the website with any user. Any ideas how to fix this problem?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 05, 2011 1:47am
Subscribe [6]#1 / Feb 05, 2011 1:47am
For some reason I cannot login to the admin panel nor can any of our employees login on the website with any user. Any ideas how to fix this problem?
#2 / Feb 06, 2011 11:54am
Hi Adam,
Can you give us a little more information please? Which version and build of EE are you using? Can you actually view the CP login form? What happens when you try to login? Have you tried clearing your browser cookies and cache files? How long is it since you last logged in? Can you provide a link to the site in question?
Cheers
Greg
#3 / Feb 06, 2011 12:08pm
Hi Adam,
Can you give us a little more information please? Which version and build of EE are you using? Can you actually view the CP login form? What happens when you try to login? Have you tried clearing your browser cookies and cache files? How long is it since you last logged in? Can you provide a link to the site in question?
Cheers
Greg
Well, That sit is still on 1.6.7 I haven’t logged in or updated in a while as you can tell.
I can view the site and th CP login, but when I login, it doesn’t do anything. The user an pass just blanks out and nothing happens.
On the site in the employee area, when I try to login there, I just get redirected to the home page.
The site is beazleymoliere.com
#4 / Feb 07, 2011 9:26am
Have you tried clearing your cookies for that domain?
#5 / Feb 07, 2011 5:57pm
yes, I cleared my cookies and still nothing. I enter my user and pass and press Submit and nothing happens. Should I try to upgrade to a new version 1.7.0?
#6 / Feb 07, 2011 5:59pm
I can access the SQL database and the user is in there and the Pass is there (encrypted), but nothing is happening.
#7 / Feb 08, 2011 12:37pm
Hi Adam,
Please make a backup of your config.php file and then add the following:
$conf['cookie_domain'] = "";
$conf['cookie_path'] = "";
$conf['cookie_prefix'] = "";
$conf['admin_session_type'] = "c";Check to make sure you aren’t already defining those 4 items in there; if you are then remove the old lines first. Also please clear your browser’s cache and cookies, as well as try different browsers. Does that help get you in?
#8 / Feb 09, 2011 1:00am
Unfortunately that did not do anything. I tried 3 different browsers, cleared cookies, changed the config file, but still the exact same result.
#9 / Feb 09, 2011 3:17pm
Yes, an upgrade to 1.7 certainly can’t hurt; helps us to rule out corrupted files if nothing else.
#10 / Feb 14, 2011 9:36pm
Ok… well I updated to 1.7.0 and it went down without a hitch, but I still cannot login. Same exact thing is happening.
#11 / Feb 15, 2011 10:23am
Thanks for updating. When it comes to EE 1.x, often times switching to sessions only for the control panel will fix things.
Add/change
$conf['admin_session_type'] = 's';#12 / Feb 17, 2011 8:38am
that didnt seem to do anything either.
#13 / Feb 17, 2011 3:37pm
Adam,
Can you verify with your host that nothing has changed that might be causing this issue.
You might also want to run php info to see what turns up. Specifically looking at memory
http://expressionengine.com/wiki/Create_a_PHPInfo_file/
And also make sure to let us know if you are using a .htaccess for rewrites of any sort. You might try removing that from the equation.
#14 / Feb 18, 2011 12:08am
YAY!!!!!!
I switched my host from using php4 to php5 and the problem was solved.
#15 / Feb 18, 2011 8:20am
Sounds good. Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.