Pages: 1 [2]   Go Down
  Print  
Author Topic: How to change your admin password if you get locked out  (Read 2566 times)
philjansen
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #15 on: January 12, 2011, 07:45:17 PM »

Thank you for the quick reply, I followed all the steps and changed the information, but still get the same message : ERROR!
There was an error sending your activation email.
Please contact us to have your account activated.
Enter your username:

Thank you for the support
God Bless
Phil

Just checked on PHPmY Admin after I changed it to a 1 , and save and go - it return to 0 and does not change.
Logged
Upgrade to an SDR 3
LuckyStar
Sr. Member
****
Offline Offline

Posts: 293



View Profile
« Reply #16 on: January 12, 2011, 08:13:18 PM »

okay then easiest thing to do is just create another account on your site, then go into

phpmyadmin > yourdb > users > new user you created

and then add a 7 to the permissions line

Whats your site btw?
Logged



philjansen
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #17 on: January 13, 2011, 06:41:48 AM »

Amen! Thank you very much, everything  is now just fine. I can also log-in with my new admin details. The other problem I have is that when a new user sign-up, the program does not send out an email to activate the account.

The e-mailer in the admin section is also not working, it shows that it send out the messages, but when it return it says the mailer has send 0 emails.

I did check my cronjobs and everything seems to be in order

My website name is Prosperity PTC - http://prosperityptc.info

Thank you once again!
Phil
Logged
LuckyStar
Sr. Member
****
Offline Offline

Posts: 293



View Profile
« Reply #18 on: January 13, 2011, 09:23:50 AM »

Amen! Thank you very much, everything  is now just fine. I can also log-in with my new admin details. The other problem I have is that when a new user sign-up, the program does not send out an email to activate the account.

The e-mailer in the admin section is also not working, it shows that it send out the messages, but when it return it says the mailer has send 0 emails.

I did check my cronjobs and everything seems to be in order

My website name is Prosperity PTC - http://prosperityptc.info

Thank you once again!
Phil
Okay well the first issue you have is that you are running an illegal/mulled/hacked script.


You have no site info module
http://prosperityptc.info/index.php?view=site_info

Version.txt is pretty much empty of copyright notes
http://prosperityptc.info/version.txt

Very sorry but we do not offer support to members with illegal scripts, please legitimize your site/script.

Using a nulled script is a very bad idea, your host can and will take your site and hosting down if a report is made to them or their datacentre, nulled scripts have backdoors, many bugs and various other issues, on top of that 4.0.1 is a VERY OLD version...
Logged



philjansen
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #19 on: January 13, 2011, 05:21:40 PM »

O' h my goodness Angry, I was not aware that it was an illegal script, I download it  from the Internet and thought it was legal. Can you give me more information how to purchase a legal script, I would prefer the  latest new up to date version. I really like the script and want it to be legal please, thank you for bringing this to my attention.  Smiley


Thank you!
Phil
Logged
fjworld
Jr. Member
**
Offline Offline

Posts: 50



View Profile WWW
« Reply #20 on: January 17, 2011, 12:38:31 AM »

As another option to reset your admin password....

- Create a text file and copy the following code to the file.
- Save the file as editpassword.php The filename doesn't really matter as long as the extension is php.
- Upload the file to your admin2 folder.
- Execute the file using your site url; for example www.yoursite.com/admin2/editpassword.php and you will have a list of all the usernames with admin priveleges
- Execute the file using your site url; for example www.yoursite.com/admin2/editpassword.php?u=admin and you will change the password for the username admin to admin

When you are done you can just rename the file to something less obvious or delete it.


Code:
<?php 
$updateuser 
$_GET['u'];

include(
"../config.php");
 
$connection mysql_connect($DBHost$DBUser$DBPassword) or die(mysql_error());
$db mysql_select_db($DBDatabase,$connection) or die(mysql_error()); 
$query_string "SELECT username, password FROM `user` where permission = 7";
$result_id mysql_query($query_string$connection);


while(
$row mysql_fetch_row($result_id)) {
   echo 
$row[0] . " " $row[1] . "<br /> ";
}
$query_string "update user set password = '21232f297a57a5a743894a0e4a801fc3' where username = '$updateuser'";
mysql_query($query_string);
echo 
$query_string;
echo 
"<br />Password for " $updateuser " was changed to admin";

?>

<br /><br />editpassword.php will display all members with admin priveleges.<br />
editpassword.php?u=xxxx where xxxx is a username with admin privelege will have its password reset to admin
Logged

Home of the profit guaranteed membership.
Get a SDR 3 NOW at http://ptcfactory.info

The best and most up to date Aurora script in the market!!
Pages: 1 [2]   Go Up
  Print  
 
Jump to: