I'm not sure how this started. I was checking over my site and when I click on any thumbnail I get the message.. "Photo not found in the database!"
I checked the error log and this is what I found..
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/pp-inc.php on line 901
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/forums/phpbb2.php on line 616
[19-Dec-2005 09:56:46] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/forums/phpbb2.php on line 82
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/index.php on line 146
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/index.php on line 149
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/index.php on line 164
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/forums/phpbb2.php on line 571
[19-Dec-2005 09:56:46] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/pp-inc.php on line 756
[19-Dec-2005 09:56:46] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/pp-inc.php on line 759
[19-Dec-2005 09:56:46] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/fluffy33/public_html/showmytank/pp-inc.php on line 756
Then later on this...
[19-Dec-2005 13:27:39] PHP Warning: main(pp-inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/fluffy33/public_html/showmytank/showphoto.php on line 16
[19-Dec-2005 13:27:39] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'pp-inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fluffy33/public_html/showmytank/showphoto.php on line 16
I've been checking over everything for hours. I did modify my menubar and header recently. But I really don't know what I did.. I hope you guys can give me a lead as to what to look for.