帝国7.5版本PHP Warning: Use of undefined constan解决办法

摘要:帝国 CMS 是很强大的一个 CMS,最近准备做个站点用帝国的 7.5,安装的时候是 can 要双引号,现在官方还没有看到怎

帝国 CMS 是很强大的一个 CMS,最近准备做个站点用帝国的 7.5,安装的时候是 can 要双引号,现在官方还没有看到怎么处理。PkQ超级码力
安装把代码“can”双引号搞定了。结果在登陆的时候又踩坑里面了。发现下面的这些错误。我怕又踩坑里面。我就直接用文章末尾的办法,PkQ超级码力

PHP Warning:  Use of undefined constant lastip - assumed 'lastip' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 131
PHP Warning:  Use of undefined constant lastipport - assumed 'lastipport' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 131
PHP Warning:  Use of undefined constant styleid - assumed 'styleid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 134
PHP Warning:  Use of undefined constant styleid - assumed 'styleid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 141
PHP Warning:  Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 164
PHP Warning:  Use of undefined constant groupid - assumed 'groupid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 167
PHP Warning:  Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 171
PHP Warning:  Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 172
PHP Warning:  Use of undefined constant groupid - assumed 'groupid' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\adminfun.php on line 172
PHP Warning:  Use of undefined constant filechmod - assumed 'filechmod' (this will throw an Error in a future version of PHP) in F:\wwwroot\000\e\class\connect.php on line 1978
我开始的 php 版本是 7.3PkQ超级码力
直接把 PHP 版本降级为 7.0.就没有问题了。简单方便快捷暴力。

感觉很棒 支持打赏

打赏
标签:
分享到:

评论 (0)

你有充足的理由选择我们

最可靠的后盾,最靠谱的服务商
在线客服 VIP 大龙微信