R
R
Relike2015-09-18 00:51:35
CodeIgniter
Relike, 2015-09-18 00:51:35

How to fix Codeigniter 3.0.1 sessions?

Codeigniter 3.0.1 complains about the session file driver.

A PHP Error was encountered

Severity: Error

Message: Maximum execution time of 30 seconds exceeded

Filename: drivers/Session_files_driver.php

Line Number: 199

Specified in the config:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'storage';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;

The storage folder is in the root of the site with permissions 0700 and host www-data.
I don't know what to do anymore, please help me.
PS What do I use CI3 for at work and there is no such error ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sbh, 2015-09-18
@sbh

Well, look at line 199.
Try increasing the execution time to more than 30 seconds.

A
Artem Spiridonov, 2015-09-18
@customtema

Your script is stuck. IMHO, it's not about CI.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question