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.

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 19 2025 03:40:21
Script start
Timing: Jan 19 2025 03:40:21
Module start 'layout'
Timing: Jan 19 2025 03:40:21
Module start 'content'
Timing: Jan 19 2025 03:40:22
Module end 'content'
Timing: Jan 19 2025 03:40:22
Script end

Main resources:

Total runtime1.2122 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.2578152.6250
Module start 'layout' 0.00450.0028 741.882839.4453
Module start 'content' 0.00731.2033 781.3281628.3359
Module end 'content' 1.21060.0016 1,409.664116.1641
Script end 1.2122  1,425.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2537160.0002
Check MTime0.00130.1105160.0001
Mysql Total
Database connection0.00070.055710.0007
Mysqli_queries1.148094.7045710.0162
Looping result0.00070.0554690.0000
Template Total1.183297.620.5916
Template load0.00190.154820.0009
Template processing1.181397.449020.5906
Template load and register function0.00020.019210.0002
states
state_id_array0.00130.110910.0013
state_identifier_array0.00120.095920.0006
Override
Cache load0.00160.1333340.0000
Sytem overhead
Fetch class attribute can translate value0.00100.078730.0003
Fetch class attribute name0.00100.0841100.0001
XML
Image XML parsing0.00190.158130.0006
class_abstraction
Instantiating content class attribute0.00000.0025140.0000
General
dbfile0.00120.1027270.0000
String conversion0.00000.000640.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
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs