Jump to content

Emm... Is there any way to recovery the admin password of 2.2.0 beta?


Guest ysun

Recommended Posts

Posted

Hello,

When the beta released, it was too late in my time zone, a moment ago I want to login to the ACP and I did my best to remember the admin password but failed.

I have set some changes in ACP and I really don't want to reinstall it, does anyone has any way to recovery the admin password?

many thanks.

Posted

Go to phpMyAdmin, select the database, prefix_members, edit user id 1 (Yours) in password field type the password you want, and in the dropdown box (Type) select md5.

Not 100% if it works with IPB but it works with other software that uses md5

Posted

Go to phpMyAdmin, select the database, prefix_members, edit user id 1 (Yours) in password field type the password you want, and in the dropdown box (Type) select md5.



Not 100% if it works with IPB but it works with other software that uses md5

Thank you. Maybe my phpMyAdmin is a low version, there was no dropdown box to select md5. But I saw I can edit the group id and fortunately I have one member id, so I did the first steps you mentioned, change the group id of the member from 3 to 4, login to the ACP with the member id(now it's in admin group), and reset the admin password. Now it works! :thumbsup:

That won't work with IPB.



My phpMyAdmin is a low version so I didn't change the MD5 password but upgrade a member from group 3 to group 4 to got the admin permission. :)

just use the forgotten password feature



I never succeed in making my SMTP service work... >_< OS is win2003 SP1, port 25 is open, SMTP in IIS6 is okay, but still can not send mail. I use apache2 as www service, don't know if there was conflict between iis and apache on smtp service...
Posted

Use PHP's Mail() function - see your EMail set up in ACP




I tried but still not work. :(

I don't know if PHP mail() still need an smtp service running first or I need to edit something in the php.ini? :huh:
Posted

create a php file with this content:

<?php

echo md5( md5( "ABCDE" ) . md5( "password" )  );

?>



upload the file to your host and run it from the browser.

goto phpmyadmin and choose the "ibf_members_converge" table, edit the first line (converge_id = 1).

in "converge_pass_hash" enter the output from the php file above, in the "converge_pass_salt" enter "ABCDE".

try to login with "password".

don

Posted

create a php file with this content:



upload the file to your host and run it from the browser.



goto phpmyadmin and choose the "ibf_members_converge" table, edit the first line (converge_id = 1).



in "converge_pass_hash" enter the output from the php file above, in the "converge_pass_salt" enter "ABCDE".



try to login with "password".



don

Posted

ysun, for php's mail() function you do need a mail server set up in php.ini

To test the mail function you could just try something like this:

// Professor P$to = "you@somedomain.com";$content = "Your php's mail function works fine!";$subject = "test";mail($to,$subject,$content);?>

<?php












If you get an EMail, your PHP configuration is fine

Posted

ysun, for php's mail() function you do need a mail server set up in php.ini



To test the mail function you could just try something like this:



If you get an EMail, your PHP configuration is fine




Thank you, it doesn't work, it seems my phpmail() are not set up correctly. I saw php.ini before, there are several lines about phpmail, but I don't know how to change its parameters and I didn't find any detailed articles on internet about this. :P
Posted

ysun, for php's mail() function you do need a mail server set up in php.ini



To test the mail function you could just try something like this:



// Professor P

$to = "you@somedomain.com";
$content = "Your php's mail function works fine!";
$subject = "test";


mail($to,$subject,$content);

?>

If you get an EMail, your PHP configuration is fine

Alternatively, you could just check for the function:

<?php
if (function_exists('mail')) {
    echo "Congratulations!<br />It's possible to send e-mail on this server!";
}
else {
    echo "Sorry!<br />It's <b>not</b> possible to send e-mail on this server!";
}
?>

Posted

Alternatively, you could just check for the function:



Thank you. It saids:

Congratulations!
It's possible to send e-mail on this server!

But I still can not send mail, the 'Error MSG' in the 'View Email Error Logs' saids 'Could not send the email'. Very strange.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...