*** Couldn't log in. Try again *** *** Couldn't log in. Try again ***
 

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]

Main Menu

*** Couldn't log in. Try again ***

Started by Diana, September 10, 2005, 08:27:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Diana

 ???
I can't log in into my own gallery. Although I know I'm using the right username and password, I keep receiving this message:
*** Couldn't log in. Try again ***

If I open it some hours after I tried to log in, sometimes I'm already logged in, sometimes not. It's really weird.  :o

Anyone knows what could be wrong?  :-\\

artistsinhawaii

This might be a little too obvious but did you try deleting all your cookies and temporary files from your browser?

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Diana

^ Yep, and it doesn't help  ::)

:-[ and I need to upload some new pictures...  :\'(

artistsinhawaii

#3
Diana,

This is quote from gaugau from a previous message:

QuoteIf you can't log in properly, this is mostly related to cookie issues. Check that your browser accepts the script's cookie, make sure your computer's clock and date match the one from the server. If you want to manually change usernames and passwords, use a tool like phpMyAdmin, browse your cpg_users table with it and change existing users accordingly.

Before doing that, try retrieving your password via the forgot my password option.  See if it's still the same.  If it's been changed, one of your friends may be playing a practical joke on you.

If, however, you are able to log back in anytime soon, try changing your password. Create a backup administrator account as well.   

If possible, as an added precaution, set the mail address for your administrator accounts to an email account that is not being used on your site..ie your contact email address.  Also, be sure to change the password to your hosting server regularly.   

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Tranz

One time, I had this problem and it was due to a blank line in config.inc.php. I couldn't figure that out until I was in debug mode.

Use a database client like phpmyadmin to access your db tables (since you can't edit your coppermine config without being able to log in)

Go to the _config table.

Change the value of debug_mode to 1. Then post the error message that appears when you try to log in.

Make sure to back up your database before modifying it.

Sigma

#5
I have the same problem om a fresh install...  I try'd a manual install and an install by Fantastico.. both times I get the same error as above.  The debug mode gives me : 


USER:
------------------
Array
(
    [ID] => 05b636ba10fbf2a5a4ead3c0d4697ae4
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Anonymous
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 0
    [group_id] => 3
    [groups] => Array
        (
           
  • => 3
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg_filetypes;
        [1] => SELECT * FROM cpg_users WHERE user_id='0'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '*'
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg_usergroups WHERE group_id in (3)
        [3] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 3
        [4] => DELETE FROM cpg_banned WHERE expiry < '2005-09-23 15:08:44'
        [5] => SELECT * FROM cpg_banned WHERE ip_addr='80.126.**.**' OR ip_addr='80.126.**.**' OR user_id=0
        [6] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3)
        [7] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY pos
        [8] => SELECT aid FROM cpg_albums as a WHERE category>=10000
        [9] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND category >= 10000
        [10] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '1'  ORDER BY pos
        [11] => SELECT aid FROM cpg_albums as a WHERE category = '0'
        [12] => SELECT count(*) FROM cpg_albums as a WHERE 1
        [13] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1
        [14] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1
        [15] => SELECT count(*) FROM cpg_categories WHERE 1
        [16] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1
        [17] => SELECT count(*) FROM cpg_albums as a WHERE category = '0'
        [18] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'
        [19] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
        [20] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'
        [21] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    Page generated in 0.035 seconds - 22 queries in 0.002 seconds - Album set :




    Hopefully anyone is able to help me with this... I know it's not the hosting or my end (I have it running at another account)


    Tia,

    Dirk

Sigma

#6
Uh ohhhh  hold on.. I thought i have no idea how MySql Works but /me is brb  :)


Someone explain how i lift that ban above ?? It's my Ip !     n why did it ban me :o

artistsinhawaii

 ;) As a built in safeguard, Coppermine will ban you if you attempt to sign in with the wrong username + password combination.  I believe the ban is just for a few minutes.  There's a method to undo this from myPHPadmin, but I'd advise doing it if you are not comfortable dabbling with the internals of your database.

Go grab a cup of coffee... relax. Breathe in.. breathe out... think pleasant thoughts, then try again.  Make sure when you enter your password and user ID that you type it in with the same case letter.  I believe it's all case sensitive.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Sigma

That's not the problem, i'm sure i used the right one... :|   Looks like i get a ban every time i try :>

artistsinhawaii

Check the settings in config.inc.php  in the INCLUDE folder of your Coppermine install.  Make sure that they are correct.

You may also want to try the I forgot my password option when logging in then try to cut an paste the response you get into the login fields.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.