Author Topic: Can't login as admin  (Read 378 times)

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Can't login as admin
« on: July 30, 2018, 08:03:47 AM »
Hi guys, having not been on my site since last year, and the site has since been migrated to a new server, something has since happened to lock me out

tried these - Include this in your file: session.save_path = "/tmp"
or session.save_path = /tmp/php_sessions;


Yes I'm using the login route of http://mobile-dj-shop.co.uk/index.php?s=sh0padm1n    where sh0padm1n is my admin login specified in system/config.php

The website apparently is not sending out emails to anyone including me, meaning I can't get a password reset

So I accessed phpmyadmin via cpanel and the admin user record, this proves my Username is correct.

I then changed the encrypted password to 'password' encrypted to md5, giving me 5f4dcc3b5aa765d61d8327deb882cf99 in the table

However using my admin login and 'password' as the new password, it still won't allow me in

Any idea what I'm doing wrong and how I can access the website please?


Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #1 on: July 30, 2018, 08:14:04 AM »
To clarify the error message - No match for Username and/or Password.

I notice also that the URL changes when I get the error, to - http://mobile-dj-shop.co.uk/index.php?rt=index/login&s=sh0padm1n  not sure if relevant, but wanted to give you the full info!

Thanks!

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: Can't login as admin
« Reply #2 on: July 30, 2018, 09:12:03 AM »
Hello.
Why not ask hosting support to fix mail issues and then restore password via email?

Note: md5 is not the right way to hash password. It will not work
“Chuck Norris is so amazing.”
― Mother Teresa

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #3 on: July 30, 2018, 09:23:06 AM »
Thanks Basara, my hosting service spent two days trying to access the site and fix it but failed. Without being able to access the site, they can't find out what email settings have been set, thus wouldn't know where to start on fixing (assuming they could access them)

why is md5 not the correct way? I've used that on Worpress and Joomla site to access admin passwords.  Is there a specific coding for AbanteCart cart passwords?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: Can't login as admin
« Reply #4 on: July 30, 2018, 09:31:30 AM »
Hello
AbanteCart is more secure and use SALT to hash all sensitive data so if someone stole you database the passwords will be safe.

“Chuck Norris is so amazing.”
― Mother Teresa

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #5 on: July 30, 2018, 09:34:19 AM »
aha!

So with access to mysql what should I put into the password box in order to use SALT?  Or is there a different/ better way?

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #6 on: July 30, 2018, 10:05:04 AM »
Even tried this which looked like it should work - http://forum.opencart.com/viewtopic.php?t=15626

Falied with that as well, just get a blank page :-(

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: Can't login as admin
« Reply #7 on: July 30, 2018, 10:10:32 AM »
Try forum search I am sure someone post solution for your case
“Chuck Norris is so amazing.”
― Mother Teresa

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #8 on: July 30, 2018, 10:15:51 AM »
Already done a forum search and google, using various phrases. I've been searching for an answer and trying assorted things for just over 2 weeks now, everything I try fails, yet my webhost claim everything on the site is fine (and you can see it fine from the public side)

One guy even made a purchase (which I didn't see as I didn't;'t get an email and can't log in to check it!)

Baffled, but hopefully someone will read this and have an idea.... PLEASE!

Offline natdroid

  • Jr. Member
  • **
  • Posts: 85
  • Karma: +25/-2
    • View Profile
    • Contact
Re: Can't login as admin
« Reply #9 on: July 31, 2018, 01:24:42 AM »
Balanced abantecart hosting https://goo.gl/CDePDg
Abantecart help https://www.fiverr.com/s2/019342ef58

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #10 on: July 31, 2018, 05:07:46 AM »
Paid my £13.60 via fiverr. fingers crossed you can fix it...

Offline natdroid

  • Jr. Member
  • **
  • Posts: 85
  • Karma: +25/-2
    • View Profile
    • Contact
Re: Can't login as admin
« Reply #11 on: July 31, 2018, 05:45:09 AM »
Paid my £13.60 via fiverr. fingers crossed you can fix it...


Check your fiverr inbox  :D
Balanced abantecart hosting https://goo.gl/CDePDg
Abantecart help https://www.fiverr.com/s2/019342ef58

Offline mdjn

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Can't login as admin
« Reply #12 on: July 31, 2018, 12:07:58 PM »
All sorted, thanks natdroid!!