SQL error

current version: 1.3.3
released: 07.10.2011

SQL error

Postby lighty » Fri Apr 08, 2011 4:35 pm

Hallo zusammen,

nach Installation erhalte ich einen sql-error, der verschwindet, wenn ich die Änderungen in der functions_display.php rückgängig mache. so funtkioniert der mod natürlich nicht.

Hier einmal der angezeigte Fehler:
Code: Select all
SQL ERROR [ mysqli ]

Not unique table/alias: 't' [1066]

SQL

SELECT f.*, ft.mark_time, t.topic_title, t.topic_id, t.topic_last_post_id, t.topic_title, t.topic_id, t.topic_replies FROM (phpbb_forums f) LEFT JOIN phpbb_forums_track ft ON (ft.user_id = 2 AND ft.forum_id = f.forum_id) LEFT JOIN phpbb_topics t ON (f.forum_last_post_id = t.topic_last_post_id AND t.topic_moved_id = 0) LEFT JOIN phpbb_topics t ON (f.forum_last_post_id = t.topic_last_post_id) ORDER BY f.left_id

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions_display.php
LINE: 120
CALL: dbal_mysqli->sql_query()

FILE: index.php
LINE: 28
CALL: display_forums()


Jemand einen hilfreichen Tipp, was ich ändern muss?

Danke!
lighty
Posts < 10
Posts < 10
 
Posts: 3
Topics: 2
Joined: Fri Apr 08, 2011 4:27 pm

Re: SQL error

Postby nickvergessen » Sat Apr 09, 2011 9:40 am

Benutzt du mit Absicht eine ältere Version?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: SQL error

Postby lighty » Sat Apr 09, 2011 2:49 pm

Moin :)

meinst du die Datenbank? Da habe ich beim erstellen einmal zu schnell geklickt und es ist mir erst zu spät aufgefallen. Ich weiss noch nicht, ob ich die Datenbank problemlos umstellen kann, da ja bei Erstellung diese abgefragt wurde (was ich übersehen hatte).

Was mein Problem angeht, das habe ich mittlerweile gelöst. Wenn du mir jedoch noch etwas zur Datenbankumstellung sagen kannst, gerne.

Danke

lighty
lighty
Posts < 10
Posts < 10
 
Posts: 3
Topics: 2
Joined: Fri Apr 08, 2011 4:27 pm

Re: SQL error

Postby alex0310 » Sat Oct 22, 2011 9:16 pm

I have similar error:
Code: Select all
SQL ERROR [ mysql4 ]

Not unique table/alias: 't' [1066]

SQL

SELECT f.*, ft.mark_time, t.topic_title, t.topic_id, t.topic_moved_id, t.topic_last_post_id, t.topic_title, t.topic_id, t.topic_last_post_id FROM (phpbb_forums f) LEFT JOIN phpbb_forums_track ft ON (ft.user_id = 2 AND ft.forum_id = f.forum_id) LEFT JOIN phpbb_topics t ON (f.forum_last_post_id = t.topic_last_post_id) LEFT JOIN phpbb_topics t ON (f.forum_last_post_id = t.topic_last_post_id AND t.topic_moved_id = 0) ORDER BY f.left_id

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: includes/functions_display.php
LINE: 113
CALL: dbal_mysql->sql_query()

FILE: index.php
LINE: 28
CALL: display_forums()

Could you tell me what's my problem? (не могли бы вы мне рассказать в чем моя проблема?)
I do not speak German, please reply to me English or Russian
thanks
alex0310
Posts < 10
Posts < 10
 
Posts: 1
Joined: Sat Oct 22, 2011 8:57 pm


Return to NV advanced last topic titles

Who is online

Users browsing this forum: No registered users and 1 guest

 

cron