PHP网站打不开,报错问题,高手来解答? 10
thinkphp首页打不开提示HTTPERROR500,网站日志报错如下:PHPWarning:require(/data/wwwroot/default./CORE//...
thinkphp首页打不开提示HTTP ERROR 500,网站日志报错如下:
PHP Warning: require(/data/wwwroot/default./CORE//Core.php): failed to open stream: No such file or directory in /data/wwwroot/default/index.php on line 39
PHP Fatal error: require(): Failed opening required '/data/wwwroot/default./CORE//Core.php' (include_path='.:/usr/local/php54/lib/php') in /data/wwwroot/default/index.php on line 39
index.php第39行: require(THINK_PATH.'/Core.php'); 展开
PHP Warning: require(/data/wwwroot/default./CORE//Core.php): failed to open stream: No such file or directory in /data/wwwroot/default/index.php on line 39
PHP Fatal error: require(): Failed opening required '/data/wwwroot/default./CORE//Core.php' (include_path='.:/usr/local/php54/lib/php') in /data/wwwroot/default/index.php on line 39
index.php第39行: require(THINK_PATH.'/Core.php'); 展开
2个回答
展开全部
PHP Warning: require(/data/wwwroot/default./CORE//Core.php)
分析上面这个警告,意思如下:
请求文件:/data/wwwroot/default./CORE//Core.php
别的先不说,/CORE//Core.php 这里中间“//”应该是多了个/
你检查下Core.php文件的路径是否是上面的路径,如果路径确定没问题;
index.php第39行: require(THINK_PATH.'/Core.php');
改成:require(THINK_PATH.'Core.php');
将 文件夹 CORE 访问权限设为777
分析上面这个警告,意思如下:
请求文件:/data/wwwroot/default./CORE//Core.php
别的先不说,/CORE//Core.php 这里中间“//”应该是多了个/
你检查下Core.php文件的路径是否是上面的路径,如果路径确定没问题;
index.php第39行: require(THINK_PATH.'/Core.php');
改成:require(THINK_PATH.'Core.php');
将 文件夹 CORE 访问权限设为777
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询