Support Forums

Old 04-11-2006, 03:31 AM   #1
Member
 
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14
build is on a distinguished road
Default Data Base

Hi Eric

I have just found this problem.

1) made back up of data base.

2) two days later FORGOT my ADMIN passord

3) No problem I thought I will just look at the back up of the data base and just insert the sql file part for admin.

4) Hmmmm no data base field for ADMIN

5) The admin is in the "class_users"

6) So I thought ok I will do a
REPLACE INTO `class_users` VALUES xxxxxxxx
All went in ok

7) BUT this did not work

I would have thought that the admin would have been in a field on its own

So now How do I fined out

1) what my user name and passowrd was for ADMIN.
2) How do I get it put back into the data base.
__________________
Regards

John

Useing Developer
build is offline  
Old 04-11-2006, 06:41 AM   #2
Senior Member
 
calaf6's Avatar
 
Join Date: Mar 2006
Location: UK
Posts: 334
Rep Power: 19
calaf6 is on a distinguished road
Default

Until one of the others gets on, if its the user password you can use the forgotten password link, otherwise I would set up another user and go into the database and change it to admin status, so you have a spare.
calaf6 is offline  
Old 04-11-2006, 06:50 AM   #3
Member
 
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14
build is on a distinguished road
Default

Quote:
Originally Posted by calaf6
Until one of the others gets on, if its the user password you can use the forgotten password link, otherwise I would set up another user and go into the database and change it to admin status, so you have a spare.
Hi

No it is not a user account , as I say it is my ADMIN account.

Yes I did make another user and opened up the data base and changed the
firstname and lastname to admin.
BUT that made no differnce, still came back to the page where you put in the user name and password.

I would have thought that if I replaced the sql statment it should have worked.
__________________
Regards

John

Useing Developer
build is offline  
Old 04-11-2006, 07:11 AM   #4
Member
 
 
Join Date: Mar 2006
Location: Brisbane, Australia
Posts: 91
Rep Power: 14
Bucketman is on a distinguished road
Default Resertting Admin password

I had the same thing happen a couple of months ago, where the admin account got locked out for some reason. What I did was register a new user, taking note of the password. Then go into your database admin (phpMyAdmin) and copy the password from the new user to the admin account. Just cut and paste the hashes (#####) - it does work. Now you can log in with the admin account using the same password as your new user.

Hope this helps... Good luck ....

__________________
Regards,

Ashley McKinnon
Site Administrator

GoBuyItBrisbane
Bucketman is offline  
Old 04-11-2006, 07:37 AM   #5
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,163
Rep Power: 59
juven14 is a jewel in the rough
Default

Register yourself as a new user, and change only the level to 1 (level is the only difference between a user and an admin) in the class_users table.

Also if you are trying to change your password in the database you must select the function for that field as password to encrypt the password.

Edit ~ Larry puts it much better, no need to mess around in the database.
__________________
TemplateCodes.com

Last edited by juven14; 04-11-2006 at 09:23 AM.
juven14 is offline  
Old 04-11-2006, 08:50 AM   #6
Moderator
 
 
Join Date: Mar 2006
Posts: 3,995
Rep Power: 97
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by build
Hi

No it is not a user account , as I say it is my ADMIN account.

Yes I did make another user and opened up the data base and changed the
firstname and lastname to admin.
BUT that made no differnce, still came back to the page where you put in the user name and password.

I would have thought that if I replaced the sql statment it should have worked.
Your ADMIN account is a user account. Its the first (ie #1 user account) and you can log into the site front end with the admin login details. You should also be able to use use the front ends forgotten password link to get the admin password.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline  
 

Bookmarks

Thread Tools
Display Modes

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
RSS feed for google base and oodle? Chad v3.1 Suggestions and Feedback 26 01-11-2008 01:04 PM
Data Import Problem on a Windows Server sporthorsebreeder Off Topic 4 10-09-2006 08:49 AM
Can I switch from hosted version later on, and keep all my data and settings? sedonagate v3.1 Questions & Support 3 09-07-2006 07:49 AM
csv data input thecarsales HTML, CSS, and Design Help 0 05-23-2006 03:24 PM
Directories garysmith Site Marketing 1 05-09-2006 09:56 AM


All times are GMT -4. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0