User register problem in multilanguage website

Author Message

Golvier Jean

Monday 07 June 2004 9:29:38 am

Hi ezExperts,

I make a multilanguage site (french - default language and English).

When I register a user from my french site, everything works well. But If I try to register from english site, I get a fatal error :

Fatal error: eZ publish did not finish it's request

Debug information don't give more details so I analyze what's happen in the php files. I discover in the user/register.php file that the error is due to the line :

$operationResult = eZOperationHandler::execute( 'content', 'publish', array('object_id' => $object->attribute('id'), version' => $version->attribute('version') ) );

I verify the validity of parameters $object->attribute('id') and $version->attribute('version'). All seems to be OK and I can't understand why it works in one language and not in the other.

Do you have an idea ? I would like to continue bug tracking but don't know where to find eZOperationHandler ?

Thanks for help

Golvier Jean

Wednesday 09 June 2004 2:37:30 am

Nobody could help me ?

Paul Forsyth

Wednesday 09 June 2004 2:53:22 am

This might be due to an inherent problem with multi lingual objects. The first version of the object *has* to be in the default language. As a user is an object it must first be created in french.

This was discussed at the recent conference and should be addressed soon.

eZ crew, can you comment on this and whether my interpretation is correct?

paul

--
http://www.visionwt.com

Golvier Jean

Tuesday 22 June 2004 1:55:02 am

Thanks Paul,

you confirm what I suspect and it's a real problem for me so I have to find a solution.
Do you think that ezp last release take care of this problem ?

It seems that some developers didn't meet this problem, so I wonder if it would be the same if I change my setup to eng-GB as default language and French as second language.
What about that ?

Thanks,

Jean

Jorge estévez

Saturday 02 April 2005 1:33:59 am

Helo,

Is there any solution to this problem? I am now upgrading a site to have spanish (main language) and english information and the same problem occurs while login a new user...

Using:

Ez Version
3.4.0 (3.4.0)
SVN revision
6556

Thanks...

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

david e

Tuesday 12 April 2005 2:48:07 pm

I've got a site with english, catalan and spanish content (spanish main content lang).

it seems to work just fine. if a user registers in one of the additional languages (lets say english) it creates an esl-ES user with the eng-GB data and an eng-GB translation.

May be it has been solved.

Usign revision 11349 in 3.5 stable branch.

http://www.ingent.cat/

Sebastiaan van der Vliet

Wednesday 13 April 2005 12:53:51 am

Hi,

We are running two multi-lingual websites on the same installation, using eZ publish 3.4.2 (SVN 7264) and do not have a problem with user registration. It might be a bit far fetched, but could it have to do something with your role policies or previewcache on frontend? Are there any major differences in your settings files between both siteaccesses?

Kind regards,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Kåre Køhler Høvik

Tuesday 19 April 2005 8:38:06 am

We are currently in the process of improving the multilanguage support in eZ publish. Please read this : http://ez.no/community/developer/specs/improved_content_multilangue_support , and post your feedback as a comments there.

The new improvements should solve the problems some of you currently have, and enable more flexible multilanguage sites.

Kåre Høvik

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