Translation: many weird errors after translation

Author Message

Fredrik Ardmar

Friday 08 December 2006 12:09:07 am

Hi

Using a site with the default language swe-SE and additional language eng-GB. When developing this locally on Windows it all works fine. Both sites works fine and admin works fine. But when transfering to Linux a strange problem starts. When i chose to edit content in a second language i get a long list of errors:

<i>Timing: Dec 08 2006 09:01:59

Module start 'content'

Error: eZTSTranslator::loadTranslationFile Dec 08 2006 09:01:59

Could not load translation file: share/translations/swe-SE/translation.ts

Error: eZDebug::writeFile Dec 08 2006 09:01:59

Cannot open log file 'var/log/error.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/error.log' is disabled.

Error: Dec 08 2006 09:01:59

Could not open file 'var/site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/swe-SE/c289b3ed89e7dee8a3a352a77b308232.php' for writing, perhaps wrong permissions

Error: eZPHPCreator::store Dec 08 2006 09:01:59

Failed to open file 'var/site/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/swe-SE/c289b3ed89e7dee8a3a352a77b308232.php'

Warning: ezi18n Dec 08 2006 09:01:59

No translation for file(translation.ts) in context(lib/template): 'The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.' with comment()

Error: eZDebug::writeFile Dec 08 2006 09:01:59

Cannot open log file 'var/log/warning.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/warning.log' is disabled.

Error: eZINI Dec 08 2006 09:01:59

Undefined group: 'ExtensionSettings'

Error: eZINI Dec 08 2006 09:01:59

Undefined group: 'ExtensionSettings'

Error: Dec 08 2006 09:01:59

Could not open file 'var/site/cache/override/override_1064745113.php' for writing, perhaps wrong permissions

Error: eZPHPCreator::store Dec 08 2006 09:01:59

Failed to open file 'var/site/cache/override/override_1064745113.php'

Error: eZTemplateDesignResource::createOverrideCache Dec 08 2006 09:01:59

Could not write template override cache file, check permissions in var/site/cache/override/.
Running eZ publish without this cache will have a performance impact.

Error: eZINI Dec 08 2006 09:01:59

Undefined group: 'ExtensionSettings'
</i>

These seems weird to me since the language file in question is being used in the admininterface elsewhere and works just fine. Also on the actual swedish site it works.

Its also interesting to not that items that were translated on the windows machine can be updated on the linux. Just can not add new translations. Weird.

I have also checked the filesettings and they seem to be just fine. The cache is also being read at other places so seems odd that it should be that. I can for example see the english site in the browser and that uses the same cache i guess.

Anyone has any clues?

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

Ɓukasz Serwatka

Tuesday 12 December 2006 6:12:44 am

Hi Fredrik,

This looks like permission problem to eZ publish var directory. Web server needs write access to var, design, settings and for 3.9 also for extensions dir.

See this page for more information:
http://ez.no/doc/ez_publish/technical_manual/3_8/installation/manual_installation/manual_configuration_of_ez_publish

Check also if safe_mode is disabled where eZ publish is installed.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.