After a hard disc crash my host transferred my site to another server. After that I receive the following message when I scan the database via the admin control. Also my users get the same warning when they try to upload a photo....the upload is succesfull, so no problem there, but how do I get rid of the error message?
Preparing to update categories with photo and posts information...
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/joosenr/public_html/pp-inc.php on line 2892
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/joosenr/public_html/pp-inc.php on line 2893
This is the text in pp_inc on line 2893
$lastc = ppmysql_query($query2, $link);
$catposts = mysql_num_rows($lastc);
list( $lastpostby, $lastpostbyid, $lastposttime, $lastpostlink ) = mysql_fetch_row($lastc);