modules/integrates/ucenter.php on line 630错误修改办法
Strict Standards: Declaration of ucenter::login() should be compatible with integrate::login($username, $password, $remember = NULL) in /home/280i/web/shop.280i.com/public_html/includes/modules/integrates/ucenter.php on line 630
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 /home/280i/web/shop.280i.com/public_html/includes/modules/integrates/ucenter.php on line 630
Strict Standards: Declaration of ucenter::set_cookie() should be compatible with integrate::set_cookie($username = '', $remember = NULL) in /home/280i/web/shop.280i.com/public_html/includes/modules/integrates/ucenter.php on line 630
这个错误也是源于PHP5.4
这里修改的方式就是在ucenter.php 中修改对应的函数的参数即可
例如:Strict Standards: Declaration of ucenter::set_cookie() should be compatible with integrate::set_cookie($username = '', $remember = NULL) in /home/280i/web/shop.280i.com/public_html/includes/modules/integrates/ucenter.php on line 630
这一句就在 ucenter.php中搜索 set_cookie,然后对应的修改后面的参数为上面黄色的部分
原始:set_cookie($username = '')
修改为:set_cookie($username = '', $remember = NULL)
下面发下我修改好的文件
ucenter.php