求助:failed /includes/init.php on line 53

2016-07-07 15:15 来源:www.chinab4c.com 作者:ecshop专家

Warning: include(../includes/config.php) [function.include]: failed to open stream: No such file or directory in /data/home/hmu057057/htdocs/includes/init.php on line 53

Warning: include() [function.include]: Failed opening '../includes/config.php' for inclusion (include_path='.:ROOT_PATH') in /data/home/hmu057057/htdocs/includes/init.php on line 53

Warning: require(/data/home/hmu057057/htdocs/includes/init.phpincludes/inc_c**tant.php) [function.require]: failed to open stream: No such file or directory in /data/home/hmu057057/htdocs/includes/init.php on line 82

Fatal error: require() [function.require]: Failed opening required '/data/home/hmu057057/htdocs/includes/init.phpincludes/inc_c**tant.php' (include_path='.:ROOT_PATH') in /data/home/hmu057057/htdocs/includes/init.php on line 82


求解,谢谢各位了。

回答:
你的include里面是否包含的东西有问题

不解!应该从哪方面着手,着急啊,装了3遍都是这样。

今天又重新上传了init.php,又出现如下的问题:
Fatal error: Call to undefined function is_spider() in /data/home/hmu057057/htdocs/includes/init.php on line 131

看了第131行的代码:
if (is_spider())
{
/* 如果是蜘蛛的访问,那么默认为访客方式,并且不记录到日志中 */
if (!defined('INIT_NO_USERS'))
{
define('INIT_NO_USERS', true);
/* 整合UC后,如果是蜘蛛访问,初始化UC需要的常量 */
if($_CFG['integrate_code'] == 'ucenter')
{
$user = & init_users();
}
}
$_SESSION = array();
$_SESSION['user_id']= 0;
$_SESSION['user_name']= '';
$_SESSION['email'] = '';
$_SESSION['user_rank']= 0;
$_SESSION['discount'] = 1.00;
}