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.