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: problem with login  (Read 4792 times)

0 Members and 1 Guest are viewing this topic.

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
problem with login
« on: January 05, 2009, 09:47:50 pm »

Hi i having problem with my gallery
every time i try to login i see the welcome page and after that im logout to the index page ;(
i been searching the forum all day and try all the solutions how to login to my forum

i try :
 
uploading file adminpass.php to the root  I can't login
from phpMyAdmin to change the password  I can't login
uss the "forgot my password" function (i receive the email with the new password but i still cant login)
delete cookies  :-[
delete the browser cache  :-[
i create new account and try to login but no success
i try to login with normal user account but no success
i try to login with FF and IE7
Windows/Linux

I don't know what else to try.

This is my test usser and password
ussername: test
password: 123654
 
link to the gallery
Logged

Nibbler

  • Guest
Re: problem with login
« Reply #1 on: January 05, 2009, 10:01:13 pm »

Check the groups table in phpmyadmin.
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: problem with login
« Reply #2 on: January 05, 2009, 10:08:21 pm »

admin is user_group 1 and the others are user_group 2
 
Logged

Nibbler

  • Guest
Re: problem with login
« Reply #3 on: January 05, 2009, 10:12:33 pm »

The cpg14x_usergroups table should have at least 4 groups numbered 1 to 4. Does it?
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: problem with login
« Reply #4 on: January 05, 2009, 10:21:52 pm »

The cpg14x_usergroups table should have at least 4 groups numbered 1 to 4. Does it?
can you explane me better please i have the table cpg14x_usergroups and  is 0
Logged

Nibbler

  • Guest
Re: problem with login
« Reply #5 on: January 05, 2009, 10:25:11 pm »

Is the table empty? If so, run these queries to add back in the default groups.

Code: [Select]
INSERT INTO cpg14x_usergroups VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3);
INSERT INTO cpg14x_usergroups VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3);
INSERT INTO cpg14x_usergroups VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3);
INSERT INTO cpg14x_usergroups VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3);
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: problem with login
« Reply #6 on: January 05, 2009, 10:33:15 pm »

thank you for the help i try to run the queries but with no success
this is the result  ;

Error

SQL query:

INSERT INTO cpg14x_usergroups
VALUES ( 1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3 ) ;

MySQL said: Documentation
#1136 - Column count doesn't match value count at row 1
Logged

Nibbler

  • Guest
Re: problem with login
« Reply #7 on: January 05, 2009, 10:53:03 pm »

Try

Code: [Select]
DROP TABLE cpg14x_usergroups
and then

Code: [Select]
CREATE TABLE cpg14x_usergroups (
  group_id int(11) NOT NULL auto_increment,
  group_name varchar(255) NOT NULL default '',
  group_quota int(11) NOT NULL default '0',
  has_admin_access tinyint(4) NOT NULL default '0',
  can_rate_pictures tinyint(4) NOT NULL default '0',
  can_send_ecards tinyint(4) NOT NULL default '0',
  can_post_comments tinyint(4) NOT NULL default '0',
  can_upload_pictures tinyint(4) NOT NULL default '0',
  can_create_albums tinyint(4) NOT NULL default '0',
  pub_upl_need_approval tinyint(4) NOT NULL default '1',
  priv_upl_need_approval tinyint(4) NOT NULL default '1',
  upload_form_config tinyint(4) NOT NULL default '3',
  custom_user_upload tinyint(4) NOT NULL default '0',
  num_file_upload tinyint(4) NOT NULL default '5',
  num_URI_upload tinyint(4) NOT NULL default '3',
  PRIMARY KEY  (group_id)
) TYPE=MyISAM COMMENT='Used to store user groups';

and then retry the queries in my previous post.
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: problem with login
« Reply #8 on: January 05, 2009, 10:55:49 pm »

sorry for the double post i forget to upload the screenshots  i made on my database  :)
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: problem with login
« Reply #9 on: January 06, 2009, 12:17:25 am »

WOW this is it you really save my gallery
thank you Nibbler
perhabs how i sc*ew my usergroups without even to touch anything in PMA ?
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.