edit ubbthreads.php to use
PHP Code
error_reporting(E_ALL); 
instead of the line currently at the top