|
|
#1 |
|
Member
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14 ![]() |
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 |
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2006
Location: UK
Posts: 334
Rep Power: 19 ![]() |
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.
|
|
|
|
|
#3 | |
|
Member
Join Date: Mar 2006
Location: Uk
Posts: 86
Rep Power: 14 ![]() |
Quote:
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 |
|
|
|
|
|
#4 |
|
Member
Join Date: Mar 2006
Location: Brisbane, Australia
Posts: 91
Rep Power: 14 ![]() |
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 ....
|
|
|
|
|
#5 |
|
Moderator
|
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. Last edited by juven14; 04-11-2006 at 09:23 AM. |
|
|
|
|
#6 | |
|
Moderator
Join Date: Mar 2006
Posts: 3,995
Rep Power: 97 ![]() ![]() |
Quote:
__________________
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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |