Seite 3 von 4

Verfasst: 15.10.2005 17:23
von Paninaro
In phpMyAdmin bin ich jetzt, aber Forum geht immer noch nicht

Verfasst: 15.10.2005 20:34
von Mungo
Was passiert denn genau? Irgendwelche Fehlermeldungen?

Verfasst: 15.10.2005 20:36
von Paninaro
Hallo

Ja, genaueres siehst du auch hier http://www.xr-aachen.de/forum/
Could not query forums information

DEBUG MODE

SQL Error : 1146 Table 'phpbb.phpbb_forums' doesn't exist

SELECT f.*, p.post_time, p.post_username, u.username, u.user_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 ) ORDER BY f.cat_id, f.forum_order

Line : 167
File : /home/httpd/vhosts/xr-aachen.de/httpdocs/forum/index.php

Verfasst: 15.10.2005 21:37
von Mungo
Hast du etwas an der config.php? Das Forum hat auch vorher funktioniert?
Wenn du nichts an der config.php geändert hast und das Forum auch vorher funktioniert hat, dann hast du wohl die phpBB Tabellen in der Datenbank gelöscht.

Verfasst: 16.10.2005 01:07
von Paninaro
Ich war in phpMyAdmin hab dort aber nichts verändert, ich hab nur gesucht wie ich in dieses Programm komme.

Was muss ich jetzt machen damit es wieder geht?

Verfasst: 16.10.2005 02:16
von Jan500
hi

guck mal mit phpmyadmin ob die tabelle phpbb_forums noch vorhanden ist ;-)

also du hast nichts an der config.php geändert? nur phpmyadmin genutzt?
Auch nicht aus versehn auf das rote kreuz bei phpbb_forums gekommen?

gruß Jan

Verfasst: 16.10.2005 02:55
von Paninaro
Die einzigste Datei mit dem Namen Forum ist die Datei phpbb_forum_prune Sonst ist da nichts mehr.

EDIT, ich glaube ich hab zwei Tabellen gelöscht :-?

Hier mal ein Bild

[ externes Bild ]

Verfasst: 16.10.2005 08:00
von 2005
könnt ihr hier mal beschreiben was man im deutschen Chatspot auf den Webspace kopieren muss? Und welche Daten man ändern muss? Und welche Dateien man ausführen muss???

Verfasst: 16.10.2005 11:37
von Paninaro
Ich bins nochmal, was muss ich denn jetzt machen damit mein Forum wieder läuft :-?

Verfasst: 16.10.2005 12:46
von Mungo
Bitte halte dich in Zukunft an die Regeln (Topic Bumping). Du kannst sie hier nachlesen.

Wenn du ein Backup hast, dann spiel es ein. Falls du keins hast, musst du die Tabelle phpbb_forums neuerstellen.

Dazu einfach folgende SQL-Anweisung in phpMyAdmin ausführen:

Code: Alles auswählen

#
# Table structure for table 'phpbb_forums'
#
CREATE TABLE phpbb_forums (
   forum_id smallint(5) UNSIGNED NOT NULL,
   cat_id mediumint(8) UNSIGNED NOT NULL,
   forum_name varchar(150),
   forum_desc text,
   forum_status tinyint(4) DEFAULT '0' NOT NULL,
   forum_order mediumint(8) UNSIGNED DEFAULT '1' NOT NULL,
   forum_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
   forum_topics mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
   forum_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
   prune_next int(11),
   prune_enable tinyint(1) DEFAULT '0' NOT NULL,
   auth_view tinyint(2) DEFAULT '0' NOT NULL,
   auth_read tinyint(2) DEFAULT '0' NOT NULL,
   auth_post tinyint(2) DEFAULT '0' NOT NULL,
   auth_reply tinyint(2) DEFAULT '0' NOT NULL,
   auth_edit tinyint(2) DEFAULT '0' NOT NULL,
   auth_delete tinyint(2) DEFAULT '0' NOT NULL,
   auth_sticky tinyint(2) DEFAULT '0' NOT NULL,
   auth_announce tinyint(2) DEFAULT '0' NOT NULL,
   auth_vote tinyint(2) DEFAULT '0' NOT NULL,
   auth_pollcreate tinyint(2) DEFAULT '0' NOT NULL,
   auth_attachments tinyint(2) DEFAULT '0' NOT NULL,
   PRIMARY KEY (forum_id),
   KEY forums_order (forum_order),
   KEY cat_id (cat_id),
   KEY forum_last_post_id (forum_last_post_id)
);

Code: Alles auswählen

INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Test Forum 1', 'Ein Test-Forum.', 1, 10, 1, 1, 1, 0, 0, 0, 0, 1, 1, 3, 3, 1, 1, 3);
Danach musst du im Administrationsbereich alle Foren geauso erstellen, wie du sie vorher hattest. Damit die Beiträge auch dem richtigen Forum zugeordnet werden können. Ein Blick in die phpbb_topics hilft dir vielleicht dabei. Dort siehst du alle Themen mir der dazugehörigen Forenid.

Solltest du das nicht hinbekommen, dann bleibt dir eine komplette Neuinstalltion nicht erspart.