CakePHP is displaying An Internal Error Has Occurred. but doesn't provide me with any information at all about it.
Even when I through an exception like this I still getting the same message An Internal Error Has Occurred.
throw new Exception("Error connecting with the database.");
I'm already using Configure::write('debug', 2); in my core.php
My php.ini contains display_errors = On and I even tried using the following in the controller's action:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
In order to Enable errors in cakephp.
Edit
config/app.phpchange this
to this
That's it now all errors will be shown.