OldHatBH Wrote:Just did a search for the add new admin script here at BBHF and does not seem to be here so here it is below. It has saved my ass so many times when some plugin has screwed up wp logins or I simply forgot what they were after cloning from one wp to another. Easy to use and instructions are in the folder.
Code:
http://www.mediafire.com/download/icy5a7ah9t7adnh/Addnewadmin.rar
Code:
https://www.virustotal.com/en/file/1dc513c74408b62d04ec39a4abd216198fc99c868b0d97ecce0eced66dad2818/analysis/1407254289/
Thanks for the share.
Simple but necessary.
+5 Rep!
Thanks for the share, rep added.
If I have this problem I edit the admin user in phpmyadmin, by the password field click on the drop down menu and select MD5. Then type in the password you want and click GO. Password is automatically encrypted.
UPDATE:
After attempting to test this script I received the following error message:
Warning: require(./wp-blog-header.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/addnewadmin/addnewadmin.php(39) : eval()'d code(3) : eval()'d code on line 29
Warning: require(./wp-blog-header.php): failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/addnewadmin/addnewadmin.php(39) : eval()'d code(3) : eval()'d code on line 29
Fatal error: require(): Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/addnewadmin/addnewadmin.php(39) : eval()'d code(3) : eval()'d code on line 29
Domain replaced with "xxxxxxxxx" for privacy and yes the file and directory is there!!!
Does not appear to work as advertised!!!
I needed to use it today on a site I cloned manually from wamp. Worked flawlessly for me.
Reps added!
(08-07-2014 05:02 AM)offlineguy Wrote: [ -> ]I needed to use it today on a site I cloned manually from wamp. Worked flawlessly for me.
Reps added!
Sounds great, now if I can just figure out why it did not work for me...
Awesome, can save your future headaches better than Bayer +5REP
Checking permissions access would be a good idea as that might be why
Merlin is not having success
(08-07-2014 06:19 AM)Archon Wrote: [ -> ]Awesome, can save your future headaches better than Bayer +5REP
Checking permissions access would be a good idea as that might be why
Merlin is not having success
I just checked it on another WP site of mine and the page came up to make a new admin account. Made it, but when I tried to use it it said" You do not have sufficient permissions to access this page. ".
I did not see anything on the page that allowed me to set any permissions. How would I check for that?