ecshop错误提示:Strict standards: Declaration of ucenter::login() should be compatible with integrate::login($username, $password, $remember = NULL)

 ecshop安装使用  1165浏览

后台管理的会员整合页面,出现这样的错误提示:Strict standards: Declaration of ucenter::login() should be compatible with integrate::login($username, $password, $remember = NULL)

具体错误提示如下:

( ! ) Strict standards: Declaration of ucenter::login() should be compatible with integrate::login($username, $password, $remember = NULL) in C:\develop\wamp\www\ecshopdev\includes\modules\integrates\ucenter.php on line 630

解决方法的思路和之前的文章一样:ecshop错误提示:Strict standards: Declaration of phpbb::set_cookie() should be compatible with integrate::set_cookie($username = '', $remember = NULL)

修改includes\modules\integrates文件夹下的ucenter.php文件,大概在127行,

function login($username, $password)

改成

function login($username, $password, $remember = NULL)

这样Declaration of ucenter::login() should be compatible with integrate::login($username, $password, $remember = NULL)错误问题就解决了。

流行热度:超过1165次围观
生产日期:2016-03-14 21:31:47
上次围观:2016-09-18 10:50:04
转载时必须以链接形式注明原始出处及本声明。

与本文相关的文章