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.

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