Multilingual setup

Author Message

Robin Muilwijk

Friday 15 December 2006 1:28:25 am

Hi,

I'm totally new on eZ publish. I'm kinda evaluating the CMS, see if I can use it for personal site and other projects.

What I'm interested in is using at as a multilingual site. I have read http://ez.no/ezpublish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site and treid setting up an English/Dutch site.

However, when calling such a site like http://localhost/ezpublish/index.php/en (or nl) i'm getting a kernell 50 error, unable to connect to database.

What am I doing wrong?

Another related question; how do you create a language selection on the top right of your frontpage such as the ez.no site has? I saw the code in the comments of that article linked above, but I have no idea where to put that.

Thanks and regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Claudia Kosny

Friday 15 December 2006 1:38:05 am

Hi Robin

This article contains more info about multilingual setup (especially the language switcher section at the end).
http://ez.no/community/articles/new_features_in_ez_publish_3_8/translating_and_displaying_multi_lingual_content

The problem with the database error is most likely that the site.ini of your siteaccesses en and nl do not contain any database settings. Check the site.ini of the siteaccess that was created during installation, there should be a block [databasesettings] there. Either copy this block into the site.ini of each siteaccess or put it in the site.ini of the override folder.

If you still have problems, post again, but then also please post the site.ini of e.g your 'en' siteaccess (don't forget to remove any passwords).

Greetings from Luxembourg

Claudia

Robin Muilwijk

Friday 15 December 2006 1:49:27 am

Thanks for the quick reply Claudia. Going to check those steps from the article and see if I can get it to work.

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Robin Muilwijk

Friday 15 December 2006 2:38:11 am

Hi,

I keep getting access denied on the "nl" site, "en" works okay. How can that be? What kind of info or setting file do you need to see the problem?

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Claudia Kosny

Friday 15 December 2006 2:52:33 am

Hi Robin

did you give the anonymous user permission to access the siteaccess nl?

Claudia

Robin Muilwijk

Friday 15 December 2006 2:59:52 am

Yep, even set it to Any, so no limitations. Still getting access denied. There is nothing else that I need to check?

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Claudia Kosny

Friday 15 December 2006 3:47:12 am

Hi Robin

Hmm, check whether you have a setting RequireUserLogin in the block [siteaccesssettings] of the site.ini of the 'nl' access. Make sure you have cleared all the cache and then try again.

Theoretically the [rolesettings] in the site.ini could also cause this problem, but these settings should be fine unless you changed them (usually this block is only in the general site.ini in the settings folder, don't change anything there).

BTW: If you EZ 3.9 I can't help you - I haven't looked at it yet so I don't know what settings there are in this version.

Claudia

Robin Muilwijk

Friday 15 December 2006 4:38:53 am

Hi,

RequireUserLogin was there, but set to false. Removing it, removes the Denied Access error, but now the hompage does not show the folder description which is showing in the english version. Does that mean my translation of that folder is incorrect?

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Robin Muilwijk

Friday 15 December 2006 4:50:50 am

I keep seeing the user login in the content area. No idea whats causing it...

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

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

eZ debug

Timing: Jan 18 2025 20:55:05
Script start
Timing: Jan 18 2025 20:55:05
Module start 'layout'
Timing: Jan 18 2025 20:55:05
Module start 'content'
Timing: Jan 18 2025 20:55:06
Module end 'content'
Timing: Jan 18 2025 20:55:06
Script end

Main resources:

Total runtime0.9346 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.8906152.6094
Module start 'layout' 0.00650.0023 740.500039.4141
Module start 'content' 0.00880.9240 779.9141607.7578
Module end 'content' 0.93280.0017 1,387.671924.1875
Script end 0.9346  1,411.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3260160.0002
Check MTime0.00130.1401160.0001
Mysql Total
Database connection0.00140.146510.0014
Mysqli_queries0.857391.7317750.0114
Looping result0.00070.0794730.0000
Template Total0.898296.120.4491
Template load0.00200.209720.0010
Template processing0.896295.895820.4481
Template load and register function0.00020.019410.0002
states
state_id_array0.00140.150010.0014
state_identifier_array0.00100.110520.0005
Override
Cache load0.00170.1857460.0000
Sytem overhead
Fetch class attribute can translate value0.00050.055120.0003
Fetch class attribute name0.00420.4482100.0004
XML
Image XML parsing0.00270.289020.0014
class_abstraction
Instantiating content class attribute0.00000.0041150.0000
General
dbfile0.00480.5153180.0003
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs