Forums / Install & configuration / Cannot enable access without login to my site
Yves Benigot
Tuesday 08 March 2011 2:57:28 am
Exponential 4.4 on mysql/apache CentOS
new to Exponential
login is required on home page for siteaccess fre : every access to the home page will require login for accessing the site. I would like to have anonymous access instead.
I checked that RequiredLogin=false after reading posts on the forums
I checked that the anonymous groupe has read content access to "Standard"
I did set up the debug options and I get an interesting trace :
SET NAMES 'utf8'
Module start 'content'
Error ocurred using URI: /Exponential/index.php/
eZTemplate: Loading template "user/login.tpl" with resource "design"
Function required: Module : content Function : read ClassID : 23 MainNodeID : 2 Policies that didn't match: PolicyID : p_328 Limitation : Section Required : 1 PolicyID : p_334 Limitation : Class Required : 29, 30, 32, 33, 34, 42
Any idea ?
Frédéric DAVID
Tuesday 08 March 2011 3:14:02 am
If you want Anonymous User read your content, you have two policies in your Anonymous Role :
- Anonymous User can login in your fre siteaccess
- Anonymous User can read your content ( Node 2 )
Blog : http://www.frefred.fr/blog/ez-publish feZ Meta Data : http://projects.ez.no/fezmetadata
Tuesday 08 March 2011 7:38:01 am
Solved, at least partially :
I deleted the user login in Policy of user anonymous, although I previously thought that the presence of user login enables anonymous access.
This time the warnings disappear, but the login is still required
My current policy is :
Then I add :
and it works
although I suspect this is not the optimal solution
Tuesday 08 March 2011 8:37:56 am
Just a little confirmation
when you go on your website, are you sure about your default site ( siteaccess : ezwebin_site_clean ).
To find what siteaccess is taken, you can change siteaccess permission( try each siteaccess ).
If I can see your section SiteAccessSettings
Wednesday 09 March 2011 7:46:19 am
I went to the directory : settings/override to determine the default siteaccess because I didn't find the way to alter the siteaccess rights in the admin section of the eZ 4.4 GUI.
Also at install I imported the corporate template.
I get :
[SiteSettings]
DefaultAccess=fre
SiteList[]=ezwebin_site_clean
SiteList[]=fre
SiteList[]=ezwebin_site_clean_admin
RootNodeDepth=1
SiteName=Ginerativ
MetaDataArray[author]=eZ Systems
MetaDataArray[copyright]=eZ Systems
MetaDataArray[description]=Content ManagementSystem
MetaDataArray[keywords]=cms, publish, e-commerce, content management, development frameworkSiteURL=notus.ginerativ.fr/Exponential/index.php