When I run the following locally, I get the backtrace:
$ php oil r install
#0 /munin/Development/____/fuel/core/classes/security.php:52 Fuel\Core\Debug::backtrace()
#1 [internal function] Fuel\Core\Security::_init()
#2 /munin/Development/____/fuel/core/classes/autoloader.php:377 call_user_func()
#3 /munin/Development/____/fuel/core/classes/autoloader.php:249 Fuel\Core\Autoloader::init_class()
#4 [internal function] Fuel\Core\Autoloader::load()
#5 /munin/Development/____/fuel/core/classes/fuel.php:186 spl_autoload_call()
#6 /munin/Development/____/fuel/app/bootstrap.php:35 Fuel\Core\Fuel::init()
#7 /munin/Development/____/oil:62 require()
When I run it on heroku, it doesn't run. I just get the same HTML output:
$ heroku run php oil r install
Running php oil r install on ______... up, run.8612
<!DOCTYPE html>
<html>
<head>
..etc...
set_exception_handler(function ($e)
{
// reset the autoloader
\Autoloader::_reset();
// deal with PHP bugs #42098/#54054
if ( ! class_exists('Errorhandler'))
{
include COREPATH.'classes/errorhandler.php';
class_alias('\Fuel\Core\Errorhandler', 'Errorhandler');
class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException');
}
return \Errorhandler::exception_handler($e); // line 93
});
if (\Fuel::$env == 'development') {
if (file_exists(APPPATH.'.env')) {
$dotenv = new Dotenv\Dotenv(APPPATH);
$dotenv->load();
}
}
// Initialize the framework with the config file.
\Fuel::init('config.php');
It looks like you're new here. If you want to get involved, click one of these buttons!