lalitc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Missing zlib extensions PHP ErrorOn Ubuntu system installing zlib1g-dev helped.
sudo apt-get install –reinstall zlibc zlib1g zlib1g-dev
Hey guys, Just found the following line in the plugin code comments, just above the function which does Username or IP lockout:
@param int $type Type of event to log 1 for bad login, 2 for 404I think this certainly explains that lockout can happen because of two reasons.
1. Bad logins – Number of login attempts above some limit from Username/IP
2. 404 – When a user request a resource which does Not exist.Also, with the help of two WordPress database tables (wp-prefix_bwps_lockouts and wp-prefix_bwps_logs), I was able to figure out that problem I am facing is because of Reason 2.
But the doubt I have now is, If its correct implementation in plugin where, even though server returns 404 response (which is server side issue), user’s faces IP lockout.
I am facing the same problem and saw plugin code that return 418 status with “error” response in inc/secure.php file but I am new to WordPress so Not able to figure out what’s going wrong there and what causes execution of that block of code.
Another thing I am doubtful about is, If it has anything to do with IP blocking as I can see this problem from other networks from where I never accessed site before.
Please share when you guys started seeing this problem and what you found on this. We might arrive to something to prevent it.