Hi all,
I've just installed the gallery to my website and now I am wondering if there maybe is a dutch version of the gallery available? Or, if there is a patch that will give the gallery the dutch language. If so, where to find it and how to install it?
Thanks a lot (and I really mean a lot!)
Boneless
Posts: 27300
boneless,
Language packs are a seperate download:
http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=96735&release_id=216601
and its own thread:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=8207
Dave
Posts: 32
Thanks, but how to install them? I dont see any words about that in the forum.
Thnx!
Posts: 27300
Download the pack.
Extract the tar file to the locale directory
So in the locale directory you will have:
en_US (if you have this pack)
en_UK (if you have this pack)
nl_NL (your new pack)
Under the nl_NL directory you will have the .po files and flagimage directory etc.
re-run the config wizard.
On page #2 you will have settings to change for "Languages and locales"
select the languages you want (default) and if you want a pull-down for the language or flags etc and time settings etc.
Save and re-secure your setup directory and .htaccess and config.php files
I looked for directions as well and am surprised not to find them. :roll:
Dave
Posts: 32
Posts: 27300
When you upgrade you will not loose any settings.
http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.upgrade.php
Just make a copy of your albums directory.
Also make sure that your ftp client overwrites ALL files. So chmod your setup directory so that it will have the contents overwritten.
Dave
Posts: 32
Just make a copy of your albums directory.
Also make sure that your ftp client overwrites ALL files. So chmod your setup directory so that it will have the contents overwritten.
Dave
Tried it, still didnt get it to work.
I now will delete the complete installation and start all over again. Hopefully it will work after that.
Thanks for helping out so far!
Boneless
Posts: 32
I now will delete the complete installation and start all over again. Hopefully it will work after that.
Boneless
So I did, I deleted everything, reinstalled the galley, updated it taking every step you said and as explained on the gallery.menalto.com site. After that, I ran the configuration wizard. It all went well, I changed the attribs again to secure mode and then I clicked on go to the gallery.
This is what I get, please, please help!!! :
Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/virtual/site115/fst/var/www/html/foto-album/lib/lang.php on line 307
Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site115/fst/var/www/html/foto-album/lib/lang.php on line 309
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site115/fst/var/www/html/foto-album/lib/lang.php:307) in /home/virtual/site115/fst/var/www/html/foto-album/lib/lang.php on line 319
Upgrading Users
The user database in your gallery was created with an older version of the software and is out of date. Dit is geen probleem! We will upgrade it. This may take some time. Your data will not be harmed in any way by this process. Rest assured, that if this process takes a long time now, it's going to make your gallery run more efficiently in the future.
If you get an error, and only some users are upgraded, try refreshing the page to upgrade remaining users.
Een moment geduld...
Checking user 1 of 5 . . . .
Warning: rename(/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084296695:102522264,/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084296695_102522264): Toegang geweigerd in /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php on line 75
Warning: rename(/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084296695:102522264.lock,/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084296695_102522264.lock): Toegang geweigerd in /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php on line 75
Warning: fopen(/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084296695_102522264.lock): failed to open stream: Toegang geweigerd in /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php on line 55
Fout Kon bestand niet openen (/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084296695_102522264.lock)!failed
Checking user 2 of 5 . . . .
Warning: fopen(/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084297975_1959420829.lock): failed to open stream: Toegang geweigerd in /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php on line 55
Fout Kon bestand niet openen (/home/virtual/site115/fst/var/www/html/foto-album/albums/.users/1084297975_1959420829.lock)!failed
Checking user 3 of 5 . . . . skipped
Checking user 4 of 5 . . . . skipped
Checking user 5 of 5 . . . . skipped
Fout There was a problem upgrading users. Please check messages above, and try again
Posts: 27300
boneless,
Did you see a safe mode warning when you ran the config wizard?
FAQ Gallery:c.5
the other error looks like
FAQ Gallery:c.15 "Toegang geweigerd "
Dave
Posts: 32
Ok, one step further. The users are upgraded, see www.boneless.nl/foto-album
But I do get the safe mode warnings. But my hosting provider supports gallery, they even promote it. Thats why I, after being logged in to my adminsite of the domain, I only had to click the 'install gallery' button. When I don't upgrade to the newer (and with Dutch lang) version manually, it works fine. earlier today I created an album and added photos without problems. The problems start after upgrading to the newer version of gallery. As far as I know all the chmods are ok. Have any ideas left?
Thanks!!!
Boneless
Posts: 3473
Moving to correct forum
Posts: 3473
Boneless,
Just remove those two lines.
[safe mode is lots of things. The bits your host has chosen allows gallery to work, but not the putenv]
Posts: 32
And where are these lines to be found?
Posts: 27300
In lib/lang.php search for
And comment out the two lines like:
It seems your host does not allow you to set the LANG and LANGUAGE environments.
Dave
Posts: 32
Thanks, problem solved.
But...new problem.
Now when I click an new album, I get the following error:
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 638 is not allowed to access /home/virtual/site115/fst/var/www/html/foto-album/albums/album01 owned by uid 48 in /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php on line 55
Warning: fopen(/home/virtual/site115/fst/var/www/html/foto-album/albums/album01/photos.dat.lock): failed to open stream: Onbekend bestand of map in /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php on line 55
Fout Kon bestand niet openen (/home/virtual/site115/fst/var/www/html/foto-album/albums/album01/photos.dat.lock)!
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site115/fst/var/www/html/foto-album/platform/fs_unix.php:55) in /home/virtual/site115/fst/var/www/html/foto-album/do_command.php on line 130
What more to change to get it to work?
Thanks again and thanks even more...
Boneless
Posts: 32
Posts: 27300
boneless,
Have you asked your host about Safemode?
Try to put your albums directory where you had it working before. Perhaps your host has set up that directory for reads and writes by the webserver. You will have to rerun the config wizard to tell it the new location.
Dave
Posts: 32
Yes I have e-mailed them about it, but no answer yet.
OK, I will try that tomorrow. First time round I had it in a dir called gallery, in the new installations I placed it in foto-album. You really think that can make a difference, even when I entered this dir-name in the tool (on the adminpart of my domain) that installs the gallery?