Forums / Setup & design / Restricted access problem - it works after first login only

Restricted access problem - it works after first login only

Author Message

Rainer Krauss

Thursday 06 August 2009 6:31:09 am

Dear all,

hope you can shed some light on this odd issue:

I intend to implement a "members only" area in my website. To do that, I followed the how-to guides on ez.no: I created a node (and content), assigned it a certain section ('Restricted', as already available from the standard installation of eZ 4.1.0) and loged in with a user that had access to content / read / section Restricted.
It works fine - exactly one time only. When I clear all caches of eZ, and then login, I can see the restricted content all right. When I log out and login again, there's nothing there (and entering the URL of the relevant page manually takes me to a page that tells me I had not sufficient rights to view the page). It satys that way until i clear all caches of eZ again, after which I can see the content again for one time only.

Anyone else having experienced a similar issue?

Best wishes,
Rainer

André R.

Thursday 06 August 2009 8:09:02 am

Its a know issue in 4.1.0, update to latest 4.1.x version to fix it.

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

Rainer Krauss

Monday 10 August 2009 3:15:48 am

Thank you Andre!

Implementing the patches referenced at
http://issues.ez.no/014660
http://issues.ez.no/014622
worked well for me.

Best wishes,
Rainer

eZ debug

Timing: Jan 18 2025 10:54:04
Script start
Timing: Jan 18 2025 10:54:04
Module start 'content'
Timing: Jan 18 2025 10:54:05
Module end 'content'
Timing: Jan 18 2025 10:54:05
Script end

Main resources:

Total runtime0.8010 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0859180.7969
Module start 'content' 0.00610.6509 769.8828542.5000
Module end 'content' 0.65690.1440 1,312.3828333.0234
Script end 0.8009  1,645.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4792210.0002
Check MTime0.00140.1689210.0001
Mysql Total
Database connection0.00070.093410.0007
Mysqli_queries0.727590.83081940.0038
Looping result0.00220.27771920.0000
Template Total0.766195.720.3831
Template load0.00190.240620.0010
Template processing0.764295.408920.3821
Template load and register function0.00020.030610.0002
states
state_id_array0.00200.247610.0020
state_identifier_array0.00180.229620.0009
Override
Cache load0.00160.1979210.0001
Sytem overhead
Fetch class attribute can translate value0.00120.153230.0004
Fetch class attribute name0.00130.158240.0003
XML
Image XML parsing0.00080.099030.0003
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00700.8778280.0003
String conversion0.00000.000830.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs