1
I have just finished moving my site from one domain name to another and i have come up with some php errors which are listed below.
Quote:
Warning: main(): open_basedir restriction in effect. File(/home/*****/insanityrocks/public_html/include/common.php) is not within the allowed path(s): (/home/insanity:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/*****/public_html/mainfile.php on line 73
Warning: main(/home/*****/insanityrocks/public_html/include/common.php): failed to open stream: Operation not permitted in /home/*****/public_html/mainfile.php on line 73
Warning: main(): Failed opening '/home/*****/insanityrocks/public_html/include/common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/mainfile.php on line 73
Warning: main(): open_basedir restriction in effect. File(/home/*****/insanityrocks/public_html/class/xoopsblock.php) is not within the allowed path(s): (/home/insanity:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/******/public_html/header.php on line 28
Warning: main(/home/******/insanityrocks/public_html/class/xoopsblock.php): failed to open stream: Operation not permitted in /home/******/public_html/header.php on line 28
Warning: main(): Failed opening '/home/*****/insanityrocks/public_html/class/xoopsblock.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/header.php on line 28
Warning: main(): open_basedir restriction in effect. File(/home/*****/insanityrocks/public_html/class/template.php) is not within the allowed path(s): (/home/insanity:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/******/public_html/header.php on line 62
Warning: main(/home/*****/insanityrocks/public_html/class/template.php): failed to open stream: Operation not permitted in /home/******/public_html/header.php on line 62
Fatal error: main(): Failed opening required '/home/*****/insanityrocks/public_html/class/template.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/header.php on line 62
I changed the mainfiled XOOPS root paths to the following
Quote:
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/home/*****/insanityrocks/public_html');
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.insanityrocks.com');
The physical path is correct and everything is a perfect ccopy of the original site at
http://www.kiwisworld.com so I am unsure why I am getting all these errors.
The database name and password to my MySQL have been entered into the mainfile correctly. Do I am unsure what to do can anybody help.
kiwiguy