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.

eZ debug

Timing: Jan 18 2025 16:21:44
Script start
Timing: Jan 18 2025 16:21:44
Module start 'layout'
Timing: Jan 18 2025 16:21:44
Module start 'content'
Timing: Jan 18 2025 16:21:45
Module end 'content'
Timing: Jan 18 2025 16:21:45
Script end

Main resources:

Total runtime0.9614 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.1641152.6563
Module start 'layout' 0.00490.0021 740.820339.5078
Module start 'content' 0.00700.9531 780.3281666.6094
Module end 'content' 0.96010.0013 1,446.937516.0938
Script end 0.9614  1,463.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3292160.0002
Check MTime0.00130.1403160.0001
Mysql Total
Database connection0.00090.093610.0009
Mysqli_queries0.897293.3210670.0134
Looping result0.00070.0775650.0000
Template Total0.933497.120.4667
Template load0.00230.241020.0012
Template processing0.931196.846120.4656
Template load and register function0.00010.007910.0001
states
state_id_array0.00080.085210.0008
state_identifier_array0.00100.106220.0005
Override
Cache load0.00200.2124480.0000
Sytem overhead
Fetch class attribute can translate value0.00050.054640.0001
Fetch class attribute name0.00130.137890.0001
XML
Image XML parsing0.00240.245340.0006
class_abstraction
Instantiating content class attribute0.00000.0018100.0000
General
dbfile0.00130.1321340.0000
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs