У меня было такое... я переустанавливал, изменив в include/database.php кодировку. Поставилась номрально...
ща то4но скажу где...
function database( $host='localhost', $user, $pass, $db='', $table_prefix='', $goOffline=true ) {
// perform a number of fatality checks, then die gracefully
if (!function_exists( 'mysql_connect' )) {
$mosSystemError = 1;
if ($goOffline) {
$basePath = dirname( __FILE__ );
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';
exit();
}
}
if (phpversion() < '4.2.0') {
if (!($this->_resource = @mysql_connect( $host, $user, $pass ))) {
$mosSystemError = 2;
if ($goOffline) {
$basePath = dirname( __FILE__ );
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';
exit();
}
}
} else {
if (!($this->_resource = @mysql_connect( $host, $user, $pass, true ))) {
$mosSystemError = 2;
if ($goOffline) {
$basePath = dirname( __FILE__ );
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';
exit();
}
}
}
if ($db != '' && !mysql_select_db( $db, $this->_resource )) {
$mosSystemError = 3;
if ($goOffline) {
$basePath = dirname( __FILE__ );
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';
exit();
}
}
$this->_table_prefix = $table_prefix;
@mysql_query("SET NAMES 'cp1251'", $this->_resource); //ВРОДЕ ТУТ $this->_ticker = 0;
$this->_log = array();
}