php - session_start() is causing problems in CodeIgniter 3.0 -


i have problem cas authentication library in ci3. in ci2.x worked ci3, session has been re-designed , seems have problems library.

this error get:

a php error encountered  severity: runtime notice  message: session_start() [function.session-start]: not safe rely on system's timezone settings. please use date.timezone setting, tz environment variable or date_default_timezone_set() function. in case used of methods , still getting warning, misspelled timezone identifier. selected 'europe/paris' '1.0/no dst' instead  filename: cas/client.php    php error encountered  severity: error  message: session_start() [function.session-start]: failed initialize storage module: user (path: c:\windows\temp)  filename: cas/client.php 

here config.php settings:

$config['sess_driver'] = 'database'; $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_save_path'] = 'ci_sessions'; $config['sess_match_ip'] = false; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = false; 

note i'm using table called 'ci_sessions' in database store session stated in ci3 user manual. works once load cas library previous error in session_start() line.

cas library info https://github.com/eliasdorneles/code-igniter-cas-library wrote code integrate phpcas codeigniter 2.x no longer mantained nor updated ci3.

for me, mandatory use cas authentication method, ideas on how fix error or use alternative cas client?

thank much.

this indirectly connected session functions. update php.ini timezone:

[date] ; defines default timezone used date functions ; http://php.net/date.timezone date.timezone = europe/berlin 

Comments