I am a long time user of gallery, and am very interested in using and perhaps helping with the develpment of G2.
I have tried a few installs of the cvs snapshots, and was wondering, which might be the best as of now to get it to install, and start playing with the Ui? anyhelp would be greatly appreciated. I tried the 28th version of G2 and i get
Warning: Wrong parameter count for setlocale() in /var/www/html/gallery2/modules/core/classes/GalleryTranslator.class on line 156
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/gallery2/modules/core/classes/GalleryTranslator.class:156) in /var/www/html/gallery2/main.php on line 139
Draco
Posts: 70
Of course i didn't try the 27th before posting that and of course th 27th installed perfectly, off to test and play with
Posts: 8194
If you're going to submit patches or help development, you should probably download a copy directly from CVS, so you can 'cvs update' things, etc.. It'll make it a whole lot easier...
Posts: 29
From PHP help:
Passing multiple locales is not available before PHP 4.3
So I think your PHP is not up to date (I'm running 4.2.x myself, and have run into the same problem).
A way around this is changing line 156 to:
setlocale(LC_ALL, "${language}_${country}");
Posts: 70
the first error on the head
php-4.2.2-8.0.7.i386.rpm, and your fix seems to be working, although, i commented that entire line out and it seemed to have the same affect.
Now on to pounder how to fix the next issue, while looking for a 4.3 php for rh 8.0
Posts: 7994
Oops, I forgot that the locale fallback parameter was not in PHP before 4.3.0. I've removed it from the code so you shouldn't have to modify it by hand any more.