Errors after changing Default Frontend Language

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
hakki_dogusan
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 18, 2006 10:47 am

Errors after changing Default Frontend Language

Post by hakki_dogusan »

Hi,

(As I have a little more space, I installed cmsms to server. Previously I was using HTTrack.)

My configuration is:
- CMSMS 1.0.2
- Linux server
- MySQL 4.1.18-standard
- PHP 5.0.4
- Apache 1.3.34 (Unix)
- MySQL connection collation: utf8_unicode_ci
- phpMyAdmin - 2.8.0.2


If I set default frontend to English my site works (but I'm not getting some translations)

If I change the language to Turkish then following error occurs:

Fatal error: Class 'PageInfoOperations' not found in /home/dynaset/public_html/index.php on line 189

Fatal error: Call to undefined method pear_ADOConnection::IsConnected() in /home/dynaset/public_html/lib/classes/class.global.inc.php on line 370


Help me please...


ps. There is no problem in local WampServer

--
Regards,
Hakki Dogusan
www.dynaset.org
hakki_dogusan
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 18, 2006 10:47 am

Re: Errors after changing Default Frontend Language

Post by hakki_dogusan »

Hi,

(Wrong timing, I guess  :P )


I changed include.php as follows:

line ~ 220

#if ($frontendlang != '')
#{
#    @setlocale(LC_ALL, $frontendlang);
#}

I can use Turkish language for default frontend now.


--
Regards,
Hakki Dogusan
ostin
New Member
New Member
Posts: 9
Joined: Thu May 14, 2009 2:04 pm

Re: Errors after changing Default Frontend Language

Post by ostin »

hocam ben bu işi çözemedim bi yardımcı olurmusun? bahsettiğin değişikliği de yaptım ama hala dili tr yapınca sayfa kayboluyor..
alby

Re: Errors after changing Default Frontend Language

Post by alby »

ostin wrote: ..
English only!

Alby
ostin
New Member
New Member
Posts: 9
Joined: Thu May 14, 2009 2:04 pm

Re: Errors after changing Default Frontend Language

Post by ostin »

hi and sorry for turkish question :)

i have a problem with front end language when i install in english  site is wrking great but when i try to change front end or backend language pages are lost how to fix this problem?
alby

Re: Errors after changing Default Frontend Language

Post by alby »

ostin wrote: hi and sorry for turkish question :)

i have a problem with front end language when i install in english  site is wrking great but when i try to change front end or backend language pages are lost how to fix this problem?
Try to enable debug in config.php and look in server error logs for other infos

Alby
ostin
New Member
New Member
Posts: 9
Joined: Thu May 14, 2009 2:04 pm

Re: Errors after changing Default Frontend Language

Post by ostin »

I tried it and got the following error, what should I do?

Fatal error: Class 'PageInfoOperations' not found in b.co.cc/htdocs/index.php on line 237

Fatal error: Call to undefined method pear_ADOConnection::IsConnected() inb.co.cc/htdocs/lib/classes/class.global.inc.php on line 346
alby

Re: Errors after changing Default Frontend Language

Post by alby »

ostin wrote: I tried it and got the following error, what should I do?
Check with System Verification if your installation is good.
This happen with all not en_US languages?

Alby
User avatar
zenics
New Member
New Member
Posts: 8
Joined: Thu Jan 28, 2010 4:25 pm

Re: Errors after changing Default Frontend Language

Post by zenics »

I do have the same problem. I changed the frontend lang to Turkish and I got the same error. I did fix it by going to sql and change ti to English but still same

any help here please
CREATIVE MANNER
Professional Design Services
http://www.creativemanner.com - Web Design Agency In Washington DC.
http://www.phpmelodytemplates.com - Premium phpMelody Music Video CMS Templates...
http://www.dubweiser.net - Music calibration based on brain condition...
Post Reply

Return to “CMSMS Core”