Dutch language?
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
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 |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
boneless, Dave |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
floridave wrote:
boneless, Thanks, but how to install them? I dont see any words about that in the forum. Thnx! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Download the pack. Under the nl_NL directory you will have the .po files and flagimage directory etc. re-run the config wizard. 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: |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
floridave wrote:
Download the pack. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
When you upgrade you will not loose any settings. Just make a copy of your albums directory. Dave |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
Just make a copy of your albums directory. Dave Tried it, still didnt get it to work. Thanks for helping out so far! Boneless |
|
boneless
![]()
Joined: 2004-05-11
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. Een moment geduld... Checking user 1 of 5 . . . . 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 There was a problem upgrading users. Please check messages above, and try again |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
boneless, the other error looks like Dave |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
floridave wrote:
boneless, 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 |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
Moving to correct forum |
|
joan
![]()
Joined: 2002-10-21
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] |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
joan wrote:
Boneless, And where are these lines to be found? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
In lib/lang.php search for if (getOS() != OS_SUNOS) { putenv("LANG=". $gallery->language); } putenv("LANGUAGE=". $gallery->language); // Set Locale And comment out the two lines like: if (getOS() != OS_SUNOS) { // putenv("LANG=". $gallery->language); } // putenv("LANGUAGE=". $gallery->language); // Set Locale It seems your host does not allow you to set the LANG and LANGUAGE environments. Dave |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
floridave wrote:
In lib/lang.php search for Thanks, problem solved. 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 What more to change to get it to work? Thanks again and thanks even more... Boneless |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
boneless wrote:
Thanks, problem solved. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
boneless, 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 |
|
boneless
![]()
Joined: 2004-05-11
Posts: 32 |
![]() |
floridave wrote:
boneless, Yes I have e-mailed them about it, but no answer yet. floridave wrote:
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. 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? |
|