You can close the forums directly by editing the includes/config.inc.php. Just set the BOARD_IS_CLOSED to 1. However, some of those SQL errors might come up before the closed message can even be displayed. I'm not positive on that, but just a note.