Forums / Setup & design / multilanguage site : cache is not clear after publishing
laurent le cadet
Wednesday 21 May 2008 6:14:52 am
Hi,
I have a multilanguage site.Only object in the default language have a regular behavior (cache is content view cache is clear after publishing).
In the other languages, modification are just visible in back office.
Probably a setting I can't find...
Any hint.
Best regards.
Laurent
André R.
Wednesday 21 May 2008 6:34:44 am
Siteaccess missing from RelatedSiteAccessList (site.ini) list ?
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Wednesday 21 May 2008 6:47:07 am
André,
I have this section for seach site access in each site.ini:
[SiteAccessSettings] RequireUserLogin=false RelatedSiteAccessList[]=fr RelatedSiteAccessList[]=en RelatedSiteAccessList[]=de RelatedSiteAccessList[]=cn RelatedSiteAccessList[]=fr_admin ShowHiddenNodes=false
Thursday 22 May 2008 5:54:52 am
Sorry to be back again, but even if it seems to be an ini trivial issue, I can't find the solution :((I must clear the content cache to print out contents modifications in foreign language (front office).
I need assistance.
Gurudutt Verma
Friday 23 May 2008 12:34:56 am
Hi Laurent,
Check your custom templates "{cache-block........}"
if this is okey then I propose to setup new multi language site from setup wizard on your local computer and then match the settings. from siteaccess.
Friday 23 May 2008 2:49:44 am
Hi Gurudutt,
{cache-block} was the first think I checked but they are ok.
Maybe the problem comes from a new language I added with setup/language.
The site was out for few minutes (fatal error) ans then it started again.
I didn't saw this "cache" problem at this moment but now I have a serious doubt that the new behaviour comes from that crash.
Everything was ok before and I didn't change any settings :
(i.e. english siteaccess)
[SiteAccessSettings] RequireUserLogin=false RelatedSiteAccessList[]=fr RelatedSiteAccessList[]=en RelatedSiteAccessList[]=de RelatedSiteAccessList[]=cn RelatedSiteAccessList[]=fr_admin ShowHiddenNodes=false [RegionalSettings] Locale=eng-GB ContentObjectLocale=eng-GB SiteLanguageList[]=eng-GB SiteLanguageList[]=eng-US SiteLanguageList[]=fre-FR SiteLanguageList[]=ger-DE SiteLanguageList[]=chi-CN TextTranslation=enabled
Friday 23 May 2008 3:51:26 am
You mean site was broken/you got some error after adding new language.
Have you checked error log at that moment.
Friday 23 May 2008 6:47:22 am
Yes it was broken, but unfortunatly, I didn't checked error logs.
I stuck at this point
Thursday 19 June 2008 7:55:02 am
I'm back again with this language troubles.I have created 2 new site acces for italian and spanish so now there is fr, en, de, cn, it and es.
With the 2 site access it and es contents have been translated and viewable in backoffice but are print in french in frontoffice.
I'm checking and checking .ini files but can't find a solution.There is no error in the log file.
Someone has an idea?
Any help will be very welcome.
Thursday 19 June 2008 10:06:21 am
deeper in the sql debug output it appears that the proper language is not match.
Code for the italian page with french language_code
SELECT ezcontentobject_attribute.*, ezcontentclass_attribute.identifier as identifier FROM ezcontentobject_attribute, ezcontentclass_attribute WHERE ezcontentclass_attribute.version = '0' AND ezcontentclass_attribute.id = ezcontentobject_attribute.contentclassattribute_id AND ( ( ezcontentobject_attribute.version = '33' AND ezcontentobject_attribute.contentobject_id = '70' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '13' AND ezcontentobject_attribute.contentobject_id = '81' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '13' AND ezcontentobject_attribute.contentobject_id = '237' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '12' AND ezcontentobject_attribute.contentobject_id = '281' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '29' AND ezcontentobject_attribute.contentobject_id = '250' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '9' AND ezcontentobject_attribute.contentobject_id = '336' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '16' AND ezcontentobject_attribute.contentobject_id = '337' AND ezcontentobject_attribute.language_code = 'fre-FR' ) ) ORDER BY ezcontentobject_attribute.contentobject_id, ezcontentclass_attribute.placement ASC