Thursday 01 September 2005 10:48:07 am
Hello, I have some difficulties to run a multilingual site.
I installed ezpublish site on linux 2.6.8-1-386 (debian) with celeron 2.66Mhz and 512 RAM
using the wizard and selected only french language as primary.
Config :
ezpublish 3.6.1
apache 1.3.33-6 (debian)
mysql 4.0.24-10 (debian) php 4.3.10-15 (debian)
I decide to add eng-US language on admin interface and make multilanguage site. I follow the instructions of post : 2 folders for each language I would like your advise about my conf files : settings/siteaccess/fr/site.ini.append.php
[SiteSettings]
SiteName=MySite
SiteURL=path/index.php/fr
LoginPage=embedded
[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false
[DesignSettings]
SiteDesign=fr-1.0
AdditionalSiteDesignList[]=base
[RegionalSettings]
Locale=fre-FR
HTTPLocale=fr
ContentObjectLocale=fre-FR
settings/siteaccess/us/site.ini.append.php
[SiteSettings]
SiteName=MySite
SiteURL=path/index.php/us
LoginPage=embedded
[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false
[DesignSettings]
SiteDesign=fr-1.0
AdditionalSiteDesignList[]=us-1.0
AdditionalSiteDesignList[]=base
[RegionalSettings]
Locale=eng-US
HTTPLocale=us
ContentObjectLocale=eng-US
settings/override/site.ini.append.php
[SiteSettings]
DefaultAccess=fr
SiteList[]
SiteList[]=fr
SiteList[]=us
[SiteAccessSettings]
CheckValidity=false
MatchOrder=uri
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
AvailableSiteAccessList[]
AvailableSiteAccessList[]=fr
AvailableSiteAccessList[]=us
AvailableSiteAccessList[]=cms
SiteAccessList[]
SiteAccessList[]=fr
SiteAccessList[]=us
SiteAccessList[]=cms
[RegionalSettings]
TextTranslation=enabled
TranslationCache=disabled
[ContentSettings]
TranslationList=fre-FR;eng-US
ViewCaching=disabled
After clean the cache, the process has very long. HTTPd daemon (apache) use all the RAM. At the end, when I try to edit an article, I have :
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in /var/virtual_www/path/htdocs/lib/ezi18n/classes/ezcharsetinfo.php on line 65 Fatal error: eZ publish did not finish its request I even tryed to put the memory limit to 1024 Mo, with same results. Thank you in avance for some help.
Stéphane
|