I am moving my CodeIgniter site from live server to localhost. I have downloaded the files via ftp and database file from Phpmyadmin then i set everything and configured database. But the problem is only my homepage is accessible no login or form submission is happening whatever i do i am redirected to home but that is not the case on live server. I cant understand whats the issue why its working perfectly fine on live server but not on localhost.
I think the problem is that sessions are not working because i cant login. Below are my config file session settings.
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 86400; //7200
$config['sess_save_path'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = FALSE;
$config['sess_time_to_update'] = 300; //300
$config['sess_regenerate_destroy'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['cookie_prefix'] = 'app';
$config['cookie_domain'] = 'localhost';
$config['cookie_path'] = '/app/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;