You need to look in the folders and find the error_log or php_errors file for the real error.

Sounds like a memory or mysql timeout problem. Just guessing tho.