您的位置:首页 > 编程语言 > PHP开发

discuz利用ucenter整合ecshop在php…

2014-06-26 11:16 281 查看
discuz利用ucenter整合ecshop在php5.4环境下会出现以下报错信息:

 

Strict Standards: Declaration of ucenter::login() should be
compatible with integrate::login($username, $password, $remember =
NULL)

 

Strict Standards: Declaration of ucenter::set_cookie() should be
compatible with integrate::set_cookie($username = '', $remember =
NULL)

 

检测了服务器配置文件和所有的cms系统的配置文件,发现已经将报错等级调至最低,但报错信息依然出现

百度了一下,在网上也没有找到有效的解决方案,但发现所有人都是从php代码本身需求问题的解决方案

我换了种思路,尝试从前端解决,在页面加载完成时,加入以下,就能实现了报错信息的隐藏:



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: