Code:
Type: 20
File: (Line no. 0)
Message
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 p.dateline > IFNULL(fr.dateline,)
AN' at line 8
Query: SELECT 1
FROM yg98z_posts p
INNER JOIN yg98z_threads t ON (p.tid = t.tid)
LEFT JOIN yg98z_threadsread tr ON (tr.uid = 0 AND t.tid = tr.tid)
LEFT JOIN yg98z_forumsread fr ON (fr.uid = 0 AND t.fid = fr.fid)
WHERE p.visible = 1
AND t.visible = 1 AND t.fid NOT IN
('4','17','57','3','5','6','13','16','7','8','9','10','11','12','62','14','15','18','24','22','19','20','21','32','34','40','41','42','43','44','48','58','59','60','61')
AND p.dateline > IFNULL(tr.dateline,)
AND p.dateline > IFNULL(fr.dateline,)
AND p.dateline >
LIMIT 501
Back Trace: #0 errorHandler->email_error(20, 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 p.dateline > IFNULL(fr.dateline,)
AN' at line 8
Query: SELECT 1
FROM yg98z_posts p
INNER JOIN yg98z_threads t ON (p.tid = t.tid)
LEFT JOIN yg98z_threadsread tr ON (tr.uid = 0 AND t.tid = tr.tid)
LEFT JOIN yg98z_forumsread fr ON (fr.uid = 0 AND t.fid = fr.fid)
WHERE p.visible = 1
AND t.visible = 1 AND t.fid NOT IN
('4','17','57','3','5','6','13','16','7','8','9','10','11','12','62','14','15','18','24','22','19','20','21','32','34','40','41','42','43','44','48','58','59','60','61')
AND p.dateline > IFNULL(tr.dateline,)
AND p.dateline > IFNULL(fr.dateline,)
AND p.dateline >
LIMIT 501, , 0) called at
[/www/htdocs/w01ae00a/the-storyteller.eu/inc/class_error.php:195]
#1 errorHandler->error(20, Array ([error_no] => 1064,[error] => 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 p.dateline > IFNULL(fr.dateline,)
AN' at line 8,[query] => SELECT 1
FROM yg98z_posts p
INNER JOIN yg98z_threads t ON (p.tid = t.tid)
LEFT JOIN yg98z_threadsread tr ON (tr.uid = 0 AND t.tid = tr.tid)
LEFT JOIN yg98z_forumsread fr ON (fr.uid = 0 AND t.fid = fr.fid)
WHERE p.visible = 1
AND t.visible = 1 AND t.fid NOT IN
('4','17','57','3','5','6','13','16','7','8','9','10','11','12','62','14','15','18','24','22','19','20','21','32','34','40','41','42','43','44','48','58','59','60','61')
AND p.dateline > IFNULL(tr.dateline,)
AND p.dateline > IFNULL(fr.dateline,)
AND p.dateline >
LIMIT 501)) called at
[/www/htdocs/w01ae00a/the-storyteller.eu/inc/db_mysqli.php:597]
#2 DB_MySQLi->error(SELECT 1
FROM yg98z_posts p
INNER JOIN yg98z_threads t ON (p.tid = t.tid)
LEFT JOIN yg98z_threadsread tr ON (tr.uid = 0 AND t.tid = tr.tid)
LEFT JOIN yg98z_forumsread fr ON (fr.uid = 0 AND t.fid = fr.fid)
WHERE p.visible = 1
AND t.visible = 1 AND t.fid NOT IN
('4','17','57','3','5','6','13','16','7','8','9','10','11','12','62','14','15','18','24','22','19','20','21','32','34','40','41','42','43','44','48','58','59','60','61')
AND p.dateline > IFNULL(tr.dateline,)
AND p.dateline > IFNULL(fr.dateline,)
AND p.dateline >
LIMIT 501) called at
[/www/htdocs/w01ae00a/the-storyteller.eu/inc/db_mysqli.php:337]
#3 DB_MySQLi->query(SELECT 1
FROM yg98z_posts p
INNER JOIN yg98z_threads t ON (p.tid = t.tid)
LEFT JOIN yg98z_threadsread tr ON (tr.uid = 0 AND t.tid = tr.tid)
LEFT JOIN yg98z_forumsread fr ON (fr.uid = 0 AND t.fid = fr.fid)
WHERE p.visible = 1
AND t.visible = 1 AND t.fid NOT IN
('4','17','57','3','5','6','13','16','7','8','9','10','11','12','62','14','15','18','24','22','19','20','21','32','34','40','41','42','43','44','48','58','59','60','61')
AND p.dateline > IFNULL(tr.dateline,)
AND p.dateline > IFNULL(fr.dateline,)
AND p.dateline >
LIMIT 501) called at
[/www/htdocs/w01ae00a/the-storyteller.eu/inc/plugins/unreadPosts.php:583]
#4 unreadPosts::modifyOutput