Seite 1 von 1

[Erledigt] SQL Error: 1064 -line 240 privmsg.php

Verfasst: 30.01.2007 12:50
von xtc.sanchez
Habe grad eine PN mit dem Titel "?" von einer Userin erhalten, wenn ich sie öffnen will, bekomme ich die meldung:
Could not query private message post 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 ' u2.username AS username_2, u2.user_id AS user_id_2, u.user_sig_bbcode_uid, u.us' at line 1

SELECT u.username AS username_1, u.user_id AS user_id_1, u.user_session_time AS user_session_time_1, u.user_allow_viewonline,, u2.username AS username_2, u2.user_id AS user_id_2, u.user_sig_bbcode_uid, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_avatar, pm.*, pmt.privmsgs_bbcode_uid, pmt.privmsgs_text FROM phpbb2_privmsgs pm, phpbb2_privmsgs_text pmt, phpbb2_users u, phpbb2_users u2 WHERE pm.privmsgs_id = 372 AND pmt.privmsgs_text_id = pm.privmsgs_id AND pm.privmsgs_to_userid = 2 AND ( pm.privmsgs_type = 0 OR pm.privmsgs_type = 1 OR pm.privmsgs_type = 5 ) AND u.user_id = pm.privmsgs_from_userid AND u2.user_id = pm.privmsgs_to_userid

Line : 240
File : privmsg.php
Was ist das?


Die Meldung kommt seitdem ich den Online/Offline Indicator Mod eingebaut habe oO

Lg, san~

Verfasst: 30.01.2007 12:57
von xtc.sanchez
Erledigt, war ein Komma zu viel im PHP code. ;)

Lg, san~