error catch for no config.php