Post by Charlie2000 » Tue Apr 10, 2012 11:32 am

Hello,

I've just created a website with e commerce there:
http://13styx.com/sofrench/upload/

Everything is going well, very happy with it but I've just registered a user and I can't seem to stay logged in. (ie: If I login and then browse to another page, I'm asked to log in again) I've tried different browsers and computers and I'm having the same issue.

Anyone knows what's going on ?

thanks!\

running v1.5.1.3

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Avvici » Tue Apr 10, 2012 1:29 pm

This is not behavior known to the default install of OC. It is however known behavior in past post's I have seen for custom templates. Your install logs you out when you move about in route=account/whatever.....or if you attempt to checkout. Wouldn't take much to look at why the session is being unset. Am speaking about the session that is created once you login.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by Charlie2000 » Tue Apr 10, 2012 2:42 pm

thanks for your reply.

would you be able to refer me to another post regarding the subject ?

I'm not great with coding, which is why I got interested in Opencart in the first place...

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Charlie2000 » Wed Apr 11, 2012 8:25 am

any help would be appreciated!

Edit: (If someone could just briefly explained how to check the error that unsets the session, that'd be great)

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Charlie2000 » Wed Apr 11, 2012 1:31 pm

anyone please ?! I've been looking for an answer to this everywhere for the past two days and can't find anything.

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Avvici » Wed Apr 11, 2012 2:00 pm

Have you checked your error logs in admin? That would be a start.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by Charlie2000 » Wed Apr 11, 2012 2:14 pm

I have and this one error that I think is unrelated:


2012-04-11 5:27:02 - PHP Notice: Undefined variable: return_to in /home/styxcom/public_html/sofrench/upload/admin/view/template/module/sellegance.tpl on line 439

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Charlie2000 » Wed Apr 11, 2012 2:17 pm

Charlie2000 wrote:I have and this one error that I think is unrelated:


2012-04-11 5:27:02 - PHP Notice: Undefined variable: return_to in /home/styxcom/public_html/sofrench/upload/admin/view/template/module/sellegance.tpl on line 439

The line is this:
<input type="hidden" name="return_to" id="return_to" value="<?php echo $return_to?>" />


I've tried deleting it and it doesn't change anything.

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Avvici » Wed Apr 11, 2012 4:01 pm

Get on skype and I can help you. It's free chat. My skype is Involution Media. Add me

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by fili » Thu Apr 12, 2012 12:47 am

i think is about session problem, not every user have the same problem

at yesterday i have same problem, and already solve it

it's about server issue, maybe you can contact your hosting provider to turn off
cache (facility) from your server / cpanel,

it's work.. just contact your hosting provider. to turnoff cache setting special on your hosting / cpanel

or do some trick at session.php in \system\library\ move the session folder you can googling at this forum
but it doesnt neat solution

User avatar
New member

Posts

Joined
Tue May 04, 2010 10:35 pm

Post by Charlie2000 » Fri Apr 13, 2012 8:14 am

I talked to my hosting tech support and they said it wasn't related to them.

can you be more specific about that trick on session.php ?

I've added you on Skype avvici, thank you.

Newbie

Posts

Joined
Tue Apr 10, 2012 11:27 am

Post by Avvici » Fri Apr 13, 2012 12:09 pm

They might be lying. I just tested your theme you sent me on a fresh version of Open Cart on my own server, and I was able to stay logged in. Try reinstalling Open cart, upload your theme and if it still doesn't work then call them. I believe that your PHP version needs to be reinstalled.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by MarketInSG » Fri Apr 13, 2012 2:03 pm

avvici wrote:They might be lying. I just tested your theme you sent me on a fresh version of Open Cart on my own server, and I was able to stay logged in. Try reinstalling Open cart, upload your theme and if it still doesn't work then call them. I believe that your PHP version needs to be reinstalled.
Agree with avvici, hey are lying. The problem lies with them. If you do a search on this problem, all the solution is to contact your host.

Might be a permission error or something via the apache user. Try calling your host and request for them to "create a session directory". Most user face this problem with godaddy.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by MarketInSG » Fri Apr 13, 2012 2:04 pm

Or can we see your htaccess file? I can't even load your account page. It's not redirecting properly.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore
Who is online

Users browsing this forum: Google [Bot] and 300 guests