![]() |
When you 'filter' someone (eg, a userID or username) it only shows a single page of results and hiding the rest with no next page, etc. Might be a slight bug/issue.
|
Quote:
|
5 June 2014: Fixed searching only showing the last 25 entries. Pagination will now work as intended.
In case you have this product installed already, you only have to replace the loginlog.php file in the admincp folder. |
I've installed on 2 different test servers both which have a prefix for all the vbulletin tables of "vb_"
When importing the product it creates the loginlog table with the correct "vb_loginlog" name but when trying to login afterwards using the "login.php" - it gets an error because it's not adding the prefix of "vb_" ie: Table 'mydbname.loginlog' doesn't exist It should be using mydbname.vb_loginlog Hope this makes sense :) |
Quote:
|
With the v4 update can now login without error and view the log
but when purging the log it shows error also when viewing log and filter on "userid" but leave the search term blank it shows error |
Quote:
|
When purging the log it doesn't show much even with debugging enabled
========================================= Database error in vBulletin 4.2.0: Invalid SQL: ; MySQL Error : Error Number : 0 Script : http://.../admincp/loginlog.php?do=purgenow Referrer : http://.../admincp/loginlog.php?do=purge Classname : vB_Database MySQL Version : Stack Trace: #0 vB_Database->halt() called in [path]/includes/class_core.php on line 426 #1 vB_Database->execute_query() called in [path]/admincp/loginlog.php on line 41 ========================================= ========================================= Though when filtering on the blank userid it does give this for an error: Database error in vBulletin 4.2.0: Invalid SQL: SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.userid = ORDER BY a.id DESC LIMIT 0,25; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY a.id DESC LIMIT 0,25' at line 1 Error Number : 1064 Script : http://.../admincp/loginlog.php?do=&value=&type=1 Referrer : http://.../admincp/loginlog.php?do=&value=192&type=1 Classname : vB_Database MySQL Version : 5.0.95-log Stack Trace: #0 vB_Database->halt() called in [path]/includes/class_core.php on line 426 #1 vB_Database->execute_query() called in [path]/includes/class_core.php on line 459 #2 vB_Database->query_read() called in [path]/admincp/loginlog.php on line 83 ============================================ EDIT: noticed all the other blank queries work but they use "LIKE" instead of "=": SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE b.username LIKE '%%' ORDER BY a.id DESC LIMIT 0,25 SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.ip LIKE '%%' ORDER BY a.id DESC LIMIT 0,25 SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.loginstamp LIKE '%%' ORDER BY a.id DESC LIMIT 0,25 SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.isp LIKE '%%' ORDER BY a.id DESC LIMIT 0,25 SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.country LIKE '%%' ORDER BY a.id DESC LIMIT 0,25 SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.browser LIKE '%%' ORDER BY a.id DESC LIMIT 0,25 ===================== EDIT2: When filling in the userid filter with a number it does work though : SELECT a.userid, b.username, a.loginstamp, a.ip, a.isp, a.country, a.browser FROM vb_loginlog a INNER JOIN vb_user b ON a.userid = b.userid WHERE a.userid = 1 ORDER BY a.id DESC LIMIT 0,25 |
Hello, Cloudflare... Is a problem. If i use cloudflare it will display cloudflare IP's. Can you fix this?
|
Quote:
The query itself is correct to truncate the table. I will fix the other error if you search for nothing, although it doesn't have any priority. Quote:
|
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|