Wordpress login issue with Administrator - wordpress

I have lose administrator password, due to multiple try the email got blocked. I have added new Administrator to the Database using SQL Queries and I am able to login but I am unable to see the dashboard.
See here
WordPress didn't show the option to visit dashboard, it show the username and logout option nothing else.

You can change password of your old admin. Go to wp_user table in database and change admin password there.

Related

Cannot login after setting up stagging website for WP

I have a live site (example.com). Instead of making changes and finding bugs when the public can view the site, I decided to setup a staging webiste. I followed the directions for setting it up here.
It appears to have worked, when I go to staging.example.com everything is there. But when I try to login staging.example.com/wp-admin.php it keeps giving
ERROR: Invalid username. Lost your password?
I tried my normal password and the password I used to create the new database.
What did I do wrong or what step did I miss? How can I add a new user to the staging account? I checked wp-config.php and believe I have the DB_NAME, DB_USER and DB_PASSWORD correct.
This is browser caching and cookies.
Try to open the page in anonymous window or another browser, or fully clear your cache and cookies
staging.example.com/wp-admin.php
This path does not exist, you need go to
staging.example.com/wp-admin/
When you need to create new user with database - you can open the database with phpMyadmin, and create user in the table wp_users. The password field must be left blank, and then go to the wp-login.php and recover the password to setup new one.

How to customise wordpress user authentication

I have a old website, which allow people to register and do staff. Say it is www.example.com.
Now I added a subdomain, reviews.example.com and want my users to write reviews.
The reviews.example.com is done in wordpress which works perfectly.
However, as my users already registered with the old site, ideally I want my user to use their old username and password to login to the review website. Also I would like new users to continue register in the old site and I could just write another query to insert the new user's username and password into wordpress's user table.
To custom login process for wordpress, can I apply a callback somewhere, so when wordpress login failed, I will run my custom query and create and return a wp_User object?
Or it is better to change the login code in wordpress directly? I searched wordpress code and saw the code where I could hack to put my own login logic.
Then one solution can be done
i.e
I am assuming that you made the username field and the password field
of registering and the password is visible for you.
Now once you make the wordpress install at your blog.website.com and then you need to copy the sql query which have import for your previous_users and paste in your SQL query of phpmyadmin after that you just need to add the same feild in your database as the wp-users feilds are containing then after that make your users password as MD5 crypt for that you just need to change the password type feild to MD5 crypt and your all users will be able to sign-in there.
I hope i Am clear to you.
Any Doubt you can Comment.

Can't log in to wordpress

My friend asked me to help him with his site on wordpress, he lost the wp admin panel password.
But he didn't loose the mysql login information so sirst i thought about changing the password right through phpmyadmin. I get in phpmyadmin and saw that password looks a little bit strange, like this $P$BUKCBYLJ.MmLPqlzZTw4P/rLnR.omZ.
This article helped me to create password that looks the same as passwords that already existed in mysql db passwords, so i put it in my admin's user_pass field.
But i'm still unable to log in.
Actually, when i try to access /wp-admin/, i see no standard wordpress login page
I see this
And when i fail to log in it gives me 401 and shows this page
Is it ok? What the difference between situations when standard login page shows and when this authentication alert box shows ?
Anyway, all I can think of is:
1) Online password hasher gives me wrong password,
2) You see, this authentication box says "please use your control panel password", so i think the site uses some other passwords, not passwords that are in it's db. Is it possible?
Thanks in advance!
You are seeing a Basic HTTP Authentication prompt, which is not part of WordPress - it is being sent by your webserver (likely Apache or Nginx). This provides an additional layer of security against brute force attacks as you need to "log in" to the web server before you can authenticate against WordPress.
The passwords for Basic Authentication are typically stored in .htpasswd files, and defined either in an .htaccess file or your webserver's configuration. Refer to this guide for some more information on how this is set up.
You will need to reset the Basic Authentication password in the .htpasswd file, or remove it entirely, before you can log into WordPress. Once you access the WordPress login prompt you can use the password that you have set for the user you want to login as. Options for resetting your WordPress password via SQL, phpMyAdmin, FTP, and the WP CLI can be found in the article Resetting Your Password on the WordPress site.

Wordpress Disable User Account?

I want to disable a user's account. When the user's account is disabled then the user should not able to login.
How can I disable user's accounts?
Well you could just delete it. Alternatively, go to the Users dashboard panel and change the user's role to "-- No role for this site --"
A quick Google search gave me the following plugin:
Disable Users
Once installed and activated, a checkbox appears on the user profile settings (only for admins). When checked, the users account will be disabled and they will be unable to login with the account. If they try to login, they are instantly logged out and redirected to the login page with a message that notifies them their account is disabled.
I think it's what you are looking for!
You can create a temporary user or disable user using the following plugin:
Temporary access for users
Temporary Access for users plugins creates the temporary user. If the admin wants to create a temporary user for some limited period of time like give temporary login to a user then this plugin is helpful to you.

How to go on administration page in NopCommerce CMS

I have logged in using the information provided during installation by using the normal login page but it says
Login was unsuccessful. Please correct the errors and try again.
The credentials provided are incorrect
From where i can go to administrator page link???
First of all check the [Customer] table in your database. check the user name or email id that are correct or not...
If they are correct then use forgot password link at the login page.
Might be your login name or password was wrong....
Open the table Customer in SQL database and find the Built-in system user whose email = "builtin#search_engine_record.com".
The Id is 7 in nopCommerce 4.0.
By default this user is active.
Set it Active = False.
Login and you will see the Administrator Link at the top of the page.
You can try to reset the password with through SQL in Customer Table, please make sure you make PasswordSalt as Null. After resetting the password. Refresh your page and enter password and after you logged in then you can see a link to Administration on top

Resources