|
我用的是dedecms 5.7sp1,开始一直正常,前段时间客户网站突然不能上传文件也不能生成静态文件,查看后发现是磁盘空间用尽,客户自己处理后,功能一切正常。
几天后发现会员注册一直无法注册成功,一直提示“注册失败,请检查资料是否有误或与管理员联系!”,登录后台查看已注册会员,发现一条信息都看不到了。
网上搜索都说是reg_new.php中表名写错:
i n Q u e r y = “ I N S E R T I N T O ‘ d e d e m e m b e r ‘ ( ‘ m t y p e ‘ , ‘ u s e r i d ‘ , ‘ p w d ‘ , ‘ u n a m e ‘ , ‘ s e x ‘ , ‘ r a n k ‘ , ‘ m o n e y ‘ , ‘ e m a i l ‘ , ‘ s c o r e s ‘ , ‘ m a t t ‘ , ‘ s p a c e s t a ‘ , ‘ f a c e ‘ , ‘ s a f e q u e s t i o n ‘ , ‘ s a f e a n s w e r ‘ , ‘ j o i n t i m e ‘ , ‘ j o i n i p ‘ , ‘ l o g i n t i m e ‘ , ‘ l o g i n i p ‘ ) V A L U E S ( ‘ inQuery = “INSERT INTO `dede_member` (`mtype` ,`userid` ,`pwd` ,`uname` ,`sex` ,`rank` ,`money` ,`email` ,`scores` , `matt`, `spacesta` ,`face`,`safequestion`,`safeanswer` ,`jointime` ,`joinip` ,`logintime` ,`loginip` ) VALUES (‘inQuery=“INSERTINTO‘dede
m
ember‘(‘mtype‘,‘userid‘,‘pwd‘,‘uname‘,‘sex‘,‘rank‘,‘money‘,‘email‘,‘scores‘,‘matt‘,‘spacesta‘,‘face‘,‘safequestion‘,‘safeanswer‘,‘jointime‘,‘joinip‘,‘logintime‘,‘loginip‘)VALUES(‘mtype’,'u s e r i d ’ , ′ userid’,'userid’,
′
pwd’,'u n a m e ’ , ′ uname’,'uname’,
′
sex’,’10′,’d f m o n e y ’ , ′ dfmoney’,'dfmoney’,
′
email’,'d f s c o r e s ’ , ’ 0 ′ , ’ dfscores’, ’0′,’dfscores’,’0′,’spaceSta’,”,’s a f e q u e s t i o n ’ , ′ safequestion’,'safequestion’,
′
safeanswer’,'j o i n t i m e ’ , ′ jointime’,'jointime’,
′
joinip’,'l o g i n t i m e ’ , ′ logintime’,'logintime’,
′
loginip’); “;
但是这个好像是说的5.5的版本,我的这个版本没有这个问题使用的表名是正常的 #@__member
KaTeX parse error: Expected 'EOF', got '#' at position 25: … “INSERT INTO `#̲@__member` (`mt…mtype’,'u s e r i d ’ , ′ userid’,'userid’,
′
pwd’,'u n a m e ’ , ′ uname’,'uname’,
′
sex’,’10′,’d f m o n e y ’ , ′ dfmoney’,'dfmoney’,
′
email’,'d f s c o r e s ’ , ’ 0 ′ , ’ dfscores’, ’0′,’dfscores’,’0′,’spaceSta’,”,’s a f e q u e s t i o n ’ , ′ safequestion’,'safequestion’,
′
safeanswer’,'j o i n t i m e ’ , ′ jointime’,'jointime’,
′
joinip’,'l o g i n t i m e ’ , ′ logintime’,'logintime’,
′
loginip’); “;
于是登录phpmyadmin想看下数据是否还存在,打开数据库 ,点击member表发现错误:
Table ‘xxx_member’ is marked as crashed and should be repaired
看来是表结构损毁了,登录dedecms后台 打开“系统-》数据库备份/还原”找到xxx_memebr 点击后面的修复,或者使用phpmyadmin中提供的表修复功能。
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/tang1234560tyu/article/details/103289522
|
|