Page might be hacked can′t login
-
Hi!
Since yesterday I have been troubleshooting this page: barnteater.org. For some reason it′s impossible to login.
I tried to resett the password but I don′t recieve a mail in my inbox. I have removed all plugins and tried to rename the theme. Unfortunately the page doesn′t fall back to another theme.
I have tried emergency.php but that doesn′t work either.
I have updated wordpress and it seems to work, but I still can′t login.
I have used this code in the function.php in the theme I am using:
function add_admin_acct(){
$login = ‘admin’;
$passw = ‘barnteater’;
$email = ‘[email protected]’;if ( !username_exists( $login ) && !email_exists( $email ) ) {
$user_id = wp_create_user( $login, $passw, $email );
$user = new WP_User( $user_id );
$user->set_role( ‘administrator’ );
}
}
add_action(‘init’,’add_admin_acct’);… but it doesn′t work. I believe that the page is hacked somwere but what can I look for and how can I find the files or codesnippets that ruins the page. I am willing to rebuild the entire page if I just get into the adminsection!
If anyone has any suggestions I would be more than thankful!
/Karin
- The topic ‘Page might be hacked can′t login’ is closed to new replies.