Forums / Install & configuration / Anonymous access problems

Anonymous access problems

Author Message

robbie van der blom

Friday 17 February 2006 3:09:19 am

I've set up several sections and assigned them to the anonymous user, but for some reason, it's not working. Have checked everything, reset the caches etc. but still getting the access denied etc. with a login screen.

I've only been experiencing this in 3.7.3, and haven't seen it in any other of the sites build using ez publish

Kristof Coomans

Friday 17 February 2006 3:29:12 am

Do you have the following in settings/override/site.ini.append(.php) or settings/siteaccess/<i>yoursiteaccessname</i>/site.ini.append(.php):

[SiteAccessSettings]
RequireUserLogin=true

If so, set it to false.

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

robbie van der blom

Friday 17 February 2006 4:00:59 am

These were already put to false in both. I've already investigated this option ;).

Kristof Coomans

Saturday 18 February 2006 1:25:00 am

Did you get any errors or warnings in the debug output?

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

robbie van der blom

Saturday 18 February 2006 2:20:48 am

I found these two errors:

Function required:
 Module : content
 Function : read
 ClassID : 16
 MainNodeID : 59
Policies that didn't match:
 PolicyID : p_328
  Limitation : Section
  Required : 1, 
 PolicyID : p_328_34
  Limitation : Section
  Required : 1,

And this one:

Error ocurred using URI: /schutboom/index.php/schutboom/productgroepen

Hans Melis

Saturday 18 February 2006 2:59:08 am

Hi Robbie,

Have you checked the Anonymous user role (or whatever role you assigned to the anonymous user) to see if all data is still valid? Specifically, check the <b>user/login</b> permission. If the limitation says <b>SiteAccess()</b>, it's become invalid. Edit the policy and reselect the right siteaccess.

I've seen this happening in a few cases when upgrading to 3.6.5 or 3.7.3, but I haven't been able to pinpoint the exact problem. I suspect the new 64bitCompatibilityMode, although I'm not even 50% sure.

Hans
http://blog.hansmelis.be

robbie van der blom

Saturday 18 February 2006 5:07:04 am

<b>Solved</b>

I found the issue and it is indeed somewhat that Hans pointed out. It's not the siteaccess however that's compromised, but it is the content part that incorrectly points to the section instead as to standard. As soon as i changed it, everything was fine.

If this is a bug Hans and you haven't filed it, I will file it as a bug as the behaviour indeed is not as expected.

Thankx for the input Kris and Hans.

eZ debug

Timing: Jan 19 2025 00:30:20
Script start
Timing: Jan 19 2025 00:30:20
Module start 'content'
Timing: Jan 19 2025 00:30:20
Module end 'content'
Timing: Jan 19 2025 00:30:20
Script end

Main resources:

Total runtime0.1966 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.6328180.8281
Module start 'content' 0.00780.0071 770.4609101.9297
Module end 'content' 0.01480.1817 872.3906530.0547
Script end 0.1965  1,402.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00462.3611200.0002
Check MTime0.00190.9731200.0001
Mysql Total
Database connection0.00130.682010.0013
Mysqli_queries0.142772.58861410.0010
Looping result0.00160.82161390.0000
Template Total0.181292.210.1812
Template load0.00110.555910.0011
Template processing0.180191.624010.1801
Override
Cache load0.00080.425210.0008
Sytem overhead
Fetch class attribute can translate value0.00140.688210.0014
XML
Image XML parsing0.00040.227910.0004
General
dbfile0.00341.7348200.0002
String conversion0.00000.003030.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