国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > php开源 > DedeCMS > 修正Dedecms V5.5 0814版UC登陆问题

修正Dedecms V5.5 0814版UC登陆问题

来源:程序员人生   发布时间:2014-04-18 19:36:31 阅读次数:2069次

  原因 :新的member表中没有uprank和upmoney字段。

  用记事本打开uploadsmemberindex_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';");

  保存,再登陆看看是不是正常了呢。

生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生