osCommerce admin login won’t login
Published by David Potter on December 16, 2009
I’ve been implementing a new website using the WP.osC framework (based on osCommerce) and ran into a problem of not being able to login to the admin panel. It would simply redirect back to the admin login page. This typically occurred when I would change the URL to the store website.
Quite a few people had the problem but one person (Dan O’Brien from Cornwall, England) provided the solution that worked for me.
- Edit
catalog/admin/includes/application_top.php - Comment out the block of code below the comment that says:
// redirect to login page if administrator is not yet logged in - Log in to the admin panel
- Click on the Administrators link.
- Edit the administrator in question.
- Change the password.
- Uncomment out the block of code previously commented out.
Thank you Dan O’Brien!
Resources
- Admin login problem after changed home directory @ osCommerce Community Support Forums




February 6th, 2010 at 3:20 pm
Thanks it worked for me..