SQL Error : 1054 Unknown column 'p.topic_id' in 'on clause'

Probleme bei der regulären Arbeiten mit phpBB, Fragen zu Vorgehensweisen oder Funktionsweise sowie sonstige Fragen zu phpBB im Allgemeinen.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Heuni
Mitglied
Beiträge: 263
Registriert: 18.02.2002 01:00
Wohnort: New York City in Mind
Kontaktdaten:

SQL Error : 1054 Unknown column 'p.topic_id' in 'on clause'

Beitrag von Heuni »

Could not obtain topic information

DEBUG MODE

SQL Error : 1054 Unknown column 'p.topic_id' in 'where clause'

SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments, COUNT(p2.post_id) AS prev_posts FROM forum_topics t, forum_forums f, forum_posts p, forum_posts p2 WHERE p.post_id = 592925 AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= 592925 AND f.forum_id = t.forum_id GROUP BY p.post_id, t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments ORDER BY p.post_id ASC

Line : 156
File : viewtopic.php
Synchronisiere Beitrags-Daten

Sperre das Board

Das Board war bereits gesperrt

Synchronisiere Themen

Fehler: Couldn't get topic and post data!

SQL Error : 1054 Unknown column 'p.topic_id' in 'on clause'

SELECT t.topic_id, t.topic_title, t.topic_replies, t.topic_first_post_id, t.topic_last_post_id, Count(p.post_id) - 1 AS new_replies, Min(p.post_id) AS new_first_post_id, Max(p.post_id) AS new_last_post_id FROM forum_topics t INNER JOIN forum_posts p ON t.topic_id = p.topic_id GROUP BY t.topic_id, t.topic_title, t.topic_replies, t.topic_first_post_id, t.topic_last_post_id HAVING new_replies <> t.topic_replies OR new_first_post_id <> t.topic_first_post_id OR new_last_post_id <> t.topic_last_post_id

Line : 3380
File : /is/htdocs/wp1008049_X1MVX505Q8/forum/admin/admin_db_maintenance.php
das erste bekomme ich, wenn ich auf einen beitrag klicke. beiträge schreiben funktioniert.
das zweite kommt dann, wenn ich versuche, den fehler mit db_maint. zu reparieren.
ich habe keine ahnung. kan mir jemand helfen?
Heuni
18 TIL I DIE
\...mit ihr war der Schnee immer ein bisschen weißer...\
Benutzeravatar
cYbercOsmOnauT
Ehemaliges Teammitglied
Beiträge: 3820
Registriert: 18.02.2004 23:02
Wohnort: Göttingen
Kontaktdaten:

Beitrag von cYbercOsmOnauT »

Das sieht nach einem bösen Fehler Deiner DB aus. Hast Du mal per phpMyAdmin geprüft, ob im forum_posts die Zelle topic_id überhaupt noch existiert? Wenn nein, halleluja.

Grüße,
Tekin
• prof. phpbb-Installation, Reparatur, Rettung nach Hackattacken, sowie PHP/JS Programmierung aller Art
Zend Certified Engineer, Linux Administrator und die Sicherheit von 34 Jahren Programmiererfahrung
• Interesse? Kontakt unter t.birduezen@web-coding.eu
Benutzeravatar
rabbit
Ehemaliger Übersetzer
Beiträge: 4199
Registriert: 14.06.2003 22:09
Wohnort: Hildesheim
Kontaktdaten:

Beitrag von rabbit »

seit wann tritt das problem auf? hast du irgendwelche änderungen am code vorgenommen in letzter zeit?
Offizieller Übersetzer des Categories Hierarchy MOD 2.1.x
Deutscher UserGuide für den Categories Hierarchy MOD v2.1.4
Empfohlener Hoster: All-Inkl.com
Heuni
Mitglied
Beiträge: 263
Registriert: 18.02.2002 01:00
Wohnort: New York City in Mind
Kontaktdaten:

Beitrag von Heuni »

keine äönderungen am code, ausser einen link in die overall_header eingefügt
Heuni
18 TIL I DIE
\...mit ihr war der Schnee immer ein bisschen weißer...\
Heuni
Mitglied
Beiträge: 263
Registriert: 18.02.2002 01:00
Wohnort: New York City in Mind
Kontaktdaten:

Beitrag von Heuni »

edit: ja diezeile existriert noch
Heuni
18 TIL I DIE
\...mit ihr war der Schnee immer ein bisschen weißer...\
Heuni
Mitglied
Beiträge: 263
Registriert: 18.02.2002 01:00
Wohnort: New York City in Mind
Kontaktdaten:

Beitrag von Heuni »

*schieb*
Heuni
18 TIL I DIE
\...mit ihr war der Schnee immer ein bisschen weißer...\
Heuni
Mitglied
Beiträge: 263
Registriert: 18.02.2002 01:00
Wohnort: New York City in Mind
Kontaktdaten:

Beitrag von Heuni »

*push*
Heuni
18 TIL I DIE
\...mit ihr war der Schnee immer ein bisschen weißer...\
Antworten

Zurück zu „phpBB 2.0: Administration, Benutzung und Betrieb“