当前位置 : 主页 > 建站教程 > dedecms >

Dede5.5注册会员提示失败的解决方法

来源:互联网 收集:自由互联 发布时间:2021-12-23
可能用dedecms5.5的站长朋友遇到过注册会员是出现错误提示:注册失败,请检查资料是否有误或与管理员联系!的问题,现把我的解决办法写下来,望对大家有用! 解决办法: 修改MEMBER目
可能用dedecms5.5的站长朋友遇到过注册会员是出现错误提示:注册失败,请检查资料是否有误或与管理员联系!的问题,现把我的解决办法写下来,望对大家有用!     解决办法:     修改MEMBER目录下的 reg_new.php文件     将   以下为引用的内容:
$inQuery = "INSERT INTO `dede_member` (`mtype` ,`userid` ,`pwd` ,`uname` ,`sex` ,`rank` ,`uprank` ,`money` , 
`upmoney` ,`email` ,`scores` ,`matt` ,`face`,`safequestion`,`safeanswer` ,`jointime` ,`joinip` ,`logintime` ,`loginip` ) 
VALUES ('$mtype','$userid','$pwd','$uname','$sex','10','0','$dfmoney','0', 
'$email','$dfscores','0','','$safequestion','$safeanswer','$jointime','$joinip','$logintime','$loginip'); ";
  修改为: 以下为引用的内容:
$inQuery = "INSERT INTO `dede_member` (`mtype` ,`userid` ,`pwd` ,`uname` ,`sex` ,`rank` ,`money` ,`email` ,`scores` , 
`matt`, `spacesta` ,`face`,`safequestion`,`safeanswer` ,`jointime` ,`joinip` ,`logintime` ,`loginip` ) 
VALUES ('$mtype','$userid','$pwd','$uname','$sex','10','$dfmoney','$email','$dfscores', 
'0','$spaceSta','','$safequestion','$safeanswer','$jointime','$joinip','$logintime','$loginip'); ";
  【文章出处:外国服务器 请说明出处】
上一篇:DedeCms 常用函数参考:动态模板类
下一篇:没有了
网友评论
相关栏目