Here is the code for php page:
call it page.php , upload to the root dir, and direct your browser to yoursite.com/page.php
Code Download source
$pass = 'yourpass';
$passadm = 'youradminpass';
dbquery("UPDATE ".DB_USERS." SET user_admin_password = md5(md5('$passadm')),user_admin_algo='md5', user_algo='md5',user_password=md5(md5('$pass')) WHERE user_id = '1' LIMIT 1;");
This code will reset your password to specified.
Remove this file after use! And make a DB backup at first.
- by PolarFox
Thank you SO MUCH for this! I have tried so many old "Sure fire fixes" that didn't work that I was about to give up hope. This is the first mention I found of the DOUBLE MD-5 hashing, which the other fixes I tried didn't have, which was surely why they failed. Just to let everyone know this still works; I'm using v 7.02.07 and writing this December 11, 2017.