Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/cache_filter&amp;#039; is marked as crashed and should be repaired\nquery: SELECT data, created, headers, expire FROM cache_filter WHERE cid = &amp;#039;3:d60357517b5a53aaf655df315cfe07d5&amp;#039;</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/37', '', '38.103.63.57', 1231560752) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/cache_filter&amp;#039; is marked as crashed and should be repaired\nquery: LOCK TABLES cache_filter WRITE</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/37', '', '38.103.63.57', 1231560752) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/cache_filter&amp;#039; is marked as crashed and should be repaired\nquery: UPDATE cache_filter SET data = &amp;#039;&amp;lt;p&amp;gt;ประโยชน์ของ error reporting คือเราสามารถกำนดหน้าเพจที่รายงาน page not found ให้เป็นหน้าแสดงผลอื่นที่เราสร้างขึ้นมาเองได้โดยกำหนดในช่อง Default 404 (not found) page และหน้า access denied ให้ไปที่หน้าล็อกอินทันทีโดยกำหนดในช่อง Default 403 (access denied) page เป็นต้น ค่าความผิดพล in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/comments&amp;#039; is marked as crashed and should be repaired\nquery: SELECT COUNT(*) FROM comments WHERE nid = 37 AND status = 0</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/37', '', '38.103.63.57', 1231560752) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/comments&amp;#039; is marked as crashed and should be repaired\nquery: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 37 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 50</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/37', '', '38.103.63.57', 1231560752) in /var/www/tossfest/includes/database.mysql.inc on line 172
Error reporting | Thailand Open Source Software Festival

Error reporting

  • user warning: Table './tossfest/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire FROM cache_filter WHERE cid = '3:d60357517b5a53aaf655df315cfe07d5' in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/cache_filter' is marked as crashed and should be repaired query: LOCK TABLES cache_filter WRITE in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>ประโยชน์ของ error reporting คือเราสามารถกำนดหน้าเพจที่รายงาน page not found ให้เป็นหน้าแสดงผลอื่นที่เราสร้างขึ้นมาเองได้โดยกำหนดในช่อง Default 404 (not found) page และหน้า access denied ให้ไปที่หน้าล็อกอินทันทีโดยกำหนดในช่อง Default 403 (access denied) page เป็นต้น ค่าความผิดพลาดต่าง ๆ จะถูกเขียนลงใน Logs โดยเราสามารถเข้าไปดูได้ที่ administer-&gt;Logs-&gt;Recent Log entries </p>\n<p>ระยะเวลาในการเก็บข้อความผิดพลาดสามารถกำหนดได้ที่ <strong>Discard Log entries older than </strong>เวลาน้อยสุดคือ 1 ชั่วโมง เวลามากสุดคือ 4 สัปดาห์ แต่ถ้าต้องการเก็บไว้ตลอดให้เลือก Never<strong> </strong> <img src=\"/files/u1/error_reporting.png\" width=\"709\" height=\"364\" /></p>\n', created = 1231560752, expire = 1231647152, headers = '' WHERE cid = '3:d60357517b5a53aaf655df315cfe07d5' in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/comments' is marked as crashed and should be repaired query: SELECT COUNT(*) FROM comments WHERE nid = 37 AND status = 0 in /var/www/tossfest/includes/database.mysql.inc on line 172.
  • user warning: Table './tossfest/comments' is marked as crashed and should be repaired query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 37 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 50 in /var/www/tossfest/includes/database.mysql.inc on line 172.

ประโยชน์ของ error reporting คือเราสามารถกำนดหน้าเพจที่รายงาน page not found ให้เป็นหน้าแสดงผลอื่นที่เราสร้างขึ้นมาเองได้โดยกำหนดในช่อง Default 404 (not found) page และหน้า access denied ให้ไปที่หน้าล็อกอินทันทีโดยกำหนดในช่อง Default 403 (access denied) page เป็นต้น ค่าความผิดพลาดต่าง ๆ จะถูกเขียนลงใน Logs โดยเราสามารถเข้าไปดูได้ที่ administer->Logs->Recent Log entries

ระยะเวลาในการเก็บข้อความผิดพลาดสามารถกำหนดได้ที่ Discard Log entries older than เวลาน้อยสุดคือ 1 ชั่วโมง เวลามากสุดคือ 4 สัปดาห์ แต่ถ้าต้องการเก็บไว้ตลอดให้เลือก Never


Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/accesslog&amp;#039; is marked as crashed and should be repaired\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&amp;#039;Error reporting&amp;#039;, &amp;#039;node/37&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;38.103.63.57&amp;#039;, 0, &amp;#039;9d167c9bfb606acc0ed4c577b7d326ab&amp;#039;, 311, 1231560752)</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/37', '', '38.103.63.57', 1231560752) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/sessions&amp;#039; is marked as crashed and should be repaired\nquery: SELECT sid FROM sessions WHERE sid = &amp;#039;9d167c9bfb606acc0ed4c577b7d326ab&amp;#039;</em> in <em>/var/www/tossfest/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://tossfest.opentle.org/node/37', '', '38.103.63.57', 1231560752) in /var/www/tossfest/includes/database.mysql.inc on line 172

Warning: Table './tossfest/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;./tossfest/sessions&amp;#039; is marked as crashed and should be repaired\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES (&amp;#039;9d167c9bfb606acc0ed4c577b7d326ab&amp;#039;, 0, 0, &amp;#039;38.103.63.57&amp;#039;, &amp;#039;messages|a:1:{s:5:\\&amp;quot;error\\&amp;quot;;a:1:{i:0;s:407:\\&amp;quot;user warning: Table &amp;amp;#039;./tossfest/accesslog&amp;amp;#039; is marked as crashed and should be repaired\\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&amp;amp;#039;Error reporting&amp;amp;#039;, &amp;amp;#039;node/37&amp;amp;#039;, &amp;amp;#039;&amp;amp;#039;, &amp;amp;#039;38.103.63.57&amp;amp;#039 in /var/www/tossfest/includes/database.mysql.inc on line 172