Sounds like your not able to connect to the database.
Not nessessarily, there are plenty of reasons why an error would be triggered, such as not sending the forum id variable with request; there are plenty of reasons that the errors popup; just search around and you can find quite a few

...
Well, you tell us what the logs say, we'll tell you how to fix it

.