Make sure errors are logged in server error log.

This should prevent not having errors in apache log when there is blank page.