[eluser]global_erp_solution[/eluser]
Hi,
When I was running my web app, I suddenly got an error. The controller is very simple:
Code:
<?php
class Home_controller extends CI_Controller{
public function __construct(){
parent::__construct();
}
public function index(){
$this->load->view('welcome');
}
}
and the view:
Code:
<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
Success
</body>
</html>
but instead, I got this error saying : "In order to use the Session class you are required to set an encryption key in your config file." I didn't even set any session at this stage. What's wrong? thanks