by David Tong » August 27th, 2011, 11:07 am
Hi James,
This is really strange and I have never seen it happen before. Did you get any error message like "Invalid username or password" etc. from the login page?
You can set a magic password to allow you to login as any user including the admin user. In config.php change the following line:
$config['cms_magic_password'] = false;
to
$config['cms_magic_password'] = '81dc9bdb52d04dc20036dbd8313ed055';
The magic password is now set as "1234" without the quotes. Once you are in the site using the magic password, you should double check the user accounts and make sure they are using the right authentication like local or ldap and reset the passwords for the local accounts. Please make sure to disable the magic password by setting it to false after you are done. The magic password is just a plain MD5 value and you are welcome to set it to something impossible to crack and keep it inside config.php.