Elxis CMS Forum

Support => Installation => Topic started by: bcrow on February 19, 2009, 14:12:01

Title: Problem with Turkish language on Linux servers
Post by: bcrow on February 19, 2009, 14:12:01
i m having problems after installation.anybody can help me on msn or any chat?
Title: Re: online help.is there anybody?
Post by: ks-net on February 19, 2009, 14:16:46
Quote
online help.is there anybody?
Please stop yelling in the forum... it is preferable and will help future user-readers if you write a title with the problem you are facing ... :)
I don't have  msn (none messenger ) if you don't bother, write your problem...and if i can, i will help you!
Title: Re: online help.is there anybody?
Post by: bcrow on February 19, 2009, 14:21:56
after installation.always having problems when i use turkish language
Title: Re: online help.is there anybody?
Post by: ks-net on February 19, 2009, 14:23:34
problems such as...?
please  be more specific!
describe exactly your problem!
Title: Re: online help.is there anybody?
Post by: bcrow on February 19, 2009, 14:24:46
Fatal error: Call to undefined method ADORecordSet_mysql::Init() in /home/ftpinfo48/ifethiye.com/includes/adodb/adodb.inc.php on line 935
Title: Re: online help.is there anybody?
Post by: bcrow on February 19, 2009, 14:29:51
when i delete turkish language the problem wont happen anymore.do you know whats wrong?
Title: Re: online help.is there anybody?
Post by: ks-net on February 19, 2009, 14:30:09
are you loading any specific module for Turkish lang
try to disable modules one-by-one for the Turkish lang..
are you using any third party modules-components?

which elxis version are you using?
Title: Re: online help.is there anybody?
Post by: bcrow on February 19, 2009, 14:32:30
i downloaded full elxis package .installed it.and this started to happen.do you think i should stop all modules and try again?
Title: Re: online help.is there anybody?
Post by: ks-net on February 19, 2009, 14:34:33
Tested it have problems...
i will try to debug it ...
Title: Re: online help.is there anybody?
Post by: bcrow on February 19, 2009, 14:36:23
ok i wait
Title: Re: online help.is there anybody?
Post by: ks-net on February 19, 2009, 14:39:43
nop ... no module problem!
Title: Re: online help.is there anybody?
Post by: bcrow on February 19, 2009, 14:41:21
about 3 months ago i installed the elxis 2008.0 in success.i dont know whats wrong now :( i do love elxis and i trust it but i need it in turkish and english language
Title: Re: online help.is there anybody?
Post by: ks-net on February 19, 2009, 16:02:54
no lack ! must wait for someone more experience!
very strange that error message ... me getting just a blank page...

Title: Re: online help.is there anybody?
Post by: CREATIVE Options on February 19, 2009, 16:26:16
Sorry to understand, when you publish the Turkish language you get
Code: [Select]
Fatal error: Call to undefined method ADORecordSet_mysql::Init() in /home/ftpinfo48/ifethiye.com/includes/adodb/adodb.inc.php on line 935Or when you switch to Turkish language ?

Have you try to upgrade the 2008.0 to 2008.1 ?
Title: Re: online help.is there anybody?
Post by: datahell on February 19, 2009, 19:12:44
This is a well know problem with the Turkish language. Turkish generates a fatal error on my servers that's why I have it unpublished on elxis-downloads.com. I have tried to edit it but I don't know Turkish, there is something wrong with the files. You better contact the Turkish translator, you will find him in the Turkish sub-forum or inside the language files (look at the top lines).
Title: Problem with Turkish language on Linux servers
Post by: bcrow on February 19, 2009, 20:29:58
i installed 2008.1 already.i tried last turkish translations on it.still dont work.
Title: Re: online help.is there anybody?
Post by: CREATIVE Options on February 20, 2009, 01:41:29
As Datahell mention the Turkish language file has mistakes and doesn't work.
Title: Re: online help.is there anybody?
Post by: bcrow on February 20, 2009, 09:21:39
can you help me how i can translate the elxis into turkish.if you tell me the files,i ll do it myself and send to you.
Title: Re: online help.is there anybody?
Post by: Farhad Sakhaei on February 23, 2009, 15:04:52
Your problem will not solve even if you re translate it from scratch
Use this language pack instead

Before uploading this language pack , First un publish current Turkish language , Then remove the existing turkish folder from /languages and upload the new package

Publish Turkey language and use it  :)

Edited : Use last post
Title: Re: online help.is there anybody?
Post by: ks-net on February 23, 2009, 15:15:50
not working...
wait to check htaccess cause it prints in the url domain.com// and not doamain.co/tr/


Title: Re: online help.is there anybody?
Post by: Farhad Sakhaei on February 23, 2009, 15:17:45
I just solve the problems , I don't care what are those  ;D
Title: Re: online help.is there anybody?
Post by: ks-net on February 23, 2009, 15:21:58
not working.  check my previous post
cause of this in httacess

RewriteRule ^(
{2})/(.*)$ /index.php?mylang=turkish [QSA,L]

one has to chaghe ....
htaccess or lang files
Title: Re: online help.is there anybody?
Post by: Farhad Sakhaei on February 23, 2009, 15:35:32
It is working with no SEO PRO...
I'm trying more
Title: Re: online help.is there anybody?
Post by: Farhad Sakhaei on February 23, 2009, 16:44:22
Ok, I found the problem ...
This is a PHP 5 Bug with Turkish locale ...

@ bcrow: Please ignore my last post about the turkey language pack , Use that Elxis original Turkish language pack ...
To solving your problem you should change your default language locale setting
By default , Elxis detect your Locale based on your server settings and selected language
As PHP 5 has a bug with Turkish locale , You shouldn't allow Elxis to detect the Turkish language...
To do it log in to your administration
Go to : Site -> Global Configuration -> Locale -> Set: Country Locale to english (for windows)

The existing problem is a PHP 5.2 related and not an Elxis related ...
Related topic in PHP web site : http://bugs.php.net/bug.php?id=39993

I think users under windows servers don't have this problem ...
This problem is for Linux servers with PHP 5
Turkish people should wait for next release of PHP to solve this problem on their servers ...
So all turkish people should do this if they have existing problem ...

Problem Solved ...
I make this topic sticky as all Turkish people have this problem
Title: Re: Problem with Turkish language on Linux servers
Post by: datahell on February 23, 2009, 21:05:33
Thanks farhad, I did nt had the time to investigate the problem but I had seen that there was something strange when you switched to Turkish. So, it is a PHP bug, interesting... I will patch Elxis 2009.0 to bypass this problem.

Please don't set locale to english for windows as it is not a UTF-8 locale. Select a UTF-8 locale (en_GB.UTF8 or en_US.UTF8) or edit file:
includes/Core/locale.php and make Turkish language to pick the English locale (best choice):

delete this:
'turkish' => array('tr_TR.UTF8', 'tr_TR.UTF-8'), //PHP 5.2 bug with Turkish locale
Add this:
'turkish' => array( 'en_GB.UTF8', 'en_US.UTF8', 'en_GB.UTF-8', 'en_US.UTF-8', 'en'),

Note: xxx.UTF-8 locales are for BSD, FreeBSD, Debian and Ubuntu.
Title: Re: Problem with Turkish language on Linux servers
Post by: memoc@n on March 11, 2009, 21:25:35
Thanks for this solution
Title: Re: Problem with Turkish language on Linux servers
Post by: 0n3 on April 16, 2009, 15:42:20
or this

find

'turkish' => array('tr_TR.UTF8@euro', 'tr_TR.UTF8'),


replace

 'turkish' => array( 'en_GB.UTF8', 'en_US.UTF8', 'en_GB.UTF-8', 'en_US.UTF-8', 'en'),