Fixed more PHP 5.4 errors
Removed a non-exsitent database type from the newly added DB exception handler