<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----
Gallery URL (optional):
Gallery version: CVS :pserver on 2005 May 23
Webserver (with version): Apache
Datatabase (with version): MySQL
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):
My site seems working fine. But when I select Turkish as the Language, the site is totally corrupted on first image upload. Below is the error code I get:
Fatal error: Call to undefined function: setİd() in /home/cemtr/public_html/clyde/gallery2/modules/core/classes/GalleryStorage/DatabaseStorage.class on line 401
As I see in the message setİd is written with "İ" which is capital for i (not I). Probably this may cause a problem.
Regards,
Cem ŞEKER
Posts: 8601
Please try this test php file on your server:
<?php putenv('LANG=tr_TR'); putenv('LANGUAGE=tr_TR'); $loc = setlocale(LC_ALL, 'tr_TR'); var_dump($loc); $i = ucfirst('id'); var_dump($i); ?>correct the locale 'tr_TR' in the setlocale call if needed (if the first var_dump prints boolean(false)).
Posts: 3
string(5) "tr_TR" string(2) "�d"
Posts: 8601
ok then, I guess we shouldn't use ucfirst! we don't want any locale specific handling there, just a-z -> A-Z. i'll change that.. try again with tomorrow's nightly snapshot.. thanks!
Posts: 46
It is very strange that I am taking similar error while installation step 7 core
I am also Turkish user but I dont know its related with it because I even couldnt setup G2. After more than 30 times trying to installation start over again, I am really tired. I think its related with the server box but I dont know how I can solve the problem...
After mindless test.php it gives
Posts: 8601
Ansolon, yes this fix will probably help you too! Let us know (in the topic for your problem) if it helps..
Posts: 46
Finally my installing problem is solved with 26/05/2005 cvs, the Turkish lang is also working...