如何解决dedecms v5.5 0814版UC无法登录?我们先查看一下原因,原来在新的member表中没有uprank和upmoney字段。那么,我们先找到要修改的文件。
打开uploads/member/index_do.php文件,找到280行:
$res = $dsql->ExecuteNoneQuery("INSERT INTO dede_member SET `mtype`='个人',`userid`='$username',`pwd`='$password',`uname`='$username',`sex`='男' ,`rank`='10',`uprank`='0',`money`='$money', `upmoney`='0', `email`='$email', `scores`='$scores', `matt`='0', `face`='',`safequestion`='0',`safeanswer`='', `jointime`='$jointime',`joinip`='$joinip',`logintime`='$logintime',`loginip`='$loginip';");
修改为:
$res = $dsql->ExecuteNoneQuery("INSERT INTO dede_member SET `mtype`='个人',`userid`='$username',`pwd`='$password',`uname`='$username',`sex`='男' ,`rank`='10',`money`='$money',`email`='$email', `scores`='$scores', `matt`='0', `face`='',`safequestion`='0',`safeanswer`='', `jointime`='$jointime',`joinip`='$joinip',`logintime`='$logintime',`loginip`='$loginip';");
上传替换原来的文件,再登陆看看是不是正常了。
上面是“如何解决dedecms v5.5 0814版UC无法登录”的全面内容,想了解更多关于 织梦cms 内容,请继续关注web建站教程。
当前网址:https://m.ipkd.cn/webs_665.html
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!