2008-08-18, 03:53 PM
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 ''29834 ORDER BY dateline DESC LIMIT 0, 1' at line 1
Query:
SELECT pid FROM posts WHERE tid='29834 ORDER BY dateline DESC LIMIT 0, 1
In showthread.php, find:
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 ''29834 ORDER BY dateline DESC LIMIT 0, 1' at line 1
Query:
SELECT pid FROM posts WHERE tid='29834 ORDER BY dateline DESC LIMIT 0, 1
In showthread.php, find:
$query = $db->simple_select("posts", "pid", "tid='{$nextthread['tid']}", $options);
Replace with:$query = $db->simple_select("posts", "pid", "tid='{$nextthread['tid']}'", $options);