Anonymous user access denied

Author Message

j jevack

Wednesday 26 October 2005 4:54:32 am

I'm new to ez publish and setting up my first site with 3.7 I'm having trouble getting anonymous access to the site. I've gone thru the tutorial (TSCM sample site)for setting up a site and read many entries in the forum with the same problem. None of the solutions posted work for my situation.

I have only one folder object and one article object in my site. They are in the 'Standard' section.

The anonymous user is in the Anonymous Users role. That role has the following polices:

1. module>>content; function>>read; limitation>>Section(standard)

2. module>>user; function>>login; limitation>>SiteAccess(mysite)

I have the RequireUserLogin=false set in my site.ini.append.php in settings/siteaccess/mysite

but still, the access denied screen is presented when the site is loaded. What am I missing?

Thank you,

Jason

j jevack

Wednesday 26 October 2005 6:16:52 am

I've been reviewing the debug output and I have found the problem, although I don't know the solution. My debug data reports:

1. User not found, returning anonymous
2. anonymous user not found, returning NoUser

I believe this would explain why the policy for anonymous does not seem to work. Can anyone suggest how I can get the anonymous user to be recognized by the system?

Thanks,

Jason

j jevack

Wednesday 26 October 2005 7:34:46 am

I found the solution on the forums.

http://ez.no/community/forum/inst...mous_user_not_found_returning_nouser

Natalia Lillo

Wednesday 02 November 2005 2:04:05 pm

Hi j jevack,

I have the same problem...
I want to see your solution but your link don't work. Please, could you check in your link..

Thanks.
Natalia

Ekkehard Dörre

Thursday 03 November 2005 12:40:08 am

Hi, here in plain text:

http://ez.no/community/forum/install_configuration/error_anonymous_user_not_found_returning_nouser

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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

Main resources:

Total runtime0.0175 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.1563152.6250
Module start 'layout' 0.00590.0026 741.781339.4453
Module start 'content' 0.00850.0067 781.226693.4453
Module end 'content' 0.01530.0022 874.671934.3047
Script end 0.0175  908.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.4717140.0002
Check MTime0.00126.7561140.0001
Mysql Total
Database connection0.00084.777610.0008
Mysqli_queries0.002212.739330.0007
Looping result0.00000.085710.0000
Template Total0.001810.110.0018
Template load0.00095.404910.0009
Template processing0.00084.679610.0008
Override
Cache load0.00063.641410.0006
General
dbfile0.00147.779480.0002
String conversion0.00000.040840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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