Warning: Table './drakegua_drake4/watchdog' is marked as crashed and should be repaired
query: INSERT INTO watchdog
(uid, type, message, variables, severity, link, location, referer, hostname, timestamp)
VALUES
(0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:226:\"Table './drakegua_drake4/cache_filter' is marked as crashed and should be repaired\nquery: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:91c6c42355cb31f02263ff70358c5a63'\";s:5:\"%file\";s:45:\"/home/drakegua/public_html/includes/cache.inc\";s:5:\"%line\";i:26;}', 3, '', 'http://drake.csie.org/category/daily/akismet/feed', '', '38.103.63.55', 1227261075) in /home/drakegua/public_html/includes/database.mysql.inc on line 128
Warning: Table './drakegua_drake4/watchdog' is marked as crashed and should be repaired
query: INSERT INTO watchdog
(uid, type, message, variables, severity, link, location, referer, hostname, timestamp)
VALUES
(0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:2481:\"Table './drakegua_drake4/cache_filter' is marked as crashed and should be repaired\nquery: UPDATE cache_filter SET data = '<p>最後,我選擇使用 Akismet module 來處理討人厭的 comment spam。</p>\\n<p>當初不使用 captcha,是因為,一來我的小站真的很小,開張不久;二來覺得很麻煩。像我自己,如果想留個言回覆時,遇到要求你要註冊或是來個 captcha 的,就會有點懶。</p>\\n<p>最近在處理(或說是刪 = =) comment spam 時,就在想,因應 blog in /home/drakegua/public_html/includes/database.mysql.inc on line 128
Warning: Table './drakegua_drake4/watchdog' is marked as crashed and should be repaired
query: INSERT INTO watchdog
(uid, type, message, variables, severity, link, location, referer, hostname, timestamp)
VALUES
(0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:137:\"Cannot modify header information - headers already sent by (output started at /home/drakegua/public_html/includes/database.mysql.inc:128)\";s:5:\"%file\";s:46:\"/home/drakegua/public_html/includes/common.inc\";s:5:\"%line\";i:141;}', 3, '', 'http://drake.csie.org/category/daily/akismet/feed', '', '38.103.63.55', 1227261075) in /home/drakegua/public_html/includes/database.mysql.inc on line 128 DRAKE - akismet
http://drake.csie.org/taxonomy/term/293/0
zh-hant使用 Akismet 來對抗 comment spam
http://drake.csie.org/use_akismet_against_comment_spams
<p>最後,我選擇使用 Akismet module 來處理討人厭的 comment spam。</p>
<p>當初不使用 captcha,是因為,一來我的小站真的很小,開張不久;二來覺得很麻煩。像我自己,如果想留個言回覆時,遇到要求你要註冊或是來個 captcha 的,就會有點懶。</p>
<p>最近在處理(或說是刪 = =) comment spam 時,就在想,因應 blog 的大紅特紅,blog spam 應該非常的多(到處可見,每個 blog author 都得面對的問題)的吧。既然隨處可見,而且會到處貼 blog spam 的就是那些人(其實大都不是人啦),那些 spam 應該會有些相通的性質。而且印象中,之前有人使用人工智慧裏會用到的一些 machine/network 來自動判斷 spam(ex, Bayesian Network),所以如果把所有人遇到的 spam 都集中到一處,全部餵給它做處理,這樣不管是它的學習、分析或是資料庫都夠大,應該很好用。(最明顯的列子,就是 gmail 的 spam 機制,它因為有眾多的使用者,所以有很大的資料庫可以進行這類活動)</p>
<p>首先跑去 wikipedia 了解一下 <a href="http://en.wikipedia.org/wiki/Spam_in_blogs">blog spam</a>,然後 google 了一陣子,發現矛頭都指向一個叫 Akismet 的玩意兒。</p>
<p><a href="http://akismet.com/">Akismet</a> 原是 Wordpress 裏的一個 plugin,原作者就是開發來擋 spam(comment, trackback, blah...)的,後來寫成一套獨立的系統,架設在一台號稱可以一直 active 的機器上頭,免費服務眾人(個人用戶是免費,商業用途就要和他們聯絡一下了)。光這一點就相當吸引我的注意了。</p>
<p>最後發現,原來已經有人寫了 <a href="http://www.phpmix.org/projects/drupal/4_7/akismet">Akismet for Drupal</a> 了!!! 而且寫得挺好用的(對我來說啦)。</p>
<p>目前正在試用中~~~</p>
原文發表於 <a href="http://tw-drupal.info/node/401#comment-928">Drupal Taiwan</a>。http://drake.csie.org/use_akismet_against_comment_spams#commentsakismetcommentdrupalspamFri, 22 Sep 2006 08:05:23 +0000Drake188 at http://drake.csie.org Warning: Table './drakegua_drake4/watchdog' is marked as crashed and should be repaired
query: INSERT INTO watchdog
(uid, type, message, variables, severity, link, location, referer, hostname, timestamp)
VALUES
(0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:3737:\"Table './drakegua_drake4/sessions' is marked as crashed and should be repaired\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = '38.103.63.55', session = 'messages|a:1:{s:5:\\"error\\";a:3:{i:0;s:301:\\"user warning: Table &#039;./drakegua_drake4/cache_filter&#039; is marked as crashed and should be repaired\\nquery: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = &#039;4:91c6c42355cb31f02263ff70358c5a63&#039; in /home/drakegua/public_html/includes/cache.inc on line 26.\\&a in /home/drakegua/public_html/includes/database.mysql.inc on line 128