View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004292 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2012-07-31 10:46 | 2012-12-10 15:34 |
Reporter | DariusK | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Summary | 0004292: User logout after login in admin area | ||||
Description | After a successfully login in the admin area, the user will be logout and forward to the login view, if you click on any menu entry. | ||||
Steps To Reproduce | 1. Clear shop tmp directory; 2. Clear browser all cookies; 3. Browse to admin login page; 4. Login to admin area; 5. Delete oxeec_menu_*_xml.txt files from tmp directory; 6. Delete cookie with name "admin_sid"; 7. Select other shop from select box (you will be redirected to login page); 8. Login to admin area; 9. Logout from admin area; 10. Login to admin area; 11. From now you all ways be logout from admin area when press any link from menu (stoken be old); All links become like this one: "http://shop.lt/admin/index.php?admin_sid=ff2u38gg2jl53mjv77tbnt8dc0&stoken=6268884F&cl=shop" oxnavigationtree::_processCachedFile() method cann'ot replace stoken value. oxnavigationtree::_processCachedFile(){ ... return $oStr->preg_replace("@$sSearch@i", $sNewUrl, $sCacheContents); } preg_replace pattern is "@http\://shop\.lt/admin/index\.php\?stoken\=[A-Z0-9]+&@i" | ||||
Additional Information | Error was mentioned on https://bugs.oxid-esales.com/view.php?id=2201 | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | |||||
PHP Version | |||||
Database Version | |||||