I am trying to move xcart from localhost to sever I have made the the changes in files config.php ,top.inc.php I have deleted the content of templa开发者_Go百科tes_c folder,but my site does'nt runs yet can somebody give me the solution I will be greatly thankfull.
thanks
try with this..write these lines in your config file
if($_SERVER['HTTP_HOST'] === 'localhost')
{
define('SITE_PATH','http://localhost/your project name/');
error_reporting( E_ALL );
ini_set('display_errors','on');
}
else
{
define('SITE_PATH','http://www.yourwesbite.com/');
error_reporting(0);
ini_set('display_errors','off');
}
精彩评论