[Thu Oct 04 21:50:04 2007] [error] [client xx.xx.xx.xx] [Thu Oct 4 21:50:04 2007] wakaba.pl: DBD::mysql::st execute failed: 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 ''0', '10'' at line 1 at wakaba.pl line 1599., referer: http://domain.net/board/wakaba.pl?task=admin
This is happening on a board that has been up and working properly for quite some time now.
Line 1599 of our wakaba.pl is this:
$sth->execute($page * $threadsperpage, $threadsperpage) or make_error(S_SQLFAIL);