Forums / Install & configuration / Cannot enable access without login to my site

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Cannot enable access without login to my site

Author Message

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 :

Debug: eZMySQLDB::query(0.000 ms) query number per page:0 Mar 08 2011 10:25:39
SET NAMES 'utf8'
Timing: Mar 08 2011 10:25:39
Module start 'content'
Error: error/view.php Mar 08 2011 10:25:39
Error ocurred using URI: /Exponential/index.php/
Notice: Mar 08 2011 10:25:39
eZTemplate: Loading template "user/login.tpl" with resource "design"
Warning: Insufficient permissions Mar 08 2011 10:25:39
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

Yves Benigot

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 :

Anonymous   content read Section( Standard )
Anonymous   content pdf Section( Standard )
Anonymous   rss feed Pas de limitations
Anonymous   user login SiteAccess( ezwebin_site_clean )
Anonymous   content read Class( Flash , Image , Quicktime , Windows media , Real video , Banner ) , Section( Media )
Anonymous   content read Pas de limitations

Then I add :

user login Pas de limitations

and it works

although I suspect this is not the optimal solution

Frédéric DAVID

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

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

Yves Benigot

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