昨天晚上一个网友需要将服务器配置 WEB 且恢复他购买的帝国 CMS 程序数据,但是由于太晚就挂机安装 WEB 系统数据留着今天上午恢复。但是在恢复安装帝国 CMS 的时候有提示错误 "Warning: Use of undefined constant can - assumed 'can' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.**.cn/e/install/data/fun.php on line 121"。
老蒋可以看到安装的时候提示有错,那肯定是不可以继续。需要先解决问题。从报错信息可以看到 "this will throw an Error in a future version of PHP" 应该是 PHP 版本不支持,默认看到是安装的 PHP7.3 版本,然后降级至 7.0 再试试。
刷新页面,可以看到报错没有,那就继续下一步。这样问题就解决。
解决帝国CMS安装出现"Use of undefined constant can - assumed 'can'"问题
评论区(暂无评论)