Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] - SESSION: [function.serialize]: Node no longer exists
#1

[eluser]mindprojects[/eluser]
Hi guys,i'm using CI 1.6.3 under XAMPP(win).I have this error about sessions,when i'm going back from a payment gateway.My app is running locally now.

Code:
A PHP Error was encountered

    Severity: Warning

    Message: serialize() [function.serialize]: Node no longer exists

    Filename: libraries/Session.php

    Line Number: 296

I found this:
http://ellislab.com/forums/viewthread/87609/
but couldn't help me.

My current config is:

$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0;
$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'] = FALSE;
$config['sess_time_to_update'] = 3000;

$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/backoffice";

Any solution???Thanks
#2

[eluser]mindprojects[/eluser]
Help please!!!
#3

[eluser]mindprojects[/eluser]
Hi All!

I found that i was getting an empty GET value from the payment gateway,causing an hidden undefined variable warning and consequently problems with sessions.

So while processing GET parameters replaced this:

Code:
foreach($_GET as $key=>$val)
    {
        if (!empty($url)) $url.= "&";
        $url.= $key."=".$value."";
    }

with this:
Code:
foreach($_GET as $key=>$val)
    {
        $value = $val;
        if (!empty($url)) $url.= "&";
        $url.= $key."=".$value."";
    }

Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB