Housy Posted November 12, 2013 Share Posted November 12, 2013 (edited) 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 November 14, 2013 by Housy (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 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 More sharing options...
Housy Posted November 12, 2013 Author Share Posted November 12, 2013 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 More sharing options...
Housy Posted November 14, 2013 Author Share Posted November 14, 2013 It's working now It was cache fault i guess, thaanx Housy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now