$this->db->select("FROM_UNIXTIME( LOGTIME, '%D %M %Y') AS date");
And how to fix it, is by adding FALSE on db select like example below:
$this->db->select("FROM_UNIXTIME( LOGTIME, '%D %M %Y') AS date", FALSE);
$this->db->select("FROM_UNIXTIME( LOGTIME, '%D %M %Y') AS date");
$this->db->select("FROM_UNIXTIME( LOGTIME, '%D %M %Y') AS date", FALSE);
- $autoload['libraries'] = array();2. Edit file application/config/config.php line 228 by editing key
+ $autoload['libraries'] = array('database', 'session');
- $config['encryption_key'] = '';And it works!
+ $config['encryption_key'] = '123456789'; // add ur key here
- $config['index_page'] = 'index.php';2. create new .htaccess file on the root folder, then add below snippet:
+ $config['index_page'] = '';
RewriteEngine onThat is it.. =)
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]