Показать сообщение отдельно
Старый 26.11.2010, 16:31 Вверх   #37
Новичок
 
Аватар для murderer24
murderer24 вне форума
Доп. информация
По умолчанию

Доброго времени суток!

Собственно после конвертации с phpBB3 в VB 3.8.7 кодировка побилась (
??? ????????? ???????? ?? ????????, ????????? ????? и в таком духе).

Конфиг:
PHP код:
<?php
if (!defined('IDIR')) { die; }

#################################################################### |;
# vBulletin
# ---------------------------------------------------------------- # |;
# Copyright �2000�2010 Jelsoft Enterprises Ltd. All Rights Reserved. |;
# This file may not be redistributed in whole or significant part. # |;
# ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # |;
# http://www.vbsupport.org/forum/index.php | http://www.vbsupport.org/forum/index.php # |;
#################################################################### |;
# The following settings allow ImpEx to connect to the vBulletin 3
# database into which you will be importing data.

####
#
# TARGET - The target is the vBulletin database (where the  data is going to)
#
####

$impexconfig['target']['server']        = 'localhost';
$impexconfig['target']['user']            = 'root';
$impexconfig['target']['password']        = '';
$impexconfig['target']['database']        = 'vb';
$impexconfig['target']['tableprefix']    = '';

# If the system that is being imported from uses a database,
# enter the details for it here and set 'sourceexists' to true.
# If the source data is NOT stored in a database, set 'sourceexists' to false

$impexconfig['sourceexists']            = true;

####
#
# SOURCE - The source is the old forum database (where the  data is coming from)
#
####

# mysql / mssql
$impexconfig['source']['databasetype']    = 'mysql';  // mysql OR mssql
$impexconfig['source']['server']        = 'xxx.xxx.xxx.xxx';
$impexconfig['source']['user']            = 'user';
$impexconfig['source']['password']        = 'pass';
$impexconfig['source']['database']        = 'name';
$impexconfig['source']['tableprefix']   = 'phpbb_';

####
#
# DUPLICATE CHECKING
# Where unique import id's are available ImpEx can check for duplicates with some
# Tier2 systems this will need to be set to false.
#
# yahoo_groups, YaBB 2.1, Ikonboard 3.1.5 (for attachments)
#
####

define('dupe_checking'false);

###############################################################################
####
#
# ADVANCED - For a standard import or a novice user leave the settings below.
#
####

// Advanced Target
$impexconfig['target']['databasetype']    = 'mysql';    // currently mysql only
$impexconfig['target']['charset']        = 'utf8';
$impexconfig['target']['persistent']    = false;     // (true/false) use mysql_pconnect

// Advanced Source
$impexconfig['source']['charset']        = 'cp1251';
$impexconfig['source']['persistent']    = false;

# pagespeed is the second(s) wait before the page refreshes.

$impexconfig['system']['language']        = '/impex_language.php';
$impexconfig['system']['pagespeed']        = 1;

$impexconfig['system']['errorlogging']    = false;

define('impexdebug'false);
define('emailcasesensitive'false);
define('forcesqlmode'false);
define('skipparentids'false);
define('shortoutput'false);
define('do_mysql_fetch_assoc'false);
define('step_through'false);
define('lowercase_table_names'false);
define('use_utf8_encode'false);
define('use_utf8_decode'true);
?>
При конвертации в админке все нормально, а вот с форумом беда.

Также после конвертации варнинг:
Код:
Warning: number_format() expects parameter 1 to be double, string given in [path]\includes\functions.php on line 361

Warning: number_format() expects parameter 1 to be double, string given in [path]\includes\functions.php on line 361
Как фиксить? Заранее благодарю.
  Ответить с цитированием
 
Время генерации страницы 0.05828 секунды с 10 запросами