Forums / Install & configuration / Translation: many weird errors after translation

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

eZ debug

Timing: Jan 30 2025 21:38:31
Script start
Timing: Jan 30 2025 21:38:31
Module start 'content'
Timing: Jan 30 2025 21:38:31
Module end 'content'
Timing: Jan 30 2025 21:38:32
Script end

Main resources:

Total runtime0.3591 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0096 588.1797370.2656
Module start 'content' 0.00960.0152 958.44531,005.6250
Module end 'content' 0.02480.3342 1,964.07033,901.0391
Script end 0.3590  5,865.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00491.3775200.0002
Check MTime0.00140.4019200.0001
Mysql Total
Database connection0.00060.163710.0006
Mysqli_queries0.261072.68521410.0019
Looping result0.00160.44331390.0000
Template Total0.333792.910.3337
Template load0.00110.292910.0011
Template processing0.332692.633710.3326
Override
Cache load0.00070.191310.0007
Sytem overhead
Fetch class attribute can translate value0.00200.557810.0020
XML
Image XML parsing0.00030.096610.0003
General
dbfile0.00190.5205200.0001
String conversion0.00000.002130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs