I can tell that the second error is directly related to the first one. Because it is not making connection to the database, naturally, the selection of any table in that database is not going to be there.
The question is the MySQL connection script on the page... is there anything different in the paths or other attributes that is different from other pages that also connect to the same database. I would compare the connection first to other pages that you know are working. Also, you may want to actually post the code here... several people could take a look here to see if anything looks out of place.