coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Katya on December 16, 2008, 09:46:44 PM

Title: Can't login in my gallery
Post by: Katya on December 16, 2008, 09:46:44 PM
Hello, really need your helps again. Today i can't login into my gallery, in Admin Panel i see this:

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:***_copp1:localhost",
"***o_copp1","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "***_copp1",
"<PASSWORD HERE>") or die('Cannot connect to the database because: ' . mysql_error());
mysql_select_db ("***_copp1");

What the happened? And can i back to my admin account? If yes, please say me how.
Title: Re: Can't login in my gallery
Post by: Hein Traag on December 16, 2008, 09:53:05 PM
Which admin panel is that if you can't login. Post a link to your website and the version number you are using (which should be 1.4.19).
If you want to reset the admin password then use the SEARCH option and search for "Reset admin password" (has been answered numerous times before)
Title: Re: Can't login in my gallery
Post by: Katya on December 16, 2008, 10:07:53 PM
My gallery: http://www.evaphotos.org
I use latest version.
Where i can find this option - Reset admin password. In mySQL?
Title: Re: Can't login in my gallery
Post by: Katya on December 16, 2008, 10:19:09 PM
I can do anytning in phpMyAdmin?
Title: Re: Can't login in my gallery
Post by: Hein Traag on December 17, 2008, 06:44:40 AM
You did not use the SEARCH option on this board did you?

QuoteUsing PhpMyAdmin open the xxx_users table find the user that have 1 on user_group, this user is admin change the user_password to "179ad45c6ce2cb97cf1029e212046e81" (without "") and now you have admin with "testpass" (without "") as a password .

If you can't do this then ask your host to do it for you.