PDA

View Full Version : Moving to new server


Ioannis Freris
04-16-2007, 11:00 AM
I moved paros.la to α new server by using backup - restore from cpanel

After moving i get error "Fatal error: Cannot redeclare array_walk_recursive() in /home/parosdr/public_html/includes/compat.inc.php on line 62"

Michael Hill
04-16-2007, 11:15 AM
Hello, Ioannis Freris!

Please, try comment by /* and */ next code in includes/config.inc.php:


if(version_compare("5.0", PHP_VERSION, ">"))
{
$_SERVER['REQUEST_TIME'] = time();
include(INCLUDES."compat.inc.php");
}

Ioannis Freris
04-16-2007, 11:32 AM
I found this code (2.1.02)



define("DEBUG", 0);

$_SERVER['REQUEST_TIME'] = time();
include(INCLUDES."compat.inc.php");



if(DEBUG > 0)
{
loadClass("DirDebug");
$old_error_handler = set_error_handler("errorHandler");
error_reporting(E_ALL & ~E_USER_NOTICE);
ini_set("display_errors","1");

$GLOBALS['_pageGenerated'] = Debug::m();
}
else
{
$old_error_handler = set_error_handler("errorHandler");
error_reporting(0);
ini_set("display_errors","0");
}

Sergey Ten
04-17-2007, 10:58 AM
Hello Ioannis,

Please send me your FTP details and I will try to fix your problem. You could send me the details via PM.