Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] [BROKEN] Show users who have posted with this IP
#1
Admincp problem.

SQL Error:
1064 - 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 ')' at line 3
Query:
SELECT COUNT(u.uid) AS num_results FROM mybb_users u WHERE 1=1 AND u.uid IN()


That isn't working anymore. I tested both upgrade package and full package files just in case.

I need a fix for this asap. It's very important I can search via PMs to prevent fraud on my sites.
#2
more details? I don't even know which file your talking about.
#3
In admin/modules/user/user.php find:

$ip_uids = array();

replace with

$ip_uids = array(0);

Ryan
#4
That seemed to do it.

Thanks.
#5
Seems ok to me.. Big Grin
#6
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group


Forum Jump:


Users browsing this thread: 1 Guest(s)