Seite 1 von 1

Topic Calendar <- Problem <- Was tun?

Verfasst: 21.11.2005 12:08
von Mr. Rossi
Hallo,

ich habe den Topic Calendar Mod 1.0.1 eingebaut. Wenn man sich im Index einen Beitrag im Forum ansehen möchte, erscheint folgende Fehlermeldung:

Allgemeiner Fehler
Could not obtain topic information
DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '/-- fin mod : calendar ----------------------------------------

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, t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, 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 //-- fin mod : calendar ---------------------------------------------------------------------------- FROM phpbb_topics t, phpbb_forums f WHERE t.topic_id = 1 AND f.forum_id = t.forum_id

Line : 175
File : viewtopic.php


Weiß jemand was das bedeutet und wie der Fehler zu beheben ist?
Die viewtopic.txt-Datei ist hier zu sehen http://franzbardon.fr.ohost.de/viewtopic.txt

Was zun? :roll:

Verfasst: 21.11.2005 12:30
von Markus67
Hi ...

suche in der viewtopic.php

Code: Alles auswählen

$sql = "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, t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, 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_sql . "
//-- fin mod : calendar ----------------------------------------------------------------------------
	FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . "
ersetze mit:

Code: Alles auswählen

$sql = "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, t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, 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_sql . "
	FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . "
Markus

Verfasst: 21.11.2005 15:49
von Mr. Rossi
Hallo Markus,

hat prima geklappt, nun funktioniert alles. Weißt Du zufällig was man machen muss, damit die Geburtstagstermine automatisch im Kalender angezeigt werden? :roll:

Verfasst: 21.11.2005 20:15
von Markus67
Mr. Rossi hat geschrieben:Hallo Markus,

hat prima geklappt, nun funktioniert alles. Weißt Du zufällig was man machen muss, damit die Geburtstagstermine automatisch im Kalender angezeigt werden? :roll:
schau mal hier rein :wink: http://rpgnet.clanmckeen.com/demo/viewt ... 4959#14959

Markus

Verfasst: 21.11.2005 20:28
von Mr. Rossi
Hi Markus,

Habs schon eingebaut :D

Hier ein .zip-Mod dazu: http://www.phpbb2.de/ftopic10502-0-asc-0.html

Andere Frage: Kann man den Meeting Mod mit dem Topic Calendar verbinden?

Verfasst: 21.11.2005 20:38
von Markus67
Mr. Rossi hat geschrieben:Andere Frage: Kann man den Meeting Mod mit dem Topic Calendar verbinden?
Da musst du mal bei www.oxpus.de anklopfen ... und dort mal nachsehen .. eventuell gibt es dort ein Addon.

Markus