coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: wutacrock on September 13, 2011, 04:24:36 PM

Title: Need Help With Password
Post by: wutacrock on September 13, 2011, 04:24:36 PM
I need help i totally forgot my password to my own gallery. the thing is i change my domain for site and used my e-mail from old domain. i no longer have my old domain so i can i restore my password?
Title: Re: Need Help With Password
Post by: Αndré on September 13, 2011, 04:29:27 PM
You have 2 possibilities:
1. Adjust your email address directly in the database (use a tool like PHPMyAdmin) and use Coppermine's "I forgot my password" function.
2. Search this board for adminpass.php and you'll find a script that resets your admin password. That script was initially written for cpg1.4.x, but it will also work in cpg1.5.x.
Title: Re: Need Help With Password
Post by: wutacrock on September 13, 2011, 05:07:48 PM
i tried searching adminpass.php nothing is found in that name. when i go to PHPMyAdmin i'm not quite where to go.
Title: Re: Need Help With Password
Post by: Αndré on September 13, 2011, 05:23:23 PM
Quote from: wutacrock on September 13, 2011, 05:07:48 PM
when i go to PHPMyAdmin i'm not quite where to go.
Open the users table of your Coppermine database, find your admin account and adjust the email address.
Title: Re: Need Help With Password
Post by: wutacrock on September 13, 2011, 05:26:55 PM
ok i found it and adjust the e-mail and it worked, but when i get activation key it sends me link to my old domain. which doesn't work. do i need to adjust something else on PHPMyAdmin?
Title: Re: Need Help With Password
Post by: Αndré on September 13, 2011, 08:09:32 PM
Open the config table and find the row with the old domain. Then, adjust it to your new domain. Alternatively you can just change the domain in the url from the email to your actual domain/path.