[eluser]jtreminio[/eluser]
Just noticed this last night.
If I attempt to call a method without using the $this variables, of course there's a fatal PHP error that stops all script execution. This is expected.
What I wasn't expecting is that CI is not echoing the errors to my browser, or the error log.
Example:
Code:
class Confirm extends CI_Controller
{
public function index()
{
echo blah();
}
public function blah()
{
return "aa";
}
}
It should be:
PHP fatal error, no errors printed to screen.
My settings are
config.php
$config['compress_output'] = FALSE;
index.php
define('ENVIRONMENT', 'development');
.htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
Anyone have any ideas where else I can look to force it to spit out all errors?