Login failing for no apparent reason... sometimes taking multiple tries to finally work

Permalink
So, I have the following site,http://www.azselfstorage.org on 5.6.2.1, hosted with Bluehost using PHP 5.4 (FastCGI). Should it NOT be PHP 5.4 (FastCGI) and instead be changed to PHP 5.4 (Single php.ini)? I has only been an issue as of recently. Sometimes clicking to login and then refreshing the page after it appears to have failed ends up working, other times you have to login multiple times to successfully login. This is for both Admin and normal User accounts, so it isn't a caching issue in a browser that is accessed by both Admins and Users. Anyone else having this issue?

barkingtuna
 
barkingtuna replied on at Permalink Reply
barkingtuna
Using Chrome and Firefox, it seems much faster using PHP 5.4 (Single php.ini). However, using my super admin credentials with IE fails every time and I am UNABLE to login at all. We have over 900 users on this site and I'd venture to say most of them use outdated IE. What is the solution?
WebcentricLtd replied on at Permalink Reply
hi, I have no idea if this helps. I had problems with a site where we were using full page caching. Stopping the login page being cached at all resolved the issues we were having.

That said the issues/reports etc were quite inconsistent and it was very difficult to track / trap.
barkingtuna replied on at Permalink Reply
barkingtuna
Thanks... but I had actually done that a while back. I think I figured it out. I modified the PHP to PHP 5.4 (Single php.ini) and commented out:
define('BASE_URL', 'http://www.azselfstorage.org');
define('DIR_REL', '');

in the config/site.php file and immediately had success in Internet Explorer and have not had a failed login since.
jasteele12 replied on at Permalink Reply
jasteele12
I never did like those legacy defines (but understand why they were there) and I've seen them cause other problems on sites upgraded to 5.6+

I'd would be nice if there was a warning that these aren't needed anymore on upgrade :)