[eluser]Dionysius[/eluser]
I have a problem with this topic.
My config.php:
Code:
$config['sess_cookie_name'] = 'sl_session';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = TRUE;
$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;
My $config['base_url'] is "<host>/<path>";
autoload.php:
Code:
$autoload['libraries'] = array( 'database', 'session' );
$autoload['helper'] = array( 'url', 'html' );
Then I go to <mySite> and Welcome controller is loaded (cookies are set). When I reload this page I get this error
Quote:A PHP Error was encountered
Severity: Warning
Message: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize
Filename: libraries/Encrypt.php
Line Number: 283
I have no any hacks, modifications, or extensions. I use clear CI 1.7.0