|
沙发
楼主 |
发表于 2015-4-29 06:13:08
|
只看该作者
由于mysql5.3以上版本的配置问题在安装ecshop时总会出现一些错误,就本人遇到的错误,解决一下,如有不足还望包涵。
一、首页错误:
(1)
Strict standards: Declaration of ucenter::login() should be compatible with integrate::login($username, $password, $remember = NULL)
in ...\ecshop\includes\modules\integrates\ucenter.php on line 52
解决方法:找到ucenter.php文件 ctrl+f 查找login
找到- function login($username, $password)
复制代码
改为- function login($username, $password, $remember = NULL)
复制代码
ok 问题解决
(2)Strict standards: Declaration of ucenter::add_user() should be compatible with integrate::add_user($username, $password, $email, $gender = -1, $bday = 0, $reg_date = 0, $md5password = '') in D:\wamp\www\vipshop\includes\modules\integrates\ucenter.php on line 52
解决方法:找到ucenter.php文件 ctrl+f 查找add_user
找到 - function add_user($username, $password, $email)
复制代码
改为 - function add_user($username, $password, $email, $gender = -1, $bday = 0, $reg_date = 0, $md5password = NULL)
复制代码
ok 问题解决
(3)
Strict standards: Declaration of ucenter::set_cookie() should be compatible with integrate::set_cookie($username = '', $remember = NULL)
in D:\wamp\www\vipshop\includes\modules\integrates\ucenter.php on line 52
同样的道理
解决方法:找到ucenter.php文件 ctrl+f 查找set_cookie
找到- function set_cookie($username='')
复制代码
改为- function set_cookie($username='', $remember = NULL)
复制代码
|
|