Seite 1 von 1

Topic display order - fehler

Verfasst: 31.08.2005 20:56
von me_reflex
Hi,

bin gerade dabei die Topic display order Mod zu installieren.

Ich habe den Part I bis jetzt bearbeitet und bekomme diesen 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 : topic display order ----------------------------

SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 WHERE t.forum_id = 6 AND t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND t.topic_type <> 2 ORDER BY t.topic_type DESC, t.topic_last_post_id DESC, t.topic_last_post_id DESC //-- fin mod : topic display order ----------------------------------------------------------------- LIMIT 0, 50
Line : 366
File : viewforum.php
Ändert sich das, wenn ich den Part II installiere?
Oder hab ich was falsch gemacht?


MfG

Chris

Verfasst: 31.08.2005 20:59
von me_reflex
Habe den Part II Installiert und erhalte nun folgenden 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 : topic display order ----------------------------

SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 WHERE t.forum_id = 9 AND t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND t.topic_type <> 2 ORDER BY t.topic_type DESC, t.topic_last_post_id DESC, t.topic_last_post_id DESC //-- fin mod : topic display order ----------------------------------------------------------------- LIMIT 0, 50
Line : 366
File : viewforum.php

//edit

ÄÄhm...das is doch der selbe?! ^^
Naja...wie dem auch sei

Verfasst: 01.09.2005 19:54
von me_reflex
*schieb*

Verfasst: 02.09.2005 20:48
von me_reflex
*schieb ²*

Verfasst: 03.09.2005 21:24
von me_reflex
*schieb ³*

Verfasst: 03.09.2005 21:31
von Mihil
Tip zum Schieben: Immer den letzten "Bump-Beitrag" löschen und dann einen neuen erstellen, sieht besser aus. :lol:

Verfasst: 03.09.2005 21:47
von me_reflex
ok, werds mir merken ;)