Mysql Error (tabel crash)[opgelost]
Geplaatst: 11 nov 2008, 15:00
- Adres van je forum: http://forums.sinnoh.nl/
Event. modificaties op je forum: Quick replay, en een shoutbox/chat waar ik de naam niet van weet
Wanneer ontstond het probleem? tussen gister avond en vandaag
phpBB versie: 3.0.2
Heb je onlangs iets veranderd aan je forum? Zover bekent niet (heb nog niet de rest van de crew gesproken)
Wat is het probleem?
Ik kom net thuis en hij geeft de volgende fout:
Code: Selecteer alles
Algemene fout
SQL ERROR [ mysqli ]
Table 'deb4661_forums.phpbb_forums' doesn't exist [1146]
SQL
SELECT f.*, ft.mark_time, t.topic_title, t.topic_id, t.topic_last_post_id FROM (phpbb_forums f) LEFT JOIN phpbb_forums_track ft ON (ft.user_id = 330 AND ft.forum_id = f.forum_id) LEFT JOIN phpbb_topics t ON (f.forum_last_post_id = t.topic_last_post_id) ORDER BY f.left_id
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()
FILE: includes/functions_display.php
LINE: 110
CALL: dbal_mysqli->sql_query()
FILE: index.php
LINE: 32
CALL: display_forums()

Code: Selecteer alles
SQL-query:
SHOW INDEX FROM `phpbb_topics` ;
Oplossing was:
doe de volgende sql actie:
"REPAIR TABLE `tbl_name`"
MySQL retourneerde:
#145 - Table './deb4661_forums/phpbb_topics' is marked as crashed and should be repaired
Oplossing was:
"REPAIR TABLE `tbl_name`"