Can't Logout? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Can't Logout? (/showthread.php?tid=1332) Pages:
1
2
|
Can't Logout? - Wesley - 2011-02-24 Hello, I can always access the admin pages even if I press the logout button. Is this normal? Kind regards, Wesley Can't Logout? - ccagle8 - 2011-02-24 No, what GS version are you using. Can't Logout? - Wesley - 2011-02-24 ccagle8 Wrote:No, what GS version are you using. I am using 2.03.1 Latest Stable Version (GPL). I did a check with IE & FF. Can't Logout? - revvion - 2011-02-26 Same problem here, I am using 2.03.1 and checked with chrome & ie9 Can't Logout? - Wesley - 2011-03-01 Anyone, please? Can't Logout? - ccagle8 - 2011-03-02 im stumped on this one... 2.03.1 only checks to see if the cookie is there before killing it. before we just blindly killed it if it was there or not originally... not exactly a change that should cause this. Can someone confirm if this is still happening with the latest SVN build? http://get-simple.info/beta Can't Logout? - coolkid - 2011-03-05 I think I found the problem... Take a look at cookie_functions.php line 39, Quote:$saltCOOKIE = sha1($identifier.$SALT); I think this is the problem, because when I do print_r($_COOKIE), the result of the hash was never there, instead it used the "$identifier.$SALT" form (confirmed it by looking at cookie_check functions line 69-70). To repair it, I simply change line 39 from Quote:$saltCOOKIE = sha1($identifier.$SALT);to: Quote:$saltCOOKIE = $identifier.$SALT; Hope it helps Can't Logout? - ccagle8 - 2011-03-06 does that mean your system does not have the ability to do a sha1() hash? Can't Logout? - coolkid - 2011-03-07 nope! it means u use sha1($saltCOOKIE) ONLY in kill_cookie function, and unhashed $saltCOOKIE form in the rest of them that's why the cookie_check would NEVER find the sha1($saltCOOKIE) because u used the unhashed $saltCOOKIE form in other (check_cookie, create_cookie, etc..) See it for yourself Can't Logout? - coolkid - 2011-03-07 To make my point clearer, take a look at these codes: Quote:function create_cookie() { and this: Quote:function cookie_check($cookie_name=FALSE) { while in kill_cookie, we have: Quote:function kill_cookie($identifier) { See my point? Can't Logout? - ccagle8 - 2011-03-07 i do... interesting as I am able to logout of my site... I will get this fixed immediately in the SVN. Can't Logout? - krisu - 2011-03-09 I got the same problem in version 2.03.1 and coolkid's fix fixed that problem for me. Can't Logout? - ccagle8 - 2011-03-09 ok, we will get this fixed in 3.0. Ive added it to the issue tracking list: http://code.google.com/p/get-simple-cms/issues/detail?id=141 Can't Logout? - Mateng - 2011-04-15 Same Problem in 3.0, fix didn't help yet. Can't Logout? - Connie - 2011-04-16 Mateng Wrote:Same Problem in 3.0, fix didn't help yet. did you clear the cache? did you try with different browsers or with different computers? I am sure it is a cache problem Cheers, Connie Can't Logout? - oeborg - 2011-04-20 I had this problem as well. It turned out to be the language file being saved in UTF-8 not UTF-8 Without BOM. Can't Logout? - raginibora - 2011-05-05 Hi, i think its something related to cache.., try it once.., Can't Logout? - direct loans consol - 2011-05-13 hi.. i have the same problem, and got to clear the cache, and i log out sucessfully thanks Can't Logout? - phm - 2011-05-30 I have the same problem, using GS 3.0B and SimplePageContent + p01contact plugins Tested on win IE8 and osx FF4 (different machines). Logout button reroutes to admin page. Can't Logout? - Connie - 2011-05-30 Try to use the released 3.0 version, as the beta version 3.0.B is not actual any more Can't Logout? - phm - 2011-06-08 Updating to 3.0 didn't help unfortunately. Curious thing: locally logout works, on the live site it doesn't. Can't Logout? - Connie - 2011-06-08 deactivate friendly urls edit your .htaccess clear all cache logout = still not possible? what is the info of the health check? Can't Logout? - meetje - 2011-06-08 Connie Wrote:deactivate friendly urls Hi Connie I have the same issue: can't log out. Did what you wrote, health check: all OK. When deleting the rewrite rules, uncheck pretty URL's and clearing the cache I can log out one time but after that not any more (unless I repeat that procedure again). Hans Can't Logout? - Connie - 2011-06-08 what is the info of the health check? which browser? did you check with different browsers? Can't Logout? - meetje - 2011-06-08 Connie Wrote:what is the info of the health check? Hi Connie: Tried with IE8, FF4 and latest Chrome, all the same. Attached the contents of the healthcheck |