Type: UnexpectedValueException
Message: Session: Configured driver 'files' was not found. Aborting.
Filename: /var/www/html/m-ticket/system/libraries/Session/Session.php
Line Number: 230
Backtrace:
File: /var/www/html/m-ticket/application/controllers/Home.php Line: 8 Function: __construct
File: /var/www/html/m-ticket/index.php Line: 292 Function: require_once
I copied this project from Windows and I would like to put it in Linux' localhost/m-ticket (/var/www/html/m-ticket) and I changed base_url localhost/m-ticket but I still got the error.
I read this Session: Configured driver 'files' was not found. Aborting
but it doesn't solve my problem
this is my autoload.php
defined('BASEPATH') OR exit('No direct script access allowed');
$autoload['packages'] = array();
$autoload['libraries'] = array('database','session');
$autoload['drivers'] = array('files');
$autoload['helper'] = array('file');
$autoload['config'] = array();
$autoload['language'] = array();
$autoload['model'] = array();
and also there's a helper in one of controllers
$this->load->helper(array('form', 'url', 'file', 'html', 'text', 'tgl', 'date'));
if I delete files from drivers autoload, it back to the Type: UnexpectedValueException
fileswas not found , as it is a helper not a driver , show us your autoload file - Arsh Singhfilenotfiles,,, always do check the user guide for codeigniter : codeigniter.com/user_guide - Arsh Singhfileswithfilein helper , let me post it as answer , with details - Arsh Singh