vlieger Posted April 3, 2011 Share Posted April 3, 2011 Hi I am having a Login.php looping issue, of some kind but it only happens when the log in page is accessed from the "write review" button clicked by a customer who is not logged in. When log in is submitted, the login page just refreshes over and over and you seem not to be logged in , but when you navigate to a product page or account detals , you are actually logged in. Log in from the Index page works normal and the customer is redirected to Index.php I am not getting any much reviews because this is confusing customers, any ideas why the login is looping only when access from the write review button?m and how to solve this issue I tried to look in the forum , and a saw serval other encountered the same problem , only an concrete soulution i could n't find thanks ahead for any help Arthur Link to comment Share on other sites More sharing options...
Taipo Posted April 3, 2011 Share Posted April 3, 2011 What version of Oscommerce are you using? - Stop Oscommerce hacks dead in their tracks with osC_Sec (see discussion here)- Another discussion about infected files ::here::- A discussion on file permissions ::here::- Site hacked? Should you upgrade or not, some thoughts ::here::- Fix the admin login bypass exploit here- Pareto Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes- BTC:1LHiMXedmtyq4wcYLedk9i9gkk8A8Hk7qX Link to comment Share on other sites More sharing options...
vlieger Posted April 4, 2011 Author Share Posted April 4, 2011 Hoi Taipo thanks for your response i use oscommerce 2.2 do i need to put some code here to check? if yes which code should that be ? Arthur Link to comment Share on other sites More sharing options...
vlieger Posted April 4, 2011 Author Share Posted April 4, 2011 Hoi Taipo thanks for your response i use oscommerce 2.2 do i need to put some code here to check? if yes which code should that be ? Arthur here is the code i have now // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); i have tried an solution from this treath but it didn't work http://www.oscommerce.com/forums/topic/237743-login-redirect-to-index-instead-of-previous-page/page__st__20 it even got a bit worse as it doens login any more in the way it was you would get logged in only as you were redirected to the login page you does see your self logged in with this solution i don't get logged in at all in this way , you would have to go to my account and login again specially when you use mailbeez and people need to write an review by clicking on the link i their email i am trying to get it right so login for customers responding to that work i hope any body has an idea ? very much thanks arthur Link to comment Share on other sites More sharing options...
vlieger Posted April 4, 2011 Author Share Posted April 4, 2011 update : the above reply was not completly correct the solution given in http://www.oscommerce.com/forums/topic/237743-login-redirect-to-index-instead-of-previous-page/page__st__20 didn't work for me but also not make it worse (as i stated in previous reply ) after a customer landed on the loginpage again , when pressing one page back in the browser the customer ends again on the same lgin page only now are you logged in Arthur Link to comment Share on other sites More sharing options...
vlieger Posted April 6, 2011 Author Share Posted April 6, 2011 Hi ... no-one has an clue ? please if anybody knows what to do or has a tip ! please let me know Arthur Link to comment Share on other sites More sharing options...
vlieger Posted April 7, 2011 Author Share Posted April 7, 2011 solved by the BUY NOW Button Fix of the SEO module Arthur Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.