added error reporting in config.php