Seite 1 von 1

Intro und Portal-Mod

Verfasst: 29.08.2003 21:17
von Sire
Ich habe ein Problem mit der Intro und Portal-Mod.

Bin ich eingeloggt, habe ich keine Probleme.
Bin ich nicht eingeloggt, bekomme folgenden Fehler:




Intro:
Could not obtain main 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 ') AND t.topic_poster = u.user_id

SELECT t.*, f.forum_id, f.forum_name, 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_forums f, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 WHERE t.topic_id IN () AND t.topic_poster = u.user_id AND f.forum_id = t.forum_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 ORDER BY t.topic_last_post_id DESC LIMIT 10

Line : 245
File : /var/www/confixx/web17/html/dtforum/intro.php




Portal:
Could not obtain main 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 ') AND t.topic_poster = u.user_id

SELECT t.*, f.forum_id, f.forum_name, 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_forums f, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 WHERE t.topic_id IN () AND t.topic_poster = u.user_id AND f.forum_id = t.forum_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 ORDER BY t.topic_last_post_id DESC LIMIT 10

Line : 735
File : /var/www/confixx/web17/html/dtforum/portal.php


Sorry, ist ziemlich lang geworden das Posting. :oops:
Kann mir jemand helfen? Bin in Sachen php und mySQL ein ziemlicher Noob :oops:



mfg
Sire

Verfasst: 29.08.2003 21:27
von Henne_
Hast Zufällig noch keine Themen drin?

Henne, der beim Nachbarn sitzt und deshlab nicht eingeloggt ist.

Verfasst: 29.08.2003 21:28
von Sire
doch. Scheint ja auch eher was damit zu tun zu haben, dass man nicht eingeloggt ist... oder???


mfg
Sire

Verfasst: 29.08.2003 21:32
von Sire
hmmmm hatte ich zu wenig Beiträge?
Es werden jeweils 5 Beiträge angezeigt. Ich hatte nur 1. Jetzt hab ich 4x Unsinn geschrieben und es klappt *JUBEL*

However.


Danke für den Tipp!


Grüße
Sire