vultr优惠码,vultr云服务器,vultr优惠,vultr教程,vultr购买,香港主机,香港VPS,香港服务器,服务推荐,国外VPS推荐

织梦内容页在网站搬家后内容页空白

网站教程 baishitou 80℃

最近在给一个站搬家时,发现内容页空白,其他页面正常。以为是文件出问题了,替换文件也是一样,伪静态规则也没错误。打开调试模式,发现了多错误


Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.11111111.org/include/common.inc.php on line 69

Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/wwwroot/www.11111111.org/include/ftp.class.php on line 500

Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/wwwroot/www.11111111.org/include/ftp.class.php on line 502

Notice: Only variables should be passed by reference in /www/wwwroot/www.11111111.org/plus/view.php on line 24

Notice: Undefined offset: 1 in /www/wwwroot/www.11111111.org/plus/view.php on line 27

Notice: Undefined index: imgurls in /www/wwwroot/www.11111111.org/include/arc.archives.class.php on line 245

Parse error: syntax error, unexpected '{' in /www/wwwroot/www.11111111.org/include/dedetag.class.php(681) : eval()'d code on line 5

一翻译才发现,原来是PHP版本问题。原来,新建站时,PHP版本没有选择,用的默认的7.4的。而织梦只能运行php5.6以下的版本,所以就出现了这个问题。版本换回5.6后正常。

 

喜欢 (0)or分享 (0)