xoops forums

somerussian

Just popping in
Posted on: 2008/10/15 4:31
somerussian
somerussian (Show more)
Just popping in
Posts: 3
Since: 2008/10/15
#1

Moving to new hosting problem

I have some problems with moving my site to new hosting.
I've copied files and base to new place and updated config files. Site is up and working, but data from db on pages is shown as ???????.
Both old and new bases have cp1251_general_ci encoding, what the problem?
Will appreciate any help :)

P.S. My site is - www.o2promo.ru

Anonymous

Posted on: 2008/10/15 9:36
Anonymous
Anonymous (Show more)
Posts: 0
Since:
#2

Re: Moving to new hosting problem

What XOOPS version are you using?

I suspect that the language files (prob global.php) are set to "utf8" rather than one of the "iso" charactersets.

somerussian

Just popping in
Posted on: 2008/10/16 3:53
somerussian
somerussian (Show more)
Just popping in
Posts: 3
Since: 2008/10/15
#3

Re: Moving to new hosting problem

Xoops version is 2.0.16.
And I didn't catch your idea about language files. There are this lines in /language/russian/global.php:
define('_CHARSET', 'windows-1251');
define('_LANGCODE', 'ru');
File itself has koi-8r encoding.

somerussian

Just popping in
Posted on: 2008/10/30 10:36
somerussian
somerussian (Show more)
Just popping in
Posts: 3
Since: 2008/10/15
#4

Re: Moving to new hosting problem

Need help. I can't edit meta tags even via admin configuration - any russian text is transformed to ????.
SOS...