Wer kann mir bei diesen Fehlern helfen?
Error sql_query():
qry: SELECT COUNT(msg_id) AS total FROM {prefix}_priv_msgs, {prefix}_users.uname as fromname FROM {prefix}_priv_msgs LEFT JOIN {prefix}_users ON {prefix}_priv_msgs.from_userid = {prefix}_users.uid WHERE (to_userid = 2) order by msg_time desc
descr: 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 'FROM {prefix}_priv_msgs LEFT JOIN {prefix}_users ON {prefix}_priv_msgs.from_userid ' at line 1 ( mysql 1064 )
details:
file: /modules/Private_Messages/index.php # line: 109, cmd: sql_query(SELECT COUNT(msg_id) AS total FROM mx42187_priv_msgs, mx42187_us...),
file: /modules/Private_Messages/index.php # line:1231, cmd: msgindex(SELECT COUNT(msg_id) AS total FROM mx42187_priv_msgs, mx42187_us..., 2),
file: /modules.php # line: 136, cmd: include_once(SELECT COUNT(msg_id) AS total FROM mx42187_priv_msgs, mx42187_us..., 2, /modules/Private_Messages/index.php),
Error sql_fetch_row():
descr: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
details:
file: /modules/Private_Messages/index.php # line: 110, cmd: sql_fetch_row(false),
file: /modules/Private_Messages/index.php # line:1231, cmd: msgindex(false, 2),
file: /modules.php # line: 136, cmd: include_once(false, 2, /modules/Private_Messages/index.php),
Error sql_query():
qry: select msg_id, msg_image, subject, from_userid, to_userid, UNIX_TIMESTAMP(msg_time) as msgtimestamp, msg_text, read_msg from {prefix}_priv_msgs, {prefix}_users.uname as fromname FROM {prefix}_priv_msgs LEFT JOIN {prefix}_users ON {prefix}_priv_msgs.from_userid = {prefix}_users.uid WHERE (to_userid = 2) order by msg_time desc; ASC LIMIT 0, 20
descr: 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 'FROM {prefix}_priv_msgs LEFT JOIN {prefix}_users ON {prefix}_priv_msgs.from_userid ' at line 1 ( mysql 1064 )
details:
file: /modules/Private_Messages/index.php # line: 111, cmd: sql_query(select msg_id, msg_image, subject, from_userid, to_userid, UNIX_...),
file: /modules/Private_Messages/index.php # line:1231, cmd: msgindex(select msg_id, msg_image, subject, from_userid, to_userid, UNIX_..., 2),
file: /modules.php # line: 136, cmd: include_once(select msg_id, msg_image, subject, from_userid, to_userid, UNIX_..., 2, /modules/Private_Messages/index.php),
Als Anhang die dazugehörige index.php
[gelöscht durch Administrator]