Post by giosol81 » Tue Dec 01, 2009 12:21 am

I have a fresh 1.3.4 opencart installation on a virtual host linux.

My problem is that my session is empty on each request. I suppose that because for example when I change currency or language it doesn't change.

For example in this part of code in system/language.php it always goes into the last else:
if ($code) {
$this->code = $code;
} else {
if (isset($this->session->data['language']) && array_key_exists($this->session->data['language'], $this->languages)) {
$this->set($this->session->data['language']);
} elseif (isset($this->request->cookie['language']) && array_key_exists($this->request->cookie['language'], $this->languages)) {
$this->set($this->request->cookie['language']);
} elseif ($browser = $this->detect()) {
$this->set($browser);
} else {
$this->set($this->config->get('config_language'));
}
}


Any help pls?
Thks.

Newbie

Posts

Joined
Thu Jul 09, 2009 12:21 am

Post by giosol81 » Thu Dec 03, 2009 7:32 am

Sorry.
Can anybody help me?
Do you need more info about the problem?

Thanks.

Newbie

Posts

Joined
Thu Jul 09, 2009 12:21 am
Who is online

Users browsing this forum: No registered users and 5 guests