I have a site in joomla built quite a long time back in the old version of joomla .Now i have to make some changes to the joomla site and i had lost my password and even on going to the area for lost password i cant access the site can anyone help me how to get out of this issue as soon as possible its really urgent.
I assume that you have the access to your files through FTP, so the solution is very simple.
Acess the files and find the configuration.php file. There you will find the Host, username, password etc, of your Joomla database. Then go to the jos_users table, and try to use this tool to change your password : Generate a new password for Joomla 1.0.x
This will work for Joomla 1.0.x . If you have ver. 1.5.x, it gets a little more complicated.
If you have access to a 1.5 install, you can generate your own password using this bit of code:
$salt = JUserHelper::genRandomPassword(32);
$crypt = JUserHelper::getCryptedPassword("yourpassword", $salt);
$password = $crypt.':'.$salt;
Note: The method that Deepali suggested will not work, because newest Joomla versions (1.5.x) are using the MD5 salted form, which means, that the password is saved in the database in the form of
SaltedMD5:Salt
, so it would be harder to break for multiple accounts, as the salt is changed every time to a random string.
just go through http://md5.gromweb.com/ create new password from here and put into your db jos_users table