By stephtek on
My install of Drupal (6.2) is spitting out the following error:
warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/bennysbuddies.com/htdocs/includes/common.inc(1537) : eval()'d code on line 10.
The site seems to be functioning correctly. What could this error be and how might I fix it?
Comments
You have a block (or
You have a block (or possibly a node) that contains PHP code that has an error on line 10.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
Hmm... how do I know which
Hmm... how do I know which one?
You don't, but there
You don't, but there probably aren't that many blocks that have PHP code in the content or in the visibility settings. Try disabling some to check which is causing the problem.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
alternate about db related queries
In drupal 6 mysql_query=db_query and mysql_num_result=db_result and mysql_fetch_array=db_fetch_array