Hi David
One of my sites was working fine then after uploading anoyher file to the data base I get these warnings
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/shoppin/public_html/includes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/shoppin/public_html/includes/database.php on line 26
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/shoppin/public_html/includes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/shoppin/public_html/includes/database.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at /home/shoppin/public_html/includes/database.php:21) in /home/shoppin/public_html/html/header.php on line 13
and there are products in the data base but the dta base still has the merchant names
Thanks
Dean
Hi David
The repair file did the trick thank you. Your response is fantastic
Thank You
Dean
Hello Dean,
It is of course possible that your products table has crashed - no database is totally immune to this happening; it could be because of a bad sector on your servers hard disk, for example.
I'll email you the debug version of database.php which will indicate the exact MySQL error message (including whether or not the table has crashed) which will help work out the solution...
Cheers,
David.