Redirect to index.php/sessions/login

I’ve upgraded from IP 5 to 6 on a local server.
After some tweaks with the logo error it’s working except that the app redirects every 5 to 10 second to index.php/sessions/login whenever I click a link in the app.
I’ve seen someone else in the forum also had this problem but I don’t understand how to solve this.
I’ve raised the session delay in the config.php file put it doesn’t solve the problem.

Could you help in setting the values correctly in config;php ?
Current values :

$config['sess_driver'] = env('SESS_DRIVER', 'files');
$config['sess_table_name'] = env('SESS_DRIVER', 'ip_sessions');
$config['sess_cookie_name'] = env('SESS_DRIVER', 'ip_session');
$config['sess_expiration'] = env('SESS_EXPIRATION', 864000);
$config['sess_save_path'] = sys_get_temp_dir();
$config['sess_match_ip'] = env('SESS_MATCH_IP', false);
$config['sess_time_to_update'] = 300000;
$config['sess_regenerate_destroy'] = FALSE;

Config : invoice plane 1.6.0 / PHP 8.1.2 / mysql 8.0.33


Welcome back,
Let’s do some troubleshooting first:
sys_get_temp_dir() , hardcode it to a directory on your server
I don’t know why, but you may need to set your cookie_path: $config['cookie_path'] = '/';

thanks for your help. I did not succeed with your code so finally I reinstalled using a prepackaged “softaculous” bundle of IP 6 and it works !

1 Like