coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Diana on September 10, 2005, 08:27:55 PM

Title: *** Couldn't log in. Try again ***
Post by: Diana on September 10, 2005, 08:27:55 PM
 ???
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?  :-\\
Title: Re: *** Couldn't log in. Try again ***
Post by: artistsinhawaii on September 10, 2005, 09:27:00 PM
This might be a little too obvious but did you try deleting all your cookies and temporary files from your browser?

Dennis
Title: Re: *** Couldn't log in. Try again ***
Post by: Diana on September 11, 2005, 04:53:26 AM
^ Yep, and it doesn't help  ::)

:-[ and I need to upload some new pictures...  :\'(
Title: Re: *** Couldn't log in. Try again ***
Post by: artistsinhawaii on September 11, 2005, 10:01:16 AM
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
Title: Re: *** Couldn't log in. Try again ***
Post by: Tranz on September 11, 2005, 06:40:47 PM
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.
Title: Re: *** Couldn't log in. Try again ***
Post by: Sigma on September 24, 2005, 12:17:56 AM
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
        (
           
Title: Re: *** Couldn't log in. Try again ***
Post by: Sigma on September 24, 2005, 12:20:50 AM
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
Title: Re: *** Couldn't log in. Try again ***
Post by: artistsinhawaii on September 24, 2005, 12:37:52 AM
 ;) 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
Title: Re: *** Couldn't log in. Try again ***
Post by: Sigma on September 24, 2005, 12:46:34 AM
That's not the problem, i'm sure i used the right one... :|   Looks like i get a ban every time i try :>
Title: Re: *** Couldn't log in. Try again ***
Post by: artistsinhawaii on September 24, 2005, 01:17:07 AM
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