[eluser]Peterk[/eluser]
basically what's happening is that I set a cookie with the pass/login encrypted. Then when the user clicks the "remember me" checkbox I use get_cookie('whatever') to grab that pass/login from the cookie.
Now what happens is that when the cookie is encrypted, it returns the encrypted values of "whatever_df84545345" , so that's what shows up in the text fields for pass/login.
When I decode the information in the cookie via:
$this->encrypt->decode(get_cookie('whatever')); it looks right in the pass/login text fields and works fine for established users.
Now when a NEW USER tries to sign up for the site, I get:
Fatal error: Call to a member function decode() on a non-object in codeigniter/system/application/views/forms/login_form.php on line 13
for whatever line I have this on: $this->encrypt->decode(get_cookie('whatever'));