Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN NukeSentinel(tm) issues
Author Message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Apr 30, 2008 6:53 am Reply with quote

In rnlogs I got this entry:

Quote:
Unknown column 'ip_lo' in 'order clause'
SQL was: SELECT * FROM `nuke_nsnst_blocked_ips` ORDER BY ip_lo asc LIMIT 0,50
remote addr: xxx


Could this be from STIPS.php ?
 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Wed Apr 30, 2008 7:14 am Reply with quote

It looks like it could be. There is no ip_lo column in nsnst_blocked_ips table. The column that is searched is parameterized, so to speak, based on your selection and somehow 'ip_lo' is getting in there. Maybe it comes from doing a range search against the blocked_ips table but Bob would have to look into that.
 
View user's profile Send private message Visit poster's website
Susann







PostPosted: Wed Apr 30, 2008 11:06 am Reply with quote

Its not urgent and I can wait until Bob looked into this but I believe its from modules.php?name=NukeSentinel&op=STIPS
 
BobMarion
Former Admin in Good Standing



Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Wed Apr 30, 2008 7:49 pm Reply with quote

Open modules/NukeSentinel/public/STIPS.php find line 20:
Code:
if ($column != "ip_long" and $column != "reason" and $column != "date") { $column = "ip_lo"; }

Change the "ip_lo" to "ip_long" like so:
Code:
if ($column != "ip_long" and $column != "reason" and $column != "date") { $column = "ip_long"; }


Must have been copied over when updating the ip2country and range pacges Sad

_________________
Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
Susann







PostPosted: Thu May 01, 2008 7:12 am Reply with quote

Thanks ! Older versions like 2.5.16 have the same line with ip_lo there but everybody should always use the current version of NukeSentinel to be really up-to-date and protected.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN NukeSentinel(tm) issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©