
02-04-2004, 12:01 PM
|
|
|
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by NTLDR
Assuming you haven't added extra lines I'd guess the error is on the line that looks like this:
PHP Code:
$servername = 'localhost';
If it looks OK in vbiupgradecore.php find:
PHP Code:
if (PHP_VERSION >= '4.3.0') {
$config = str_replace(array('<?php', '?>'), array('', ''), file_get_contents('../includes/config'.SCRIPT_EXTENSION));
} else {
@ob_start();
readfile('../includes/config'.SCRIPT_EXTENSION);
$config = @ob_get_contents();
@ob_end_clean();
$config = str_replace(array('<?php', '?>'), array('', ''), $config);
}
eval($config);
unset($config);
chdir('../'.$admincpdir);
And replace with:
PHP Code:
chdir('../ACP_DIR_HERE');
Replacing ACP_DIR_HERE with the name of your admin directory, ie admin or admincp
|
That did it!
|