sanchez Posted May 25, 2011 Posted May 25, 2011 Ciao a tutti, sono nuovo. Penso che siano problemi di cookie, sono su Aruba con Presta 1.4.1. Praticamente quando mi loggo e mi sloggo al momento che clicco su "entra" mi entra automaticamente dentro il precedente profilo senza chiedermi login o passworld. provate anche voiwww.infinityvideocomputer.comlogin: [email protected]pass: 12345Grazie per il supporto! Share this post Link to post Share on other sites More sharing options...
IlTuoAmicoWM Posted May 25, 2011 Posted May 25, 2011 Ciao, domanda: quanto ti fai il logout cliccando su esci, hai un cambio di schermata? Dove ti porta? Share this post Link to post Share on other sites More sharing options...
IlTuoAmicoWM Posted May 25, 2011 Posted May 25, 2011 Ciao, domanda: quanto ti fai il logout cliccando su esci, hai un cambio di schermata? Dove ti porta? testando mi son risposto da solo....ti riporta alla schermata di login...anchio ho il tuo problema, e in più quando clicco su "esci"...rimane loggato.PS: guarda che devi sistemare anche il discorso "identità"....prova a cliccare su "le mie informazioni personali" Share this post Link to post Share on other sites More sharing options...
sanchez Posted May 25, 2011 Posted May 25, 2011 allora per il tuo logout lo avevo anche io questo problema e dopo esser impazzito giorni e ore ho scoperto che basta che riscrivi una parte del codice del frontcontroller contenuto dentro la cartella class: da if (isset($_GET['logout']) OR ($cookie->logged AND Customer::isBanned((int)$cookie->id_customer))) { $cookie->logout(); Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL); } elseif (isset($_GET['mylogout'])) { $cookie->mylogout(); Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL); } a if (isset($_GET['logout']) OR ($cookie->logged AND Customer::isBanned((int)$cookie->id_customer))) { $cookie->logout(); //Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL); Tools::redirect('authentication.php'); } elseif (isset($_GET['mylogout'])) { $cookie->mylogout(); //Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL); Tools::redirect('authentication.php'); } ok? Share this post Link to post Share on other sites More sharing options...
IlTuoAmicoWM Posted May 25, 2011 Posted May 25, 2011 Hola, ti ringrazio per la dritta, ma personalmente il codice è l'ultima cosa che voglio toccare. Piuttosto, se guardi l'altro mio post "1.4.1 alcune anomalie", ho risolto un po tutto con alcune procedure da BO e altre manuali. Magari ti può servire. Share this post Link to post Share on other sites More sharing options...
sanchez Posted May 25, 2011 Posted May 25, 2011 niente le ho provate tutte, ho un problema di codice legato ai cookie che mi genera il server di Aruba, ne sono più che sicuro. Share this post Link to post 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