julicp Posted October 22, 2008 Share Posted October 22, 2008 Hello:index.php?mylogout has an error because till I logged in the first time never let me close againThe page is loading but not workHelp please How can I resolve this?Thanks Link to comment Share on other sites More sharing options...
Paul C Posted October 22, 2008 Share Posted October 22, 2008 I think I had this once. I think I cleared the cookies and it solved it, but I may have had to log in as the same user using another browser as well.Paul Link to comment Share on other sites More sharing options...
julicp Posted October 22, 2008 Author Share Posted October 22, 2008 I have delete all , cookies, temp files..and nothing, logout not work Link to comment Share on other sites More sharing options...
Paul C Posted October 23, 2008 Share Posted October 23, 2008 Did you log in as the same user using a different browser?Paul Link to comment Share on other sites More sharing options...
julicp Posted October 23, 2008 Author Share Posted October 23, 2008 Firefox 3 and Internet Explorer 7Delete cookies work in both browsers, but the users of the shop must close session correctly not deleting cookiesThe page index.php?mylogout is blank and not work How Can I resolve this? Link to comment Share on other sites More sharing options...
Paul C Posted October 23, 2008 Share Posted October 23, 2008 So you've got it working now, but you're concerned that your users will experience this, or are you saying that the logout function isn't working?Paul Link to comment Share on other sites More sharing options...
julicp Posted October 23, 2008 Author Share Posted October 23, 2008 Users will experience this and the shop is open! Link to comment Share on other sites More sharing options...
Holtis Posted October 27, 2008 Share Posted October 27, 2008 I have the same problem, but if i delete cookies, then close the window and open a new it till "blank", but then reaload the page... "im out" (logg off)Please some one? Whats wrong... Link to comment Share on other sites More sharing options...
ebubekirakyol Posted November 13, 2008 Share Posted November 13, 2008 i have the same problem..anyone can't help us? Link to comment Share on other sites More sharing options...
candleli Posted February 14, 2009 Share Posted February 14, 2009 I am having the same issue. www.candlelightbathandbody.com Link to comment Share on other sites More sharing options...
jwonathan Posted February 26, 2009 Share Posted February 26, 2009 Same problem, pretty problematic anyone ?thks Link to comment Share on other sites More sharing options...
CompuMaxter Posted March 20, 2009 Share Posted March 20, 2009 I had same problem.Just copy the original index.php or check that first line start with <?phpLike this: <?phpinclude(dirname(__FILE__).'/config/config.inc.php');include(dirname(__FILE__).'/header.php');$smarty->assign('HOOK_HOME', Module::hookExec('home'));$smarty->display(_PS_THEME_DIR_.'index.tpl');include(dirname(__FILE__).'/footer.php');?>Sorry for my english...Regards from Reynosa, Mexico 1 Link to comment Share on other sites More sharing options...
Asari Posted July 19, 2009 Share Posted July 19, 2009 I solved for myin \config\ smarty.config.inc.php $smarty->caching = true; Change to $smarty->caching = false; (as in default) Link to comment Share on other sites More sharing options...
fery Posted March 7, 2010 Share Posted March 7, 2010 I solved for myin \config\ smarty.config.inc.php $smarty->caching = true; Change to $smarty->caching = false; (as in default) I have same problem.But when I remove my yahoo meta script from index.php, voila ... it runs just like before ...Maybe that's the problem ... :-) Link to comment Share on other sites More sharing options...
goowa Posted October 18, 2010 Share Posted October 18, 2010 I had same problem.Just copy the original index.php or check that first line start with <?phpLike this: <?phpinclude(dirname(__FILE__).'/config/config.inc.php');include(dirname(__FILE__).'/header.php');$smarty->assign('HOOK_HOME', Module::hookExec('home'));$smarty->display(_PS_THEME_DIR_.'index.tpl');include(dirname(__FILE__).'/footer.php');?>Sorry for my english...Regards from Reynosa, Mexico After much searching and pulling my hair out, I've finally solved this problem.In the root-->index.php the very first line should be <?php as stated above.Probably like many of you I checked and saw that indeed that was my first line. The problem is I had a blank line above it which I hadn't noticed, so double check and take out any returns you may have accidentally placed above the<?php in the index file. It solved the logout problem for me. Link to comment Share on other sites More sharing options...
DcdacD Posted June 29, 2013 Share Posted June 29, 2013 (edited) I try all said in this post and I cannot repair my error of "Close Session". Edited June 29, 2013 by DcdacD (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 29, 2013 Share Posted June 29, 2013 He probado todas las opciones y nada, no puedo cerrar sesión. we are on english section, please follow the forum rules and write in english. Link to comment Share on other sites More sharing options...
DcdacD Posted June 30, 2013 Share Posted June 30, 2013 I uninstall a lot of modules for find the problem but I am in the same problem, Anybody know repair it ? Link to comment Share on other sites More sharing options...
Elithrin Posted August 29, 2013 Share Posted August 29, 2013 Same problem here. My logout button doesn't work. Do you have any solution for this problem ? Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 what ps version? what template? everything depends on it. Link to comment Share on other sites More sharing options...
Elithrin Posted August 29, 2013 Share Posted August 29, 2013 (edited) Hello It's prestashop 1.4.11. I have find a solution. With notepad i have edit classes/FrontController.php Find: elseif (isset($_GET['mylogout'])) { $cookie->mylogout(); Tools::redirect(Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : null) ; } Change to : elseif (isset($_GET['mylogout'])) { $cookie->mylogout(); Tools::redirect(index.php); } After this modification, my logout button works Edited August 29, 2013 by Elithrin (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 very nice thanks for your solution, im convinced that it will be really helpful for other merchants here it's really weird that it doesn't work well in 1.4.11 :| 1 Link to comment Share on other sites More sharing options...
Recommended Posts