Canon Digital Photography Forums  

P.O.T.N. SUPPORT SHOP IS OPEN, check it out now!

Go Back   Canon Digital Photography Forums > Exhibit Engine > Version 1.0-1.5 discussion
Register Rules FAQ Members List Search Today's Posts Mark Forums Read



Reply
 
Thread Tools Display Modes
Old 2nd of February 2005 (Wed)   #1
jaypie77
Member
 
jaypie77's Avatar
 
Join Date: Aug 2004
Location: NYC
Posts: 966
Default EE Admin Password Problem

So I thought I had successfully changed my password. I logged out and now I'm stuck out. I did a search on resetting the password, but I couldn't understand the one thread that seemed to address this, so I'm going to ask:

What is the best way to reset your password in EE? (Speak slowly, I am a newbie.)
jaypie77 is offline   Reply With Quote
This ad block will go away when you log in as member
Old 2nd of February 2005 (Wed)   #2
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,076
Default Re: EE Admin Password Problem

I sent you a PM, but this may be useful for others, too:

Save the following code in your input folder as file SCRIPT_reset_username_and_pass.php

Then browse to http://www.yoursite.com/your_gallery...e_and_pass.php (edit address to suit your site)

That will set

user: admin
pass: pass

REMEMBER to set a new username pass after that in misc settings. Or edit them to file below and run it again.


PHP Code:
<?php
include ("toroot.php");
include (
$toroot "add/connect.php");



$username "admin";
$pass md5("pass");



$clear mysql_query(
    DELETE FROM ee_admin
    "
);
$do_an_owner mysql_query(
    INSERT
        ee_admin
    SET 
         ee_admin_id = '1',
         ee_admin_name  = '{$username}',
         ee_admin_pass  = '{$pass}'
    "
);  

?>
Let me know if this helped you!
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------

Last edited by Pekka : 2nd of February 2005 (Wed) at 16:55.
Pekka is online now   Reply With Quote
Old 2nd of February 2005 (Wed)   #3
jaypie77
Member
 
jaypie77's Avatar
 
Join Date: Aug 2004
Location: NYC
Posts: 966
Default Re: EE Admin Password Problem

Awesome, that did the trick. I will certainly save a copy of this code somewhere (not in the input directory, of course). Thanks for the help.
jaypie77 is offline   Reply With Quote
This ad block will go away when you log in as member
Old 31st of July 2006 (Mon)   #4
drparker
Member
 
Join Date: Jun 2006
Location: Chicago area
Posts: 815
Default Re: EE Admin Password Problem

Thanks. It just saved me!
__________________
Join us in Chicago on April 22nd (Click here for more details)
5D, 85 f1.8, 24-70L f2.8, 70-200L f/4, 580ex, 430ex.
drparker is offline   Reply With Quote
Old 23rd of October 2006 (Mon)   #5
seanspeng
Member
 
Join Date: Jan 2002
Posts: 275
Default Re: EE Admin Password Problem

I was trying this on a 1.5 EE, just moved from one server to another server, I ran this script for a couple of times, and the login of admin and pass did not work. I tried with IE and firefox. Any other way I can reset the admin password?

Thanks!
__________________
visit http://www.dancewithlight.com
seanspeng is offline   Reply With Quote
Old 23rd of October 2006 (Mon)   #6
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,076
Default Re: EE Admin Password Problem

Unzip SCRIPT_reset_username_and_pass.zip in your admin folder and run it. Then delete the php file.
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is online now   Reply With Quote
Old 24th of October 2006 (Tue)   #7
seanspeng
Member
 
Join Date: Jan 2002
Posts: 275
Default Re: EE Admin Password Problem

I used the code that you posted above. I did not see there is a zip file of SCRIPT_reset_username_and_pass.zip in the admin folder. I am on 1.5 version.
__________________
visit http://www.dancewithlight.com
seanspeng is offline   Reply With Quote
Old 24th of October 2006 (Tue)   #8
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,076
Default Re: EE Admin Password Problem

ok, that explains it. Sorry for misinfo.
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is online now   Reply With Quote
Old 24th of October 2006 (Tue)   #9
seanspeng
Member
 
Join Date: Jan 2002
Posts: 275
Default Re: EE Admin Password Problem

Ok, so what should I do next to reset the password?
__________________
visit http://www.dancewithlight.com
seanspeng is offline   Reply With Quote
Old 25th of October 2006 (Wed)   #10
DavidW
Goldmember
 
Join Date: Jul 2005
Location: Bedfordshire, UK
Posts: 3,165
Default Re: EE Admin Password Problem

Are you sure that the database connection details are correctly configured in EE? If so, I can't see why the chunk of PHP that Pekka posted above isn't working.

Do you have an installation of phpMyAdmin that you can use to manipulate the EE database? If so, that would provide another alternative - select the database, select the ee_admin table, press Browse and change ee_admin_pass to 1a1dc91c907325c69271ddf0c944bc72 (which is pass in the appropriate format).



David
DavidW is offline   Reply With Quote
Old 25th of October 2006 (Wed)   #11
seanspeng
Member
 
Join Date: Jan 2002
Posts: 275
Default Re: EE Admin Password Problem

Quote:
Originally Posted by DavidW View Post
Are you sure that the database connection details are correctly configured in EE? If so, I can't see why the chunk of PHP that Pekka posted above isn't working.

Do you have an installation of phpMyAdmin that you can use to manipulate the EE database? If so, that would provide another alternative - select the database, select the ee_admin table, press Browse and change ee_admin_pass to 1a1dc91c907325c69271ddf0c944bc72 (which is pass in the appropriate format).
David
I just checked the admin password via phpMyAdmin, and the password is already:
1a1dc91c907325c69271ddf0c944bc72

So that means the password reset script has already made the change. But I cannot login. The admin name is "admin".

When I put admin and pass, the screen flash for a second or so, and I am back to login page again... very wired.
__________________
visit http://www.dancewithlight.com
seanspeng is offline   Reply With Quote
Old 25th of October 2006 (Wed)   #12
wkitty42
Member
 
wkitty42's Avatar
 
Join Date: Jan 2004
Location: Central, North Carolina, USA
Posts: 399
Default Re: EE Admin Password Problem

have you flushed your browser cache?

what about removing the EE cookie?
wkitty42 is offline   Reply With Quote
Old 25th of October 2006 (Wed)   #13
seanspeng
Member
 
Join Date: Jan 2002
Posts: 275
Default Re: EE Admin Password Problem

I have three web sites with EE installed. But they worked fine before. I even tried with a different computer, and it does not work with this particular one now. I have tried to clear the EE cookies, it did not help. I cleared the cache, also no help.

I have used EE for a long time, and this is the first time it happened to me.
__________________
visit http://www.dancewithlight.com
seanspeng is offline   Reply With Quote
Old 27th of October 2006 (Fri)   #14
seanspeng
Member
 
Join Date: Jan 2002
Posts: 275
Default Re: EE Admin Password Problem

Pekka,

I know you are a busy man... But we really need your help. We are completely stuck here. Gallery has been off for days.

Thanks in advance for your help.
__________________
visit http://www.dancewithlight.com
seanspeng is offline   Reply With Quote
Old 27th of October 2006 (Fri)   #15
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,076
Default Re: EE Admin Password Problem

Quote:
Originally Posted by seanspeng View Post
Pekka,

I know you are a busy man... But we really need your help. We are completely stuck here. Gallery has been off for days.

Thanks in advance for your help.
PM me access details and I'll see what the problem is. PHPmyadmin access would be a plus.
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is online now   Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Password recovery??? Tromac Version 1.0-1.5 discussion 4 4th of December 2005 (Sun) 09:34
Rename admin and change password Oceanwatcher Version 1.0-1.5 discussion 2 6th of May 2005 (Fri) 17:44
Resetting admin password? koen_brader Version 1.0-1.5 discussion 1 12th of January 2005 (Wed) 09:50
Change admin password? mol Version 1.0-1.5 discussion 1 26th of August 2004 (Thu) 12:30
Password for admin area richa3turbo Version 1.0-1.5 discussion 4 26th of March 2004 (Fri) 07:13


All times are GMT -5. The time now is 18:17.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This forum is not affiliated with Canon in any way and is run as a free user helpsite by Pekka Saarinen, Helsinki Finland. You will need to register in order to be able to post messages. Cookies are required for registering and posting. HTML in messages is not allowed, plain website addresses are automatically made active by the board.