From: Kevin <ke...@dr...> - 2006-05-18 20:34:53
|
> On 5/18/06, Kevin <ke...@dr...> wrote: >> * disable debug in config.php >> * login and go to the page that throws the error in view.php line 83 >> * enable debug in config.php >> * refresh the page and see what it prints out. I'm interested in >> non-zero >> error codes after it prints out an sql query. >> >> "Error (NNN): something blew up..." > > The following error was displayed before the link box. > (mysql): SELECT name, value FROM fr_config > Error (0): > > Warning: Cannot modify header information - headers already sent by > (output started at > /var/www/fofredux_0.4-dev/adodb_lite/adodb.inc.php:307) in > /var/www/fofredux_0.4-dev/header.php on line 83 > > then after the search field but before the feeds listing the following > error was displayed: > > (mysql): select feed.id, feed.url, feed.title, feed.link, > feed.category_id, cat.title as category_title, feed.latitude, > feed.longitude, feed.update_enabled, feed.last_update from fr_feeds > feed, fr_categories cat WHERE cat.id =3D feed.category_id > Error (0): > > (mysql): SELECT COUNT( i.feed_id ) as count, i.feed_id as id FROM > fr_feeds f, fr_items i WHERE f.id =3D i.feed_id AND (flag is null OR > flag =3D 0) GROUP BY i.feed_id > Error (0): > > (mysql): select count( feed_id ) as count, feed_id as id from fr_feeds > f, fr_items i where f.id =3D i.feed_id group by i.feed_id > Error (0): Okay, so this is the queries that happen on the panel/index page. Try hitting a link for unread items on a feed. What are the queries/errors when view.php is run. --=20 Kevin |