ErrorException [ Fatal Error ]:
Uncaught exception
'Fuel\Core\FuelException' with message 'Unable to create or write to
the log file. Please check the permissions on
/var/www/html/blog/fuel/app/logs/. (mkdir(): Permission denied)' in
/var/www/html/blog/fuel/core/classes/log.php:77
Stack trace:
#0 [internal function]: Fuel\Core\Log::_init()
#1 /var/www/html/blog/fuel/core/classes/autoloader.php(364):
call_user_func('Log::_init')
#2 /var/www/html/blog/fuel/core/classes/autoloader.php(247):
Fuel\Core\Autoloader::init_class('Log')
#3 [internal function]: Fuel\Core\Autoloader::load('Log')
#4 /var/www/html/blog/fuel/core/base.php(98): spl_autoload_call('Log')
#5 /var/www/html/blog/fuel/core/classes/error.php(120): logger(400,
'Error - date_de...')
#6 /var/www/html/blog/fuel/core/bootstrap.php(82):
Fuel\Core\Error::exception_handler(Object(Fuel\Core\PhpErrorException))
#7 [internal function]: {closure}(Object(Fuel\Core\PhpErrorException))
#8 {main}
thrown
72 $handle = fopen($filename, 'a');
73 }
74 catch (\Exception $e)
75 {
76 \Config::set('log_threshold', \Fuel::L_NONE);
77 throw new \FuelException('Unable to create or write to the log file. Please check the permissions on '.\Config::get('log_path').'. ('.$e->getMessage().')');
78 }
79
80 if ( ! filesize($filename))
81 {
82 fwrite($handle, "<?php defined('COREPATH') or exit('No direct script access allowed'); ?>".PHP_EOL.PHP_EOL);
It looks like you're new here. If you want to get involved, click one of these buttons!