sychn Posted September 23, 2006 Share Posted September 23, 2006 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. Link to comment Share on other sites More sharing options...
Alex Posted September 23, 2006 Share Posted September 23, 2006 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 Link to comment Share on other sites More sharing options...
Guest Posted September 23, 2006 Share Posted September 23, 2006 That won't work with IPB. Link to comment Share on other sites More sharing options...
Mark Posted September 23, 2006 Share Posted September 23, 2006 just use the forgotten password feature Link to comment Share on other sites More sharing options...
sychn Posted September 23, 2006 Share Posted September 23, 2006 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 md5Thank 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 featureI 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... Link to comment Share on other sites More sharing options...
Mark Posted September 23, 2006 Share Posted September 23, 2006 Use PHP's Mail() function - see your EMail set up in ACP Link to comment Share on other sites More sharing options...
sychn Posted September 23, 2006 Share Posted September 23, 2006 Use PHP's Mail() function - see your EMail set up in ACPI 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: Link to comment Share on other sites More sharing options...
RedEnzian Posted September 23, 2006 Share Posted September 23, 2006 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 Link to comment Share on other sites More sharing options...
sychn Posted September 23, 2006 Share Posted September 23, 2006 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 Link to comment Share on other sites More sharing options...
RedEnzian Posted September 23, 2006 Share Posted September 23, 2006 sorry, on windows hosts i don Link to comment Share on other sites More sharing options...
Mark Posted September 23, 2006 Share Posted September 23, 2006 ysun, for php's mail() function you do need a mail server set up in php.iniTo 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);?><?phpIf you get an EMail, your PHP configuration is fine Link to comment Share on other sites More sharing options...
sychn Posted September 23, 2006 Share Posted September 23, 2006 ysun, for php's mail() function you do need a mail server set up in php.iniTo test the mail function you could just try something like this:If you get an EMail, your PHP configuration is fineThank 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 Link to comment Share on other sites More sharing options...
Logan Posted September 23, 2006 Share Posted September 23, 2006 ysun, for php's mail() function you do need a mail server set up in php.iniTo 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!"; } ?> Link to comment Share on other sites More sharing options...
sychn Posted September 23, 2006 Share Posted September 23, 2006 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. Link to comment Share on other sites More sharing options...
Logan Posted September 23, 2006 Share Posted September 23, 2006 Might want to contact your host, could be something else messed up. Link to comment Share on other sites More sharing options...
sychn Posted September 23, 2006 Share Posted September 23, 2006 Might want to contact your host, could be something else messed up. >_< the problem is I am my host... :( Link to comment Share on other sites More sharing options...
sychn Posted September 26, 2006 Share Posted September 26, 2006 I uninstalled the IIS with smtp service and installed an SMTP software, now it works.Thanks to the guys above. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.