Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can't Login  (Read 3721 times)

0 Members and 1 Guest are viewing this topic.

taffy056

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Can't Login
« on: October 27, 2005, 06:43:04 pm »

Hi,

i am having problem login into my coppermine, I pressed go back to default in the config and now it says that "Selected user does not exist!" when I try for a new password for my account. Can you please help!

taffy
Logged

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: Can't Login
« Reply #1 on: October 27, 2005, 08:03:14 pm »

You will need to login with the original administrative username/password you used when creating CPG. If you don't have that then you will can use phpMyAdmin to manually change your admin password.
Logged
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Can't Login
« Reply #2 on: October 27, 2005, 08:54:16 pm »

Look for the username and password in cpg_users table in your database.
Logged
Chief Geek at Ranium Systems

xplicit

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 214
Re: Can't Login
« Reply #3 on: October 27, 2005, 11:34:24 pm »

Exactly as mentioned above,

search for a usergroup 1 member with for instance phpmyadmin in the cpg***_users list

Alternative you can add one yourself.

If you dont have acces to a programm like phpmyadmin you can also wrote the query in a php file and execute it.

Someting like

Code: [Select]
<?php        
define('IN_COPPERMINE', true);
require('include/init.inc.php');        

$sql_query = db_query("INSERT INTO CPG135_users VALUES (1, 1, 'YES', 'admin_username', 'admin_password', NOW(), NOW(), '', '', '', '', '', '', '')");

?>

Adjust the 135 for your own version and the number in the beginning (1) to a non existing ID number and off course change the names


« Last Edit: October 27, 2005, 11:57:31 pm by xplicit »
Logged
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.