[drupal-support] SQL error after upgrade to 4.5.2

Gerhard Killesreiter killesreiter at physik.uni-freiburg.de
Tue Feb 8 00:11:42 UTC 2005



On Mon, 7 Feb 2005, Erik Steffl wrote:

> --------------- cut here --------------
> user 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 '' at line 1
> query: SELECT * FROM aggregator_item WHERE fid = 0 ORDER BY timestamp
> DESC, iid DESC LIMIT 0,  in
                         ^^^ There should be another number, like 20.

$result = db_query_range('SELECT * FROM {aggregator_item} WHERE fid = %d
ORDER BY timestamp DESC, iid DESC', $feed->fid, 0, $feed->block);

$feed->block does not seem to be set.

Maybe you db update didn't work out.

Cheers,
	Gerhard



More information about the drupal-support mailing list