I cannot login to the Frontend or Backend on any PC running Windows XP
Service Pack 2 that has Internet Explorer 7 loaded on it. This seems to be
the common configuration when this problem happens. Other browsers like
Firefox and Netscape display the same behavior on these systems. I have
tried 2 PCs and both have this problem.
The behavior follows:
- Login screens appear normal.
- Enter the valid account information.
- The login screen is refreshed and you are not taken to the proper screen.
- If you enter incorrect login information the message “Access Denied” is returned.
Based on the above described behavior it would appear that the login authentication
is working properly however the login process isn’t completed.
I have tested the login process for both the Frontend and Backend on 2 PCs running
Windows XP Service Pack 2 with Internet Explorer 6 installed and they both work fine.
I believe that there should be a fix for this within Magento. Has anyone solved this?
I restalled everything including sample db before install script and that works fine. Problem is that it is diffiult to work in 2 environments. One for development in my case on a MAC using MAMP and the other production which is Debian Linux.
Since my project is currently in the development phase, I have personally switched to Firefox all uses and connection, hoping that this problem will be solved. But I am quite puzzled that nobody in the development team seems to care about the problem we expose here.
Either this is a solved problem… and we would certainly be happy to know how
Or it is still a running problem.. and we would like to know, as well as an estimate for an operating solution.
Please make sure that the timezone you set for Magento is the right timezone of the server.
The problems described above might happen if it is set wrong, as it causes cookie expiration date to be in the past - cookies are always expired.
You can also try to increase Cookie Lifetime setting in Magento configuration (System -> Web -> Session Cookie Management section). 86400 should be enough to override any wrong timezone shifts.
Please make sure that the timezone you set for Magento is the right timezone of the server.
The problems described above might happen if it is set wrong, as it causes cookie expiration date to be in the past - cookies are always expired.
You can also try to increase Cookie Lifetime setting in Magento configuration (System -> Web -> Session Cookie Management section). 86400 should be enough to override any wrong timezone shifts.
We can’t get into the configuration we can’t login. How can we fix this by another route?
I have the same problem, although only on the backend. I did a fresh install of 1.1.1 and I was in the middle of setting everything up when I was kicked out. I can sometimes log in, but as soon as I click on any link anywhere in admin, I get kicked right back out. Logging in again will take me to the page I originally tried to get to, and then I will be kicked out again without clicking anything. It’s very strange. I don’t think it’s a timezone problem for me. Time zone is correctly set to ‘America/Los_Angeles’. I can’t stay in admin long enough to change any values there, so I did it directly in the database. In the ‘core_config_data’ table, I changed ‘web/cookie/cookie_lifetime’ to 86400. I also cleared the var/cache folder. That didn’t help. This all happens regardless of computer or browser. I’ve tried it on IE 6 and 7, FF 2 and 3, Opera 9.5, and on 3 different computers. I have it running on a dedicated server with Windows Server 2003 and I’ve never had this problem with any other version of Magento. I previously had 1.0 running on this server without trouble. This is not a live website yet as I’m still testing and trying to get everything set up, but it is on a real domain name. I mention that because I found another thread where people were having cookie problems when the domain was localhost. That is not the case for me.
I checked my cookies and I have 3 from Magento. They are as follows:
i960: for me it solved the problem. I also had to update the server’s system time to the correct timezone based on it’s location (not your location). I also set the magento timezone to the same timezone as the server and it fixed everything. So try both and see where this brings you.
i960: for me it solved the problem. I also had to update the server’s system time to the correct timezone based on it’s location (not your location). I also set the magento timezone to the same timezone as the server and it fixed everything. So try both and see where this brings you.
Timezone settings are correct on the server and in Magento. The server is located in Los Angeles, CA. I am located in Bakersfield, about 100 miles north from there. On both my computer and on the server, the timezone is set to (GMT -08:00) Pacific Time (US & Canada). In Magento I have it set to Pacific (America/Los_Angeles). I verified that the date and time are correct on the server.
I also have a local Ubuntu server here I use for development and testing. I am going to install Magento on that and see if I experience the problem.