PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Susann
Moderator


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

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

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 Visit poster's website
fkelly
Moderator


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

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

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
Moderator


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

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

Its not urgent and I can wait until Bob looked into this but I believe its from modules.php?name=NukeSentinel&op=STIPS
View user's profile Send private message Visit poster's website
BobMarion
Former Admin in Good Standing


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

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

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
View user's profile Send private message Send e-mail Visit poster's website
Susann
Moderator


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

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

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.
View user's profile Send private message Visit poster's website
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum