php - Error Session File Driver in CodeIgniter 3 -


i new developer of codeinger, last few month had developed project php framework called codeigniter. problem when tried upgrade project version 2 3 i've found 1 concerning error session.

note: using google cloud hosting.

here message :

a php error encountered  severity: warning  message: mkdir(): local filesystem readonly, mkdir failed  filename: drivers/session_files_driver.php  line number: 117  backtrace:  file: /base/data/home/apps/s~chatomuk-staging/13.383916973498394810/index.php line: 292 function: require_once 

i have tries more 3 hours solve there no answer.

could tell me problem ?

url : http://chatomuk-staging.appspot.com/

you need set 2 parameter in config.php file

$config['sess_driver'] = 'database';  $config['sess_save_path'] = 'ci_sessions';  $config['sess_use_database'] = true; 

before check session table exist or not in database if not exist create

create table if not exists ci_sessions ( session_id varchar(40) default '0' not null, ip_address varchar(45) default '0' not null, user_agent varchar(120) not null, last_activity int(10) unsigned default 0 not null, user_data text not null, primary key (session_id), key last_activity_idx (last_activity) );