Magento Admin login fail, session problem


To fix magento admin login failure/session problem follow these steps 1. edit /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php 2. comment out following code like /* if (!$cookieParams['httponly']) { unset($cookieParams['httponly']); if (!$cookieParams['secure']) { unset($cookieParams['secure']); if (!$cookieParams['domain']) { unset($cookieParams['domain']); } } } if (isset($cookieParams['domain'])) { $cookieParams['domain'] = $cookie->getDomain(); } */ 3. search for "session_start();" 4. insert following code above session_start(); session_save_path(“/tmp”); 5. … Continue reading Magento Admin login fail, session problem

Advertisements

Magento Customer Login Fail


Please follow these steps to get magento customer login working. 1. make sure <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" /> is there in /app/design/frontend/default/your-theme/template/persistent/customer/form/login.phtml 2. Go to admin system > configuration a. select store b. click on web c. click on Session Cookie Management d. provide cookie path "/tmp" e. provide cookie domain "your … Continue reading Magento Customer Login Fail