Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / changin admin password

changin admin password

Locked

Views: 3,674

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
22 Aug 2007, 1:14 AM
#1
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

changin admin password

How do i go about changing the admin password for my site, i currently have 2 other admins on my site including myself, so at some point when the site is complete i will need to change the password so only i can access it?

many thanks

Elliot

22 Aug 2007, 1:26 AM
#2
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: changin admin password

You could install the "Admin Profiles" contribution to allow multiple access levels for various users (with different passwords).

OR, you could reset the admin password when the time is right by selecting the "forgot password" from under the login box. Have the password reset (like you forgot it) and the new one will be sent to the email you have listed in the admin.

22 Aug 2007, 4:09 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: changin admin password

Or if you're already logged in you could change it under Admin->Tools->Admin Settings

22 Aug 2007, 8:09 AM
#4
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

Re: changin admin password

i am already logged in, does the rest password option under admin settings provide a new password?

Also I'm interested in the different different user accounts for different levels of access, do you have any more info on this?

Many thanks

Elliot

22 Aug 2007, 8:12 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: changin admin password

Orchard_Direct:

i am already logged in, does the rest password option under admin settings provide a new password?No, it lets you type in a new one.

Orchard_Direct:

Also I'm interested in the different different user accounts for different levels of access, do you have any more info on this?the post above by econcepts answers this question

22 Aug 2007, 8:25 AM
#6
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

Re: changin admin password

Thanks!

9 Nov 2007, 3:35 AM
#7
yldziner avatar

yldziner

New Zenner

Join Date:
Sep 2007
Posts:
13
Plugin Contributions:
0

Re: changin admin password

I can't login to the admin. I did that crap about changing it in SQL but it still does not work. What the hell? It also will not email me the new password. So far all of the info I have found in this forum has not helped at all. . .

Can anyone offer a simple solution?

9 Nov 2007, 4:55 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: changin admin password

Gosh it is a pleasure to talk to you too! :smile:

Has your login ever worked?

Are you using database prefixes? As in is the table name admin or **something_**admin in your database?

I would look at your two configure.php files:
/includes/configure.php
/admin/includes/configure.php

and make sure that you have the same paths, database and username and password set for these ...

Go to phpMyAdmin for your site and locate your database and reset it to the defaults:

First run this to remove and reset the structure:

DROP TABLE IF EXISTS admin;
CREATE TABLE admin (
  admin_id int(11) NOT NULL auto_increment,
  admin_name varchar(32) NOT NULL default '',
  admin_email varchar(96) NOT NULL default '',
  admin_pass varchar(40) NOT NULL default '',
  admin_level tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (admin_id),
  KEY idx_admin_name_zen (admin_name)
) TYPE=MyISAM;

Next run this to set the login to Admin admin:

INSERT INTO admin VALUES (1, 'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

WARNING: be sure to reset the Admin login as soon as you have access for the Admin password and email address ...

NOTE: if you are using prefixes on your database tables, as in your database table for admin reads: something_admin

then you will need to adjust the information above to address the proper database table name ...

Do have a nice day ... :cool: