2.2.5 Upgrade Problem: Embedding 'Active Language'

Bimble

Joined: 2007-12-17
Posts: 34
Posted: Mon, 2008-08-25 14:40

I have one problem since upgrading to 2.2.5. I use the multiroot to point alternative domains to different languages versions.

However, in 2.2.5 the command 'activeLanguage' attribite seems to be being ignored in the multiroot alternative index.php:

$ret = GalleryEmbed::init(
array('embedUri' => 'http://www.alternativeurl.com/',
'g2Uri' => 'http://www.baseurl.com/',
'activeLanguage' => 'es',
'apiVersion' => array(1, 2)
));

Check browser preference is NOT selected

I have another site using an older G2 version on the same server, using this same technique with no problems...

Any ideas this?

Gallery version = 2.2.5 core 1.2.0.7
PHP version = 4.3.9 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Database = mysqlt 4.1.20, lock.system=flock
Toolkits = LinkItemToolkit, NetPBM, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux 2.6.9-023stab046.2-enterprise #1 SMP Mon Dec 10 15:22:33 MSK 2007 i686
Default theme = secretohome
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; MRA 5.0 (build 02067); SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322)
Rows in GalleryAccessMap table = 11
Rows in GalleryAccessSubscriberMap table = 259
Rows in GalleryUser table = 3
Rows in GalleryItem table = 194
Rows in GalleryAlbumItem table = 47
Rows in GalleryCacheMap table = 0