Monday 30 October 2006 2:13:02 pm
Hi Claudia, I have the same access problem with a multi-sites but this time I can't solve it :-(
I have three sites and each one has its own database. Each site.ini.append.php has these two sections: Site 1
[SiteSettings]
SiteName=Site 1
SiteURL=xxxxx.fr/index.php/allobroges
MetaDataArray[author]=assoc AT linuxorable.fr - http://www.linuxorable.net/ez_publish/
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Site 1
MetaDataArray[keywords]=xx,xxx,xxx,xxx,xxx,xxx
DefaultAccess=allobroges
LoginPage=embedded
SiteList[]=allobroges
[SiteAccessSettings]
CheckValidity=false
RequireUserLogin=flase
ShowHiddenNodes=false
RelatedSiteAccessList[]=allobroges
RelatedSiteAccessList[]=allobroges_admin
Site 2
SiteSettings]
SiteName=Site2
SiteURL=xxxxx.fr/index.php/mpt
MetaDataArray[author]=assoc AT linuxorable.fr - http://www.linuxorable.net/ez_publish/
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Site 2
MetaDataArray[keywords]=xx,xxx,xxx,xxx,xxx,xxx
DefaultAccess=mpt
LoginPage=embedded
SiteList[]=mpt
[SiteAccessSettings]
RequireUserLogin=flase
ShowHiddenNodes=false
RelatedSiteAccessList[]=mpt
RelatedSiteAccessList[]=mpt_admin
Site 3
[SiteSettings]
SiteName=Site 3
SiteURL=xxxxx.fr/index.php/accueil
MetaDataArray[author]=assoc AT linuxorable.fr http://www.linuxorable.fr/ez_publish
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Site 3
MetaDataArray[keywords]=xx,xxx,xxx,xxx,xxx,xxx
DefaultAccess=accueil
LoginPage=embedded
SiteList[]=accueil
[SiteAccessSettings]
CheckValidity=false
RequireUserLogin=flase
ShowHiddenNodes=false
RelatedSiteAccessList[]=accueil
RelatedSiteAccessList[]=accueil_admin
Site 1 and Site 2 can be accessed with:
http://www.xxxx.fr/mpt http://www.xxxx.fr/allobroges but Site 3 can only be accessed with: http://www.xxxx.fr/index.php/accueil And like with my previous problem above, if I use http://www.xxxx.fr/ I get:
kernel::50
* No database connection could be made, the system might not behave properly.
I followed your advice and I put {$access_type.name} in pagelayout and I get: accueil which is well the name of my siteaccess. I don't have an override/site.ini.append.php file and site.ini contains:
[SiteSettings]
SiteList[]
....
....
....
[SiteAccessSettings]
AvailableSiteAccessList[]=accueil
AvailableSiteAccessList[]=accueil_admin
AvailableSiteAccessList[]=allobroges
AvailableSiteAccessList[]=allobroges_admin
AvailableSiteAccessList[]=mpt
AvailableSiteAccessList[]=mpt_admin
....
....
....
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
|