JoomFish / joomfish-2.5

Joom!Fish 2.5 core development
http://www.joomfish.net/
34 stars 27 forks source link

Language array issues #132

Closed seancarew closed 11 years ago

seancarew commented 11 years ago

I started with a clean J2.5.8 site and installed the latest build from yesterday.

I installed languages.

They show in joomfish/content languages...I then tried to activate the languages and save.

I got the language array error...but a top few languages were now indicated as active.

I attempted to activate more languages...could not do so...same error. Joom-Fish--Control-Panel Joom-Fish--Joom-Fish-Language-Manager

akempkens commented 11 years ago

Can you sent me a backup of your site? I looks like a quite complex one and good test environment.

Alex

Am 23.01.2013 um 07:10 schrieb Sean Carew notifications@github.com:

I started with a clean J2.5.8 site and installed the latest build from yesterday.

I installed languages.

They show in joomfish/content languages...I then tried to activate the languages and save.

I got the language array error...but a top few languages were now indicated as active.

I attempted to activate more languages...could not do so...same error.

— Reply to this email directly or view it on GitHub.

seancarew commented 11 years ago

Sure - no problem. I will send you an installer which has sample content...you can re-create my base site...please send me an email address

klas commented 11 years ago

I went for bug hunting (using trial&error method as nothing else worked )on sandbox site that you sent me -> issue is caused by multiple english languages you have installed. Unfortunately Joomfish won't work with multiple languages with the same iso short code, it works on presumption each language is represented only once.

To resolve this you will need to uninstall duplicate english language and truncate #_jf_languages_ext table

akempkens commented 11 years ago

Klas do you think we should implement a save check to avoid this happening?

seancarew commented 11 years ago

That would be a good idea. I am still not sure what I did to cause the error...perhaps a safety net.

akempkens commented 11 years ago

I tested about 5 existing and non existing languages now. The issue should not occur anymore

seancarew commented 11 years ago

Thanks very much Alex - sent via Hojoki