可能用dedecms5.5的站长朋友遇到过注册会员是出现错误提示:注册失败,请检查资料是否有误或与管理员联系!的问题,现把我的解决办法写下来,望对大家有用!, W5 j% R; V, e8 C; l$ h$ }: x: u1 e
解决办法:
0 z8 J" n: Q! l修改MEMBER目录下的 reg_new.php文件- T8 o$ l# @$ k$ R4 h$ F3 J& C
把
0 Q0 Y' h! w* j2 p& X' F6 L以下为引用的内容:$ N0 Z8 G$ T" G/ d
$inQuery = "INSERT INTO `dede_member` (`mtype` ,`userid` ,`pwd` ,`uname` ,`sex` ,`rank` ,`uprank` ,`money` ,
$ u: @, Q1 f3 `: k. Z`upmoney` ,`email` ,`scores` ,`matt` ,`face`,`safequestion`,`safeanswer` ,`jointime` ,`joinip` ,`logintime` ,`loginip` )
0 S2 }! k- s3 |/ L) r! VVALUES ('$mtype','$userid','$pwd','$uname','$sex','10','0','$dfmoney','0',
/ t$ I: I1 `: x7 J7 h" P4 H'$email','$dfscores','0','','$safequestion','$safeanswer','$jointime','$joinip','$logintime','$loginip'); "; | ) p* m2 ?; O& \1 `
修改为:
2 R1 b+ @) f0 J% L! V7 R* G以下为引用的内容:
, x, M S* @. O' [" I1 ]1 R) ~$inQuery = "INSERT INTO `dede_member` (`mtype` ,`userid` ,`pwd` ,`uname` ,`sex` ,`rank` ,`money` ,`email` ,`scores` ,
* @. G& u: @2 R. @5 E`matt`, `spacesta` ,`face`,`safequestion`,`safeanswer` ,`jointime` ,`joinip` ,`logintime` ,`loginip` ) - s5 F" X2 m2 V* b2 p
VALUES ('$mtype','$userid','$pwd','$uname','$sex','10','$dfmoney','$email','$dfscores', 6 a% Y/ t+ |% o- i. v0 f! n
'0','$spaceSta','','$safequestion','$safeanswer','$jointime','$joinip','$logintime','$loginip'); "; |
! C1 \- r2 d" _9 K: a) vwww.5udp.com供稿0 R/ g; A# L6 J
注:相关网站建设技巧阅读请移步到建站教程频道。 |
|