Seite 1 von 1
phpbb 2.0.10 - Allgemeiner Fehler
Verfasst: 14.08.2004 12:45
von Samariel
Could not query forums information
DEBUG MODE
SQL Error : 1030 Got error 28 from table handler
SELECT f.*, p.post_time, p.post_username, u.username, u.user_id, t.topic_title, t.topic_last_post_id FROM ((( phpbb_forums f LEFT JOIN phpbb_posts p ON p.post_id = f.forum_last_post_id ) LEFT JOIN phpbb_users u ON u.user_id = p.poster_id ) LEFT JOIN phpbb_topics t ON t.topic_last_post_id = p.post_id ) ORDER BY f.cat_id, f.forum_order
Line : 170
File : root\index.php
Genau diesen Fehler bekomme ich nun immer angezeigt, wenn ich meine Seite aufrufe. Die Sache ist nur die, dass ich vor 3 Tagen das letzte mal drauf war und noch alles ging. Seither habe ich absolut nichts verändert!!!!!
Nichtmal einen neuen Beitrag!
Dann wollt ich die Seite eben neu aufrufen und erhalte im index immer diese Meldung. Einloggen und Portal etc funzt alles. Nur index nicht.
Mir ist aufgefallen, dass genau der selbe Fehler jetzt bei einem anderen Board auftaucht, wo ich die 10er Version installiert habe. Alle anderen Verisonen funktionieren noch. Doch warum auf einmal der Fehler? Das andere Board ist nicht einmal Online, nur testweise installiert...
Achso... Line 170:
{
message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
}
Wie gesgat, es wurde seit drei Tagen nicht mehr angerührt und jetzt dieser Fehler...
Ich hoffe Ihr wisst weiter!?!
Verfasst: 14.08.2004 12:47
von PhilippK
Repariere mal alle Tabellen mit phpMyAdmin.
Gruß, Philipp
Verfasst: 14.08.2004 13:25
von Samariel
Hab ich, jetzt erhalte ich nur einen weissen Bildschirm mit der Meldung:
phpBB : Kritischer Fehler
Could not query config information
DEBUG MODE
SQL Error : 1016 Can't open file: 'phpbb_config.MYI'. (errno: 144)
SELECT * FROM phpbb_config
Line : 222
File : root\common.php
???
Verfasst: 14.08.2004 13:49
von Schumi
KB:mysql_open_file - Repariere auch diese Tabelle mit phpmyadmin.
Verfasst: 14.08.2004 15:02
von Samariel
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?
Verfasst: 14.08.2004 15:09
von Schumi
Die Doku hat auch hier die Antwort: KB:multiple_times
Verfasst: 15.08.2004 11:21
von Samariel
Daran lags leider net. Konnte aber auch nichts umgeschrieben werden, da ich die letzten Tage ja nicht mal dran war. Vor drei Tagen gings noch.
Jetzt ärger ich mich allerdings, dass ich überhaupt was gemacht habe. Wie gesgat, trat der selbe Fehler auch auf dem Testboard auf. Dort wollte ich auch die Tabellen reparieren. Doch als ich die Seite nochmal aufrief, war wieder alles in Ordnung, als wär nie was gewesen. Ich kapiers net....
Verfasst: 15.08.2004 15:53
von Samariel
Gibt es vielleicht nochwas, was ich probieren könnte?
Verfasst: 04.09.2004 23:51
von PhilippK
Verfasst: 16.08.2007 17:37
von zoolkhan
geh in das veryeichnis deines forums
paste folgendes in eine datei z.b. des namens "repair.php":
<?php
// Check and repair all tables in a PHPBB structure
// verify that we're supposed to run
// change 'gehe1m' to something unique for your site, so it will only
// execute if you call it as 'http://meinforum.de/repair.php?gehe1m=1'
if (!isset($_GET['gehe1m']))
{
header("Location: http://127.0.0.1/");
die();
}
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'config.php');
// connect to the database server
$db = mysql_connect($dbhost,$dbuser,$dbpasswd);
if (!$db) die("Unable to connect to database!\n");
// select the PHPBB database
mysql_select_db($dbname,$db);
// get a list of tables for this PHPBB
$tablequery = "show tables like '".$table_prefix."%'";
$tablelist = mysql_query($tablequery,$db);
// cycle through them for repair
while ($tar = mysql_fetch_array($tablelist))
{
$tablename = $tar[0];
// output some verbosity for comfort
echo "Now checking and repairing table $tablename ... ";
$repres = mysql_query("REPAIR TABLE $tablename");
$result = mysql_fetch_array($repres);
echo $result['Msg_text'] . "<br>\n";
}
?>
dann nimm einen brauser und fuehr das ding aus:
http://meinforum.de/repair.php?gehe1m=1
- anschliessend sind deine tables repariert.
was ist phpmyadmin?