Welcome Guest, Not a member yet? Register   Sign In
Session Error
#1

[eluser]Unknown[/eluser]
Hello guys,
i have problem in my session:
when i load my session library in autoload.php

Code:
$autoload['libraries'] = array('database',  'email',  'form_validation', 'session');

so this error occurs:
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\wamp\www\ci_you_register\application\controllers\user.php:186)
Filename: core/Common.php
Line Number: 442
In order to use the Session class you are required to set an encryption key in your config file.

so i set my encryption_key in config.php,
but when i set a key another error appears...

Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\wamp\www\ci_you_register\application\controllers\user.php:186)
Filename: libraries/Session.php
Line Number: 671
#2

[eluser]JOELMANX[/eluser]
Thanks to all, this post was me of much help for me




Theme © iAndrew 2016 - Forum software by © MyBB