PDA

View Full Version : mysql errors and warnings


AllKnightAccess
09-27-2004, 01:43 AM
trying to run "clean index", i get this error:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /.../admin/cleanup_engine.php on line 60

trying to update a site, i get this error:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /.../admin/update.php on line 138

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /.../admin/update.php on line 140

and i am unable to login to update at all.

Charter
09-30-2004, 10:37 AM
Using a fresh install?

AllKnightAccess
09-30-2004, 12:24 PM
Yes. It was a fresh install.

Charter
09-30-2004, 12:32 PM
Never had those errors with a fresh install. Can you provide any further details?

AllKnightAccess
09-30-2004, 02:15 PM
What kind of info would be helpful in particular?

AllKnightAccess
10-11-2004, 04:19 AM
adding mysql_error() to the code, I get this message:

'nuke_phpdig_spider.spider_id' isn't in GROUP BY

what does that mean? Is the code really incorrect?

Should the query be

GROUP BY path, spider_id

instead of

GROUP BY path ?