Forums / Setup & design / Trouble with RemoveSiteAccessIfDefaultAcces in ezp 3.9.1

Trouble with RemoveSiteAccessIfDefaultAcces in ezp 3.9.1

Author Message

Pascal France

Friday 27 April 2007 9:16:35 am

Hi,

In order to hide the default siteaccess name I use the RemoveSiteAccessIfDefaultAccess parameter in override/site.ini.append.php:

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=siteaccess
AvailableSiteAccessList[]=siteaccess_admin
MatchOrder=uri
HostMatchMapItems[]
RemoveSiteAccessIfDefaultAccess=enabled

This works fine with a eZp 3.8.6 site but in a 3.9.1 site I get many:

Notice: Undefined property: AccessPath in /home/luxpopul/public_html/lib/ezutils/classes/ezsys.php on line 601

and many:

Warning: PHP  	Apr 27 2007 18:20:07
Undefined property:  AccessPath in /home/luxpopul/public_html/lib/ezutils/classes/ezsys.php on line 601

in de debug output on the public site.

However, the pages are well displayed and there is no more siteaccess name in the URI.

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Björn Dieding@xrow.de

Friday 27 April 2007 10:51:19 am

it is a bug that has been fixed today

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Pascal France

Friday 27 April 2007 10:55:22 am

Very good ;-)

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Friday 27 April 2007 11:05:12 am

Hi Björn,

Could you explain me where I can download the fixed file ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Guillaume Kulakowski

Friday 28 December 2007 3:28:05 am

I have an another problem with this option.

My URL is :

http://www.exemple.com/index.php/siteaccess/my_path

With URL rewriting and <i>ForceVirtualHost=true</i>, I have :

http://www.exemple.com/siteaccess/my_path

By adding <i>RemoveSiteAccessIfDefaultAccess=enabled</i> :

http://www.exemple.com//my_path

I haven't my siteaccess in my URL but I have a <b>//</b>...

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Pascal France

Saturday 29 December 2007 10:43:34 am

Hi Guillaume,

I'm very interested by the solution of your problem because I noticed the display of these two // while configuring SSL (see this post: http://ez.no/developer/forum/setup_design/trouble_with_ssl_login_redirection_uri).

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Guillaume Kulakowski

Tuesday 19 February 2008 2:33:28 am

apparently, it's a bug :
"#012520: Url Translator not working with RemoveSiteAccessIfDefaultAccess enabled" : http://issues.ez.no/IssueView.php?Id=12520&

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Francesco Trucchia

Monday 12 May 2008 9:15:59 am

I patch the ezsys class and now url translator works fine.
See http://issues.ez.no/IssueView.php?Id=12520&ProjectId=3&Anchor=Comment256664

--
Francesco Trucchia
CTO

ft@ideato.it
Skype: trucchia

ideato srl - web ideas for sale
http://www.ideato.it