Jump to content

[SOLVED] I'm logged out, when i visit product page?


Housy

Recommended Posts

Hi  :)

 

I'm having a little problem. I just don't know, why is this happening.

 

When i visit my store as a normal user and i log in, everything works fine, it shows that i'm logged in, except when i click on any product, it shows like i'm logged out but i'm not ofcourse, because i go to some other page and session is still active.

 

In header.tpl i'm checking, if user is logged in and i do it like this:

{if $logged}
show links for logged user (my account, ...)
{else}
show links like please log in, register, ...
{/if}

Why is this happening? And only on the product page?

Regards,

Housy

Edited by Housy (see edit history)
Link to comment
Share on other sites

Hi vekia  :)

 

I have cleared directories below:

-> cache -> smarty -> cache

-> cache -> smarty -> compile

 

Is that correct? Or should i clear any other directory?

 

At the moment my performance settings are set to "FORCE COMPILE", because website is still in progress.

 

Regards,

 

Housy

 

have you tried to clear smarty cache in your store? sometimes this issue is related to wrong compiled theme 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...