Forums / Install & configuration / 3.5.0rc2: Anonymous permanently gets 'Access denied'

3.5.0rc2: Anonymous permanently gets 'Access denied'

Author Message

Lukas Kolbe

Tuesday 14 December 2004 9:25:02 am

Hello!
I just started a new site using ezp 3.5.0rc2 (with help from the tutorial). However, the anonymous user doesnt has access to view the homepage nor any other sites (you can verify that at http://beaker.uni-muenster.de/~lukas/psjl/index.php.

I already tried giving the anonymous role read-access to every content-object, but still it requires me to login to view my content.

In every site.ini I came over I set RequireUserLogin to false, wich is also shown in the ini-editor from within ezp. Also I double-checked if the anonymous user id is 10, and some other things - I think it's a very small problem, but I unfortunatly just don't find it. Hints anyone?

Thanks in advance, Lukas

Egil Fujikawa Nes

Tuesday 14 December 2004 8:20:06 pm

Hi Lukas

One possible reason for this problem can be that your eZ publish installation use HostMap but you access the your site in a URI mode, if you do so you can get this access problem.

Another reason can be that you have been changing the name of you site in site.ini <i>AvailableSiteAccessList</i>. I got some same problem when I changed the name of my site in 3.5.0 RC2, when I was changing the name back everything was working normally. Personally I thought it was something I had done wrong and I was not reporting it as a bug, but maybe it is a bug in 3.5.0 RC2.

Hope this could help a bit.

Best regards

Egil Fujikawa Nes
Fujikawa Engenharia de Software Ltda

BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo
URL: http://www.buildcms.com

Lukas Kolbe

Wednesday 15 December 2004 5:25:07 am

Thank you for the suggestions. Unfortunatly, this doesn't solve my problem. The Site is named 'psjl', and was created with plain as a template (like in the howto), but renaming it to plain doesn't help. Also, as far as I remember, I set the access mode to uri, not to hostmap - but I also don't know where to check that.

The admin-interface (named psjl_admin) is working fine (congrats for the new interface!)
--
Lukas

Daniele P.

Wednesday 15 December 2004 6:27:01 am

May be related to the still open bug...
http://ez.no/community/bugs/access_denied_for_anonymous_user

Try to change the policy for user/login for your siteaccess.

Lukas Kolbe

Wednesday 15 December 2004 6:38:56 am

Thank you for that hint, know it works!

Here my comment to the bug:

Initially, the user:login-policy for role "anonymous" was set to "SiteAccess ( )". My site is called psjl, changing that policy to "SiteAccess ( psjl )" makes anonymous-users able to actually view the site.

eZ debug

Timing: Jan 18 2025 16:26:28
Script start
Timing: Jan 18 2025 16:26:28
Module start 'content'
Timing: Jan 18 2025 16:26:30
Module end 'content'
Timing: Jan 18 2025 16:26:30
Script end

Main resources:

Total runtime1.5030 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.9609180.8047
Module start 'content' 0.00761.2970 768.7656595.1953
Module end 'content' 1.30460.1983 1,363.9609337.3750
Script end 1.5029  1,701.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2753210.0002
Check MTime0.00160.1091210.0001
Mysql Total
Database connection0.00100.066510.0010
Mysqli_queries1.405493.50692020.0070
Looping result0.00240.15892000.0000
Template Total1.466597.620.7333
Template load0.00210.138720.0010
Template processing1.464497.432920.7322
Template load and register function0.00020.011410.0002
states
state_id_array0.00110.073510.0011
state_identifier_array0.00240.157820.0012
Override
Cache load0.00180.1169300.0001
Sytem overhead
Fetch class attribute can translate value0.00190.123240.0005
Fetch class attribute name0.00150.099960.0003
XML
Image XML parsing0.00130.086540.0003
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00370.2473270.0001
String conversion0.00000.000330.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs