Anonymous users : Error kernel (1) - I really need some help.

Author Message

laurent le cadet

Monday 20 September 2004 2:10:07 am

Hi,

The site is using 3.3-4.
From one day to another (without making any change in the site configuration or whatever) the anonymous users can't see the contents anymore : Error Kernel 1.

I tryed to login with the admin ID + pass and everything is ok.
I checked the site.ini.append :

[SiteAccessSettings]
RequireUserLogin=false

It seems to be ok too.

I turned on the debugoutput and it returned me that :

Warning:
User not found, returning anonymous

I have created an anonymous role and user so I don't undersatnd.

Any help will be welcome.

Regards.

Laurent.

Hans Melis

Tuesday 21 September 2004 8:46:41 am

Hi Laurent,

A default eZ publish installation already comes with an "anonymous user" and a role for them. You only need to change the anonymous role if you want to add some things.

If you do create your own anonymous user (for whatever reason), you have to change a setting in site.ini, namely "AnonymousUserID" in the "UserSettings" block. Even then, some files might have the hardcoded ID 10 (which is the contentobject ID of the default anonymous user). I believe the hardcoded ID's have been changed into an ini call in 3.4.

Hans
http://blog.hansmelis.be

laurent le cadet

Tuesday 21 September 2004 9:22:51 am

Hi Hans,

I use about 10 different ez site and I never changed the Anonymous User (no need).
Normaly nobody but me can access to the setup tab in admin.
I don't know exactly what happend but effectively I had to recreate an anonymous user.
This site is using ezP 3.3-4
So I just add :

[UserSettings]
AnonymousUserID=332

in the site.ini and it works again.

Your help is very precious.

Thanks a lot.

Laurent.

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

Main resources:

Total runtime0.6916 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.3984152.6563
Module start 'layout' 0.00480.0020 742.054739.5078
Module start 'content' 0.00670.6834 781.5625544.7969
Module end 'content' 0.69020.0013 1,326.359412.0938
Script end 0.6915  1,338.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.4031160.0002
Check MTime0.00120.1682160.0001
Mysql Total
Database connection0.00100.137510.0010
Mysqli_queries0.638592.3235570.0112
Looping result0.00050.0668550.0000
Template Total0.666596.420.3333
Template load0.00180.253220.0009
Template processing0.664896.125720.3324
Template load and register function0.00010.014910.0001
states
state_id_array0.00120.176110.0012
state_identifier_array0.00090.127120.0004
Override
Cache load0.00150.2194380.0000
Sytem overhead
Fetch class attribute can translate value0.00060.081320.0003
Fetch class attribute name0.00090.128650.0002
XML
Image XML parsing0.00110.155520.0005
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00090.1231210.0000
String conversion0.00000.001040.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs