Welcome Guest, Not a member yet? Register   Sign In
Upgrade problem
#1

[eluser]Leonel Folmer[/eluser]
Hi everyone, I recently upgraded from version 1.7.3 to 2.0. I got this error:

An Error Was Encountered
In order to use the Session class you are required to set an encryption key in your config file.

I have a CRUD with sessions, but I do not want to use the Encryption Class. Also in my config.php file I have set like this:

Code:
$config['encryption_key'] = "";

Anyone know what this is? need some help please.
#2

[eluser]bubbafoley[/eluser]
you don't have to use the encryption class but the session library requires a key. just put one in there and you'll be good to go.

this link generates random keys and even has a CI section: http://randomkeygen.com/
#3

[eluser]JuanitoDelCielo[/eluser]
CI uses to make safer the use of the sessions
#4

[eluser]Leonel Folmer[/eluser]
[quote author="bubbafoley" date="1300412450"]you don't have to use the encryption class but the session library requires a key. just put one in there and you'll be good to go.

this link generates random keys and even has a CI section: http://randomkeygen.com/[/quote]

Thanks guys, I had put a key, but a question mark giving a error like this: domain.com/categories/article/?./1 in my url. I solved the problem by putting a key and config to enable query strings to false like this:
Code:
$config['enable_query_strings'] = FALSE;

Now everything works perfectly, thank again.




Theme © iAndrew 2016 - Forum software by © MyBB