Forums / Install & configuration / Configuration error or bug?

Configuration error or bug?

Author Message

Thomas Nunninger

Wednesday 01 June 2005 9:07:01 pm

Hi,

as I do not know if I perhaps made an error while configuring my siteaccess I first ask here. (But I consider it is a bug.)

I installed a plain setup. The admin interface has locale eng-GB, the users' siteaccess is changed to ger-DE.

If a user registers him-/herself in the users' siteaccess the user is not editable in the admin interface because no data is shown - even no input fields. It's even not possible to add an english translation when editing the user (I don't know if this would be sensefull).

I think it is because the user object is created with the German locale (the error does not appear if the locale of the plain siteaccess is not changed).

Here the changes in /settings/siteaccess/plain/site.ini.append.php:

...
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
TextTranslation=enabled
...
[ContentSettings]
TranslationList=eng-Gb;ger-DE
...

And here the /settings/siteaccess/plain_admin/site.ini.append.php

...
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=disabled
...
[ContentSettings]
CachedViewPreferences[full]=admin_navigation_content=0;admin...
TranslationList=fre-FR;ger-DE
...

Any idea?

Thank you and have a nice day

Thomas

P.S.: Have a nice Camp.

Ɓukasz Serwatka

Monday 06 June 2005 4:22:21 am

Hi Thomas,

This is configuration error. The user page must be the same content-locale as the admin page if both are going to modify/create objects.

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

Thomas Nunninger

Monday 06 June 2005 6:36:13 am

Hm,

that's not nice. This means that I have problems with all multi-language sites define by different siteaccesses (like all the documentation pages say) when users register thereself :(

Does this only affect modifying an object created in another language? Reading is allways ok?

Any idea for a workaround? E.g. after/before(?) publish workflow which "translates" the object to the other needed languages?)

Will the announced language improvements in 3.7 help with this?

Thank you and have a nice day

Thomas

Jan Borsodi

Wednesday 08 June 2005 12:36:13 am

> Does this only affect modifying an object created in
> another language? Reading is allways ok?

Yes, it only affects modifying the object. Reading works.

> Any idea for a workaround?
I don't think there is an easy way to work around this problem.

> Will the announced language improvements in 3.7
> help with this?

This is going to solved with improved multi-language support, see this spec:
http://ez.no/community/developer/specs/improved_content_multilangue_support

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

eZ debug

Timing: Jan 18 2025 04:23:39
Script start
Timing: Jan 18 2025 04:23:39
Module start 'content'
Timing: Jan 18 2025 04:23:40
Module end 'content'
Timing: Jan 18 2025 04:23:40
Script end

Main resources:

Total runtime0.9719 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.2422180.8281
Module start 'content' 0.00710.8357 770.0703609.8516
Module end 'content' 0.84280.1290 1,379.9219337.3984
Script end 0.9719  1,717.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4645210.0002
Check MTime0.00170.1714210.0001
Mysql Total
Database connection0.00100.106310.0010
Mysqli_queries0.885391.08901990.0044
Looping result0.00200.20181970.0000
Template Total0.934496.120.4672
Template load0.00220.228220.0011
Template processing0.932295.910920.4661
Template load and register function0.00010.010510.0001
states
state_id_array0.00110.116810.0011
state_identifier_array0.00070.067620.0003
Override
Cache load0.00190.1962410.0000
Sytem overhead
Fetch class attribute can translate value0.00130.137640.0003
Fetch class attribute name0.00130.133070.0002
XML
Image XML parsing0.00220.228440.0006
class_abstraction
Instantiating content class attribute0.00000.001480.0000
General
dbfile0.00310.3221420.0001
String conversion0.00000.000730.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs