osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Serious error. Cannot log into Admin

This is a discussion on Serious error. Cannot log into Admin within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, About 9:30pm last night we tried to log into Admin only to find that the password we were using ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-25-2005, 03:23 AM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default Serious error. Cannot log into Admin

Hi,
About 9:30pm last night we tried to log into Admin only to find that the password we were using was not working anymore. The screen flashed when the return key was hit but no error message to say that it had been entered wrong. After three attempts it threw us out completely. we then requested a new password and we tried again with the new password. Again the same thing happened. The website is functioning correctly and we can FTP pages on the site. We cannot access Admin at all.

Is this a known bug?

How do we access the Admin panel and is there a way to reset the password from within phpmyadmin.

This is very serious to us as we are hoping to launch our website in about a weeks time and we are now unable to add any more products etc.

Our host provider has advised: Quote:
This is very strange indeed. To make things more complicated you are not using a standard osCommerce installation. The default OSC does not have the email and password login, you have to protect it with .htaccess. This means there is some custom code responsible for taking a plain text password and encrypting it before storing in the database.
Without that code I cannot reset the password.

I will do my own investigations but I would suggest looking on the OSX Max forums for info on how to reset the admin password. You might be able to do this using phpMyAdmin which can be found by clicking 'DB WebAdmin' under 'Databases' for your domain in the Control Panel.

-------------
I have deleted the contents of the Admin table and run the mySql script below to restore the admin password back to square one. Ie user = admin@localhost and password = admin.

The result said successful.
It's not made any difference yet so I was wondering if the mySql service had to be stopped and restarted.

INSERT INTO `admin` VALUES (1, 1, 'Default', 'Admin', 'admin@localhost.com', '05cdeb1aeaffec1c7ae3f12c570a658c:81', '2003-07-17 11:35:03', '2003-08-02 19:43:11', '2003-08-12 00:17:36', 47);

Any help would be very much appreciated.

Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-25-2005, 07:02 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,075
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Serious error. Cannot log into Admin

This has nothing to do with the actual code. It is more likely your session or cookies settings. Change your configure php to store sessions in the database. You should be able to login.

The admin login code is stable and has been for over 2 years. No problems there.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-25-2005, 07:40 AM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default RE: Serious error. Cannot log into Admin

The error lay in the sessions.php file.
Thanks for pointing me in the right direction.
I'm in now.
Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Error in Admin kmazumdar osCMax v1.7 Installation 0 09-10-2005 03:33 AM
Error: Login into admin failed augengott osCMax v1.7 Installation 1 05-27-2005 03:01 AM
Admin Report syntax Error judoka osCMax v1.7 Discussion 2 05-15-2005 11:04 AM
admin install error warrenthewindmill osCommerce 2.2 Installation Help 5 09-29-2003 10:28 AM
Admin Order error judoka osCommerce 2.2 Modification Help 2 06-14-2003 02:21 PM


All times are GMT -8. The time now is 12:48 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax