1 頁 (共 1 頁)

[問題] debug mode與sql error

發表於 : 2005-04-21 16:33
rosekitchen
不知道是資料庫還是phpbb的問題
發文或回文就出現下列錯誤訊息而不能貼文或回文

代碼: 選擇全部

一般錯誤 
  
Could not insert new word matches

DEBUG MODE

SQL Error : 1196 Warning: Some non-transactional changed tables couldn't be rolled back

INSERT INTO phpbb_search_wordmatch (post_id, word_id, title_match) SELECT 1824, word_id, 0 FROM phpbb_search_wordlist WHERE word_text IN ('test')

Line : 249
File : .../includes/functions_search.php
相當傷腦筋
這樣等於完全停擺了

我進了phpmyadmin發現問題可能在phpbb_search_wordmatch:

代碼: 選擇全部

SQL 語法: 

SHOW KEYS FROM `phpbb_search_wordmatch` ;


MySQL 傳回:  

#1016 - Can't open file: 'phpbb_search_wordmatch.MYI'. (errno: 145) 
請問下方訊息如何解讀及解決
謝謝

發表於 : 2005-04-21 16:42
小竹子
麻煩您參考公告格式發表,謝謝!

發表於 : 2005-04-21 16:48
rosekitchen
不好意思
改這樣可以嗎?

發表於 : 2005-04-21 17:01
rosekitchen
http://www.ariannaonline.com/forums/arc ... /t-66.html
找到上方資料
但沒說如何解決..

發表於 : 2005-04-21 17:17
rosekitchen
似乎已解決\r
不好意思
謝謝

Re: [問題] debug mode與sql error

發表於 : 2006-10-22 01:52
diana
我也正遇到不能貼文的問題。有人可以解答嗎
謝謝。

代碼: 選擇全部

一般錯誤


Could not obtain common word list

DEBUG MODE

SQL Error : 1016 Can't open file: 'phpbb_search_wordmatch.MYI' (errno: 145)

SELECT word_id FROM phpbb_search_wordmatch GROUP BY word_id HAVING COUNT(word_id) > 304

Line : 309
File : functions_search.php


Re: [問題] debug mode與sql error

發表於 : 2006-10-22 02:30
chiouss
diana 寫:我也正遇到不能貼文的問題。有人可以解答嗎
謝謝。
repair table,不會用的話再搜尋一下...

--
InnoDB 就不用 repair table,因為它啟動的時候就會自己修

Re: [問題] debug mode與sql error

發表於 : 2006-10-22 03:00
diana
chiouss 寫: repair table,不會用的話再搜尋一下...
--
InnoDB 就不用 repair table,因為它啟動的時候就會自己修
謝謝chiouss 回答。找到這個網站﹐
http://www.karakas-online.de/EN-Book/re ... table.html

等我有問題再請教。謝謝。