Accidentally Changed Admin Pass - Can't Reset

Hello,



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 :confused:



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.

hi,



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

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:



5f4dcc3b5aa765d61d8327deb882cf99



You will have a new password called password.

Easily to change via MD5 in your database.

Thanks for your replies. Issue is solved!