IE6 cannot login into eZ after big script worked on MySQL

Author Message

Xavier Gouley

Wednesday 16 April 2008 8:53:44 am

Hi,

I have a very strange problem on IE in a specific case:

My conf:
Linux Redhat Fedora,
eZ 4.0 / PHP 5.1.6
MySQL

My eZ:
A big script (import of data) which import big data on independant tables in my database (not in the eZ tables, others only).

Firstly, I can login with IE into FO and BO. All is OK.
Then I run my script: all is well with the data and the database (disk not full, no crash, ...)
Then IE cannot login in the BO or FO (tried with all users I have) : when you type a wrong password, you have classical error message, and if you type good password, the login page refresh itself, but I in fact, I'm not logged in...

Undef Firefox, no problem... a restart of Apache does not solve the problem. A reboot of Linux solves the problem!

Anyone had this behavior and found a solution? (I want to avoid to tell my customer that he had to restart his server each time he run the script - everyday - ...)

Xavier Gouley
http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/

Kristof Coomans

Thursday 17 April 2008 12:52:32 am

Hi Xavier

Any message in debug output?
You tried restarting the database server?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Nicolas Lescure

Thursday 17 April 2008 2:45:15 am

Hi,

I think I had the same problem on eZ Publish 3.9.2. When I tried to log in to the site, I had a message as if I was not logged in.
In fact, the log in procedure was successful, and I was logged in, but just for tenth of a second! Then I was disconnected, but I don't know why...
And this happens only with IE (6 & 7).

Check the ezsession table to check if you have the same problem as me.

And I found a "solution". In this website, I had to log in on 2 siteaccess at the same time.
So I had in the site.ini :

[Session]
SessionNameHandler=custom
SessionNamePerSiteAccess=disabled

Changing for "SessionNamePerSiteAccess=enabled" (the default value I think) solved the problem. No more fast deconnection...

Hope this helps.

Xavier Gouley

Thursday 17 April 2008 1:33:47 pm

Hi Kristof, Hi Nicolas,

In debug output, nothing, in logs (error or any eZ logs), nothing,
in Apache logs or MySQL logs, nothing...

Restart the Apache daemon did not solve the problem, as the MySQL daemon...

I'm not sure it is the same problem as yours, Nicolas : we tried to log into Back adn Front "massively" and cannot access : when I submit my login form, it really like I press F5 key on the login page, nothing more happens...

One notice : My customer needs automatic logout after 1hr : so I activated the cookie time out (first time we use this):

[Session]
SessionTimeout=3600
ActivityTimeout=3600
CookieTimeout=3600

This could turn on the light?

Thanks

Xavier Gouley
http://www.gxapplications.com/eng_blog/GX-Admin-s-Blog/

Gaetano Giunta

Friday 19 March 2010 7:07:03 am

See also note added here: http://share.ez.no/forums/developer/problem-with-connection-in-the-administration-under-ie

Principal Consultant International Business
Member of the Community Project Board

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.