使用Community Auth Codeigniter身份验证包。
登录后,我收到以下查看错误:
请求的驱动程序无效:Session_session_id
我查看了文档并搜索了一个没有运气的解决方案。
配置文件:http://pastebin.com/Nn7JeUDB
Debug设置为2.输出为:
DEBUG - 2016-01-17 06:15:32 --> CI_Session routines successfully run
DEBUG - 2016-01-17 06:15:32 --> Database Driver Class Initialized
DEBUG - 2016-01-17 06:15:32 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-01-17 06:15:32 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2016-01-17 06:15:32 --> Encryption: OpenSSL initialized with method AES-128-CBC.
DEBUG - 2016-01-17 06:15:32 --> Encryption Class Initialized
DEBUG - 2016-01-17 06:15:32 --> Model Class Initialized
DEBUG - 2016-01-17 06:15:32 --> Model Class Initialized
DEBUG - 2016-01-17 06:15:32 --> Controller Class Initialized
DEBUG - 2016-01-17 06:15:32 --> XSS Filtering completed
DEBUG - 2016-01-17 06:15:32 --> XSS Filtering completed
ERROR - 2016-01-17 06:15:32 --> Invalid driver requested: Session_session_id
Session Config.php
$config['sess_driver'] = 'cookie';
$config['sess_valid_drivers'] = array();
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;