Forums / Setup & design / Login problem

Login problem

Author Message

kuba kuba

Tuesday 25 August 2009 5:52:32 am

Hi everyone,

I have some problem with user login, and I can not figure out what could be the cause.

I have 2 users (members) A and B. I login as A, then logout, and then login again, but this time as user B, everything is ok, except the fact that at top part of site there are logout(user A), and if i want to edit profile i go to edit page of user A.

If I clear the cache at admin panel, and press f5 on the page everything seems to be OK now.

cubby cub

Tuesday 25 August 2009 6:22:07 am

is this really a problem?

if you clear your cache and the issue is resolved, you're good to go.

where a user may not go through clearing cache, your users also probably won't have two accounts that they simultaneously monitor.

if it's bothering you, access account A via Firefox, access account B via Internet Explorer ;)

Aang: Just like the legend says, we let love lead the way.

kuba kuba

Tuesday 25 August 2009 6:40:44 am

hi, thanks for reply.

yes, it is a problem, because, even though i clear the cache and then refresh site, if i logout and the login as user A, i got the same issue (got data of B user).

I think in general the problem is: if i login as a some member it log in but it takes lastlogged person data.

It is very weird, because the site was working ok for several months and it has over 30 members and it was everything ok, this problem came after adding 2 new members two days ago.

Any ideas?

André R.

Tuesday 25 August 2009 7:01:32 am

You don't happen to use 4.1.0 (or was it 4.1.1) are you?
This is a known issue with these versions, so you should probably look into updating your site to 4.1.3 if your' using earlier versions of 4.1.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

kuba kuba

Tuesday 25 August 2009 7:47:30 am

:-) I'm using 4.0.2....so I think it is time to make some update work.

Thanks for fast reply!

André R.

Tuesday 25 August 2009 8:16:27 am

If you're on 4.0.x, then your not affected by the bug I was thinking about. It probably won't hurt updating to 4.0.6 of course, but I'm not aware of such a issue on 4.0.2.

Are you able to reproduce it when you use two different browsers like cubby mentioned?
If you can't, then its almost certainly browser cache

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

kuba kuba

Wednesday 26 August 2009 11:25:32 pm

Hi!, Unfortunately I'm able to reproduce this problem on different browsers ( i tried on opera, firefox and ie ) :-/ but, I found that if log in and I have data of other user and then press "my profile" it show some "Access denied" message but it also switch to proper values, and from this point it seems to be working everything ok.

Any ideas now? My server administrator is curently on vacation, but maybe it is some www server issue?

André R.

Thursday 27 August 2009 2:33:18 am

What kind of page is this? custom or more or less pure webin/flow?
Do you have the same problem in the admin section?

My best guess is that you have a custom pagelayout or modified webin/flow pagelayout where the cache hash for the cache-block's around the header are to aggressive.
So if User A is normal user, and user B is admin user, then you will be able to edit User A's profile. But you won't be able to do that if you login with two normal users that don't have access to edit each other, hence the 'Access Denied'.

Try to reproduce it again, and instead of clearing all cache, clear one by one using the checkboxes, my guess is that 'Cache for templateblocks' will help.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Sebastian Born

Monday 10 January 2011 9:21:24 am

Hi there,

I have the same problem on the ez publish version, I have to support. It is ez publish 4.0.1. Clearing the cache doesn't help. The users always gets mixed up.

@kuba kuba: were you able to solve the problem?

eZ debug

Timing: Jan 18 2025 01:01:23
Script start
Timing: Jan 18 2025 01:01:23
Module start 'content'
Timing: Jan 18 2025 01:01:24
Module end 'content'
Timing: Jan 18 2025 01:01:24
Script end

Main resources:

Total runtime1.0048 sec
Peak memory usage4,096.0000 KB
Database Queries216

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.6016180.8516
Module start 'content' 0.00600.8853 768.4531686.3438
Module end 'content' 0.89130.1133 1,454.7969344.4688
Script end 1.0046  1,799.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3781210.0002
Check MTime0.00140.1424210.0001
Mysql Total
Database connection0.00080.081010.0008
Mysqli_queries0.922491.80142160.0043
Looping result0.00210.20912140.0000
Template Total0.972996.820.4865
Template load0.00210.205320.0010
Template processing0.970996.624920.4854
Template load and register function0.00020.015410.0002
states
state_id_array0.00190.191210.0019
state_identifier_array0.00080.075620.0004
Override
Cache load0.00180.1761450.0000
Sytem overhead
Fetch class attribute can translate value0.00180.176850.0004
Fetch class attribute name0.00150.1483110.0001
XML
Image XML parsing0.00160.162050.0003
class_abstraction
Instantiating content class attribute0.00000.0025130.0000
General
dbfile0.00470.4643340.0001
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs