Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Accidentally Changed Admin Pass - Can't Reset Rate Topic   - - - - -

  • scooterlord
  • Advanced Member
  • Members
  • Join Date: 29-Jun 13
  • 111 posts

Posted 18 April 2015 - 03:58 PM #1


I was trying to migrate data from an old cscart installation (2.2.4) to a new one (4.2.4). Actually I only exported user data and imported to the new site.

However, something went wrong, and my password (admin pass) was overwritten from the ones found in the old database, and now neither works old or new.

I am getting 'could not instantiate mail function' so I can't reset password - and still can't solve this problem as well.

I entered the database, went to cs-cart users, found my user name. I tried all kinds of ways to change my password but had no luck. I tried using MD5, I tried pass to md5 hash generators. No luck at all.

So this is a double question:

a) how is this mail instatiate function issue solved?
B) how can I reset my admin pass through the database?

It's a bit of an emergency so all help is welcome, hopefully soon enough!

Unfortunately no previous database backup :/

edit: I managed to get a db backup from my host and restored. The mailer error was coming from the fact that my webhost didn't allow using a gmail FROM sender for the phpmailer, just in case anyone encounters the same thing.

Now the only thing that remains is: is there some kind of way to successfully import user data from a 2.2.4 version to a 4.2.4 version?

I should not that the 2.2.4 was a paid version and going to a free 4.2.4 version.


Posted 19 April 2015 - 08:54 AM #2


please provide ftp access to your server, specify locations of cs-cart installation on the server and we will assist you with issue

best regards,
WSA team

  • Onkel_Sid
  • Junior Member
  • Members
  • Join Date: 04-Sep 10
  • 301 posts

Posted 19 April 2015 - 11:33 AM #3

Go to the table cacart_users and find your admin account. There is a column called password. If you change the number to this number:


You will have a new password called password.

Stop smoking start vaping: Dampskyen.no

  • chrisbti
  • Senior Member
  • Members
  • Join Date: 20-Oct 11
  • 262 posts

Posted 19 April 2015 - 10:06 PM #4

Easily to change via MD5 in your database.

Regards, God Be With You! Jesus Christ our Lord & Savior.
BTI - Better Tools For Industry
Industrial Hand Tools Made in USA | www.BTI-Tool.com | v.4.9.3.SP1 | Apache

  • scooterlord
  • Advanced Member
  • Members
  • Join Date: 29-Jun 13
  • 111 posts

Posted 20 April 2015 - 07:19 AM #5

Thanks for your replies. Issue is solved!