Forums / Setup & design / Login error... weird

Login error... weird

Author Message

Lydie Soler

Monday 17 October 2005 9:43:23 am

Hi,

I am having a strange problem for a few days.... when I go to the /admin home page I get an error. I should have the login page but instead it tries to display the page after login (where you can see the menu content...) and it says that I don't have the rights and that I should log in.... which is right ... but I don't understand why now instead of displaying the login page alone, it tries to display the whole admin site...

Here are the rights for the anonymous user...

 Anonymous    	 user  	 login  	 SiteAccess( site_unite_metarisk )
Anonymous   	content 	read 	Section( Standard , Telechargement , Contacts , Media , Intranet , Membres , Actualite , Unite )

I suppose something must be wrong in the database... I try to delete what was in the ezsession table but no change...

it sould be redirected to the admin/user/login page but it doesn't

Please help! My users keep telling me this problem...

thanks a lot

Kristof Coomans

Tuesday 18 October 2005 4:22:01 am

Do you have this in the site.ini.append of your siteaccess:

[SiteAccessSettings]
RequireUserLogin=true

If not, that might be the problem.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Lydie Soler

Tuesday 18 October 2005 5:13:02 am

Thanks for your reply!
well I had RequireUserLogin=true in the siteaccess corresponding to my admin site. But I also check the site.ini in the override directory and there was RequireUserLogin=false so I just simply remove it and now it works!

I may have done this error while trying to configue the multi site.

Thanks again for your help!