Forums / Setup & design / Multilingual siteaccess keeps asking for LOGIN!!

Multilingual siteaccess keeps asking for LOGIN!!

Author Message

Aldo Bucchi

Tuesday 01 March 2005 10:38:20 am

Hi all,

I spent half a day reading and messing around until I could create separate site accesses (corporate, corporate_es, corporate_it) for my multilingual site.

However, there is still one problem:

When accessing the homepage through any alternative site access (coporate_es, corporate_it, etc) the <b>Anonymous role is forced to login!</b>

The hard-coded translations works fine, as the authorization error show in the corresponding language. Besides, after I login (as the administrator, for example), things work like a charm (I see my translated content as it should)

Note that I'm using the exact same site.ini.append.php (actually I'm copying the complete siteaccess folder) for each site access, changing only this lines:

[RegionalSettings]
Locale=esl-ES
ContentObjectLocale=esl-ES

I turned on Debug for the siteaccess and I can tell that the site access is being identified correctly, but there are problems with authentification:

Debug: not able to get access to siteaccess (kernel-siteaccess)

Is there any policy setting to adjust??
What am I overlooking here?
(should I translate the anonymous user to the secondary translations?... I don't think so)

Any help is grately appreciated.

Regards,
Aldo

Aldo Bucchi

Tuesday 01 March 2005 10:40:13 am

PD: I'm using ezp 3.5.1

Tony Wood

Tuesday 01 March 2005 10:49:31 am

Hi Aldo,

I am sure you have read it but juuust in case there is a good article here
http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site

Sounds like some of ther override/site.ini.append.php settings are not set, maybe AvailableSiteAccessList[]?

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Aldo Bucchi

Tuesday 01 March 2005 12:15:41 pm

tony,

I read the article.

Mmmmh, I have done pretty much everything I have found in this website.
Most posts I have found related to multilingual/siteaccess report refer to situations where nothing works (which was also my case some hours ago) ... or the translated content is not shown.
In my case I DO see the translated content... BUT I need to login.
I believe this sympthoms are quite specific... or aren't the?
Maybe someone from the ezcrew could enlighten me:

What could possibly be missing to end up with an anonymous role that has no permissions for content / view... Or maybe it's something else.

Anyway, I'll keep trying... as always

Thanks ;)

Aldo Bucchi

Tuesday 01 March 2005 12:25:31 pm

It would really help me if someone with a very simple and working multilingual installation (say, a fresh installation of the "plain" site) could share the following files:

settings/site.ini
settings/override/site.ini.append.php
settings/siteaccess/plain_lang1/site.ini.append.php
settings/siteaccess/plain_lang2/site.ini.append.php

That would be great!

Well... hope this someone exists ;)
Thanks!

Ɓukasz Serwatka

Tuesday 01 March 2005 12:32:04 pm

Hi Aldo,

Yes, this is probadly permission problem. You should try to edit policy for (User accounts->Roles and policies ) "Anonymous" and change SiteAccess( old_siteaccess ) to SiteAccess( coporate_es, corporate_it ).

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

Aldo Bucchi

Tuesday 01 March 2005 2:32:51 pm

Lukasz,

That's it!
It works now.

I wonder why no one mentioned before that siteaccess login policies should be modified by hand.

Thanks a lot.

eZ debug

Timing: Jan 31 2025 07:25:36
Script start
Timing: Jan 31 2025 07:25:36
Module start 'content'
Timing: Jan 31 2025 07:25:36
Module end 'content'
Timing: Jan 31 2025 07:25:37
Script end

Main resources:

Total runtime0.2461 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0781180.8125
Module start 'content' 0.00630.0057 768.8906102.0547
Module end 'content' 0.01200.2340 870.9453531.8750
Script end 0.2460  1,402.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.4078200.0002
Check MTime0.00150.5912200.0001
Mysql Total
Database connection0.00080.333310.0008
Mysqli_queries0.198680.68881410.0014
Looping result0.00130.53491390.0000
Template Total0.233795.010.2337
Template load0.00080.337610.0008
Template processing0.232994.627410.2329
Override
Cache load0.00060.247110.0006
Sytem overhead
Fetch class attribute can translate value0.00080.332810.0008
XML
Image XML parsing0.00020.077610.0002
General
dbfile0.00843.4009200.0004
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.0001 secs