Arkadia Posted July 26, 2012 Share Posted July 26, 2012 Hi there, I'm having a problem with my store. I am not sure what is causing this and would appreciate any guidance. Using a test user account, whenever I login and start browsing, I notice that on certain pages I get logged out! If I login in and visit pages like "your account", "your wishlist", "customer service" - I'm still logged in just fine. It also works fine in the "shop by category" page. But when I click the home page and a few other pages, I'm no longer signed in. What would cause it to remain logged in on some pages but sign out on loading other pages? Any assistance would be HUGELY appreciated! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 26, 2012 Share Posted July 26, 2012 Hi Arkadia, Can you please post a link to your site so that we can test this out for ourselves? -Mike Link to comment Share on other sites More sharing options...
Arkadia Posted July 26, 2012 Author Share Posted July 26, 2012 (edited) Hi Mike Link in PM. Really appreciate your help!! Edited July 30, 2012 by Arkadia (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 26, 2012 Share Posted July 26, 2012 Can you please try switching back to the default PrestaShop theme and let me know if the issue persists? -Mike Link to comment Share on other sites More sharing options...
Arkadia Posted July 26, 2012 Author Share Posted July 26, 2012 Can you please try switching back to the default PrestaShop theme and let me know if the issue persists? -Mike I swapped to the default theme and it's still doing that...I'll keep it on the default theme for a bit if you'd like to look at it? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 26, 2012 Share Posted July 26, 2012 I swapped to the default theme and it's still doing that...I'll keep it on the default theme for a bit if you'd like to look at it? Please try the suggestion posted here and let me know if that works any better for you. -Mike Link to comment Share on other sites More sharing options...
Arkadia Posted July 26, 2012 Author Share Posted July 26, 2012 (edited) Please try the suggestion posted here and let me know if that works any better for you. -Mike I was on that post earlier and tried to do that. It didn't help me. Seems his issue was slightly different to mine maybe? I did this a few hours ago as suggested in that post: changed the "$smarty->caching" to true, found in the smarty.config.inc.php within the config folder. - Not winning... Edited July 26, 2012 by Arkadia (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 26, 2012 Share Posted July 26, 2012 In that case, can you please post a new report to The Forge so that our development team can try to look into this for you? -Mike Link to comment Share on other sites More sharing options...
Arkadia Posted July 26, 2012 Author Share Posted July 26, 2012 (edited) In that case, can you please post a new report to The Forge so that our development team can try to look into this for you? -Mike Will do so. I don't know if this gives you any clues...but I started developing this using xampp on a local machine...on the local version of the site, the user stays logged in on ALL the pages EXCEPT for the "shop by brand" page. So the bug still occurs on the local version but it occurs to a lesser extent. (sidenote: the local version is outdated now...development went allot further on the online version of the site)... Just wondering if that sparks any thoughts or ideas? Edited July 26, 2012 by Arkadia (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 26, 2012 Share Posted July 26, 2012 Will do so. I don't know if this gives you any clues...but I started developing this using xampp on a local machine...on the local version of the site, the user stays logged in on ALL the pages EXCEPT for the "shop by brand" page. So the bug still occurs on the local version but it occurs to a lesser extent. (sidenote: the local version is outdated now...development went allot further on the online version of the site)... Just wondering if that sparks any thoughts or ideas? Nothing immediately jumps out to me, but I would definitely recommend that you post that report so that our dev team can take a look at it for you. -Mike Link to comment Share on other sites More sharing options...
Arkadia Posted July 26, 2012 Author Share Posted July 26, 2012 Nothing immediately jumps out to me, but I would definitely recommend that you post that report so that our dev team can take a look at it for you. -Mike Thanks for looking into it for me Mike. I posted a report. Appreciate you trying. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 26, 2012 Share Posted July 26, 2012 I'm glad I could help, and hope our developers can help more! Be sure to keep us posted! -Mike Link to comment Share on other sites More sharing options...
ender666 Posted October 11, 2012 Share Posted October 11, 2012 (edited) Hello - I have same problem - user appears logged in on all CMS pages, but on homepage is not logged. After clicking on logout button nothing happens! Its somehow caused by SEO. Everything is working good, after disabling mod_rewrite. Any ideas? v. 1.5.1.0 Edited October 11, 2012 by ender666 (see edit history) Link to comment Share on other sites More sharing options...
jumprock Posted November 25, 2012 Share Posted November 25, 2012 (edited) I had similar problems - turned out it only occurred when I had an item in the cart which made it harder to pin down. turned out to be problems with the customer loyalty module (I'm using Prestashop version 1.5.1) FYI, I edited this around line 89 in modules/loyalty/LoyaltyModule.php //$context = Context::getContext(); $context = Context::getContext()->cloneContext(); This in particular was used in the ShoppingCartFooter hook Edited November 25, 2012 by jumprock (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts