
歡迎訪問全國企業(yè)網(wǎng)站設計NO.1網(wǎng)站開發(fā)商平臺 | 付款方式 |
POST TIME:2020-09-05
我用的是dedecms 5.7sp1,開始一直正常,前段時間客戶網(wǎng)站突然不能上傳文件也不能生成靜態(tài)文件,查看后發(fā)現(xiàn)是磁盤空間用盡,客戶自己處理后,功能一切正常。
幾天后發(fā)現(xiàn)會員注冊一直無法注冊成功,一直提示“注冊失敗,請檢查資料是否有誤或與管理員聯(lián)系!”,登錄后臺查看已注冊會員,發(fā)現(xiàn)一條信息都看不到了。
網(wǎng)上搜索都說是reg_new.php中表名寫錯:
$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’); “;
但是這個好像是說的5.5的版本,我的這個版本沒有這個問題使用的表名是正常的 dede_member
$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’); “;
于是登錄phpmyadmin想看下數(shù)據(jù)是否還存在,打開數(shù)據(jù)庫 ,點擊member表發(fā)現(xiàn)錯誤:
Table ‘xxx_member’ is marked as crashed and should be repaired
看來是表結構損毀了,登錄dedecms后臺 打開“系統(tǒng)-》數(shù)據(jù)庫備份/還原”找到xxx_memebr 點擊后面的修復,或者使用phpmyadmin中提供的表修復功能。
巨號網(wǎng)網(wǎng)站開發(fā)部為全國企業(yè)提供網(wǎng)頁設計和專業(yè)的公司網(wǎng)站制作等相關建站服務,并提供24小時企業(yè)網(wǎng)站設計咨詢!