Forums / General / IE6 cannot login into eZ after big script worked on MySQL

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

eZ debug

Timing: Jan 30 2025 21:43:06
Script start
Timing: Jan 30 2025 21:43:06
Module start 'content'
Timing: Jan 30 2025 21:43:06
Module end 'content'
Timing: Jan 30 2025 21:43:06
Script end

Main resources:

Total runtime0.3370 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0095 588.1797370.2656
Module start 'content' 0.00950.0140 958.44531,005.7188
Module end 'content' 0.02350.3134 1,964.16413,899.0859
Script end 0.3369  5,863.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00481.4137200.0002
Check MTime0.00140.4271200.0001
Mysql Total
Database connection0.00110.315710.0011
Mysqli_queries0.235169.76181410.0017
Looping result0.00150.43191390.0000
Template Total0.313092.910.3130
Template load0.00090.262010.0009
Template processing0.312192.612410.3121
Override
Cache load0.00060.187310.0006
Sytem overhead
Fetch class attribute can translate value0.00230.668810.0023
XML
Image XML parsing0.00040.106510.0004
General
dbfile0.00812.3930200.0004
String conversion0.00000.001430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs