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: Cant login with admin account - tried everything in search  (Read 5803 times)

0 Members and 1 Guest are viewing this topic.

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Cant login with admin account - tried everything in search
« on: August 22, 2013, 07:43:21 am »

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 :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #1 on: August 22, 2013, 11:14:24 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".


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
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Re: Cant login with admin account - tried everything in search
« Reply #2 on: August 22, 2013, 04:54:52 pm »

Thankyou for replying :)

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

Quote
Maybe 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #3 on: August 22, 2013, 04:58:24 pm »

I cannot find offline anywhere under cpg15x_config
I assume you have to click on page 2, 3 or whatever.


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.
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Re: Cant login with admin account - tried everything in search
« Reply #4 on: August 22, 2013, 05:14:46 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 :(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #5 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.
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Re: Cant login with admin account - tried everything in search
« Reply #6 on: August 23, 2013, 05:14:18 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #7 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.
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Re: Cant login with admin account - tried everything in search
« Reply #8 on: August 23, 2013, 10:56:19 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!

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #9 on: August 23, 2013, 11:02:12 am »

PM sent.
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #11 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.
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Re: Cant login with admin account - tried everything in search
« Reply #12 on: August 23, 2013, 12:27:09 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #13 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.
Logged

fran86

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Re: Cant login with admin account - tried everything in search
« Reply #14 on: August 23, 2013, 12:53:36 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 :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cant login with admin account - tried everything in search
« Reply #15 on: August 23, 2013, 01:21:14 pm »

Please
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.