Cant login with admin account - tried everything in search Cant login with admin account - tried everything in search
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Cant login with admin account - tried everything in search

Started by fran86, August 22, 2013, 07:43:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fran86

Hey there, today i went to login as usual(admin) with my saved password but its told me "Login failed. Try again".

The last successful login was about 14 hours ago. I have the gallery set to offline because i have not finished it yet.

The password should still be the same, i haven't changed it or updated the "save password" in firefox.

I have searched around here for a few different methods and none of them have worked for me.

Things i have tried:
- Tried every password i could think of and banned myself a couple of times. (Clearing my ban in Phpmyadmin)
- Forgot password (Never received email - i get the message that my gallery is offline.)
- Changed my password with Phpmyadmin using Md5.
- Cleared my cache.

Is there anything else i can try?... I dont know why it suddenly wont let me in. All i did was close my laptop last night.

Any help would be really appreciated! Thankyou :)

Αndré

Quote from: fran86 on August 22, 2013, 07:43:21 AM
Forgot password (Never received email - i get the message that my gallery is offline.)
You can disable offline mode in the MySQL database. Have a look at the table "config", search for the row "offline" and set it to "0".


Quote from: fran86 on August 22, 2013, 07:43:21 AM
Changed my password with Phpmyadmin using Md5.
Maybe this and the next post of Sami helps: http://forum.coppermine-gallery.net/index.php/topic,33512.msg158549.html#msg158549

fran86

Thankyou for replying :)

Quote from: Αndré on August 22, 2013, 11:14:24 AM
You can disable offline mode in the MySQL database. Have a look at the table "config", search for the row "offline" and set it to "0".
- I cannot find offline anywhere under cpg15x_config.. I have these:

        admin_activation    1
   alb_desc_thumb    1
   alb_list_thumb_size    100
   album_list_cols    2
   album_sort_order    pa
   albums_per_page    24
   allow_duplicate_emails_addr    0
   allow_guests_enter_file_details    0
   allowed_doc_types    doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb
   allowed_img_types    jpeg/jpg/png/gif
   allowed_mov_types    asf/asx/mpg/mpeg/wmv/swf/avi/mov
   allowed_snd_types    mp3/midi/mid/wma/wav/ogg
   allow_email_change    1
   allow_memberlist    0
   allow_private_albums    0
   allow_unlogged_access    3
   allow_user_account_delete    0
   allow_user_album_keyword    0
   allow_user_edit_after_cat_close    0
        allow_user_move_album    0
   allow_user_registration    1
   allow_user_upload_choice    1
        auto_resize    0
   batch_proc_limit    2
   bridge_enable    0
        browse_batch_add    1
   browse_by_date    0
   caption_in_thumbview    0
   categories_alpha_sort    0
   charset

QuoteMaybe this and the next post of Sami helps: http://forum.coppermine-gallery.net/index.php/topic,33512.msg158549.html#msg158549
- I tried the first suggestion and i still have the same issue.

Is Sami's second suggestion only if we cant edit the tables in phpmyadmin? Or should i be trying this anyway?

Αndré

Quote from: fran86 on August 22, 2013, 04:54:52 PM
I cannot find offline anywhere under cpg15x_config
I assume you have to click on page 2, 3 or whatever.


Quote from: fran86 on August 22, 2013, 04:54:52 PM
Is Sami's second suggestion only if we cant edit the tables in phpmyadmin? Or should i be trying this anyway?
It's for users who don't know their way around with phpMyAdmin.

fran86

Quote from: Αndré on August 22, 2013, 04:58:24 PM
I assume you have to click on page 2, 3 or whatever.
- No worries, i found it and my gallery is online now.

I requested a new password, followed the instructions and still nothing.. same error :(

Αndré

Please post a link to your gallery. As it seems that you know your way around with phpMyAdmin, please also create a new user (no admin user) and post the login details, so we can test ourselves.

fran86

Quote from: Αndré on August 22, 2013, 08:43:24 PM
Please post a link to your gallery. As it seems that you know your way around with phpMyAdmin, please also create a new user (no admin user) and post the login details, so we can test ourselves.

Added a new user (i think) couldn't find a tutorial anywhere. I went to table cpg15x_users > insert > filled in details. Its asked me to "Run SQL query/queries on database" - I repaired DB under MySQL Databases.. is that correct?

Username: testuser
PW: test
Link: http://ellenpagedaily.com/photos/login.php

- This test also didn't work for me but i could have made a mistake creating a user.

Αndré

If you're willing to give me your phpMyAdmin login data, I'd like to have a look at your database. If so, I'll PM you my contact details.

fran86

Quote from: Αndré on August 23, 2013, 10:15:44 AM
If you're willing to give me your phpMyAdmin login data, I'd like to have a look at your database. If so, I'll PM you my contact details.

I can arrange that, you are so kind to help me out!


Αndré



Αndré

As you require the email address for login, I added an email address for the test user and replaced the plain text password by the MD5 hash.

I was able to login via test@test.com / test.

fran86

Quote from: Αndré on August 23, 2013, 12:04:39 PM
As you require the email address for login, I added an email address for the test user and replaced the plain text password by the MD5 hash.

I was able to login via test@test.com / test.

Oh, i thought i may have done something wrong there.. oops. I could also login with the test user. :)

What does this mean for my admin login? I am still unable to login.

Αndré

You set your gallery to login via email address, not user name. So you have to enter your admin's email address instead of the user name. You can change that behavior in the config after you logged in as admin successfully. Alternatively it's also possible directly in the MySQL database.

fran86

Quote from: Αndré on August 23, 2013, 12:38:38 PM
You set your gallery to login via email address, not user name. So you have to enter your admin's email address instead of the user name. You can change that behavior in the config after you logged in as admin successfully. Alternatively it's also possible directly in the MySQL database.

My goodness, i feel so silly now! I dont remember changing it, seems odd. Working fine now with email.. you saved me though, i probably wouldn't have realised for a while.

Thankyou again for your help :)

Αndré

Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your thread as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.