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 -> NukeSentinel(tm) Bug Reports
Author Message
CurtisH
Life Cycles Becoming CPU Cycles



Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Mon Mar 07, 2005 3:46 pm Reply with quote

When attempting to manually add an IP to block it is not being entered into the database for me. It is writing it to the .htaccess file for me, but not the database

_________________
Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe 
View user's profile Send private message Visit poster's website Yahoo Messenger
CurtisH







PostPosted: Mon Mar 07, 2005 6:44 pm Reply with quote

Ok, I completely uninstalled Sentinel and then reinstalled it and the above issue still remains. I have checked the database and it is indeed empty (ip block). Everything else seems to be working as it should but I am uncertain as to why it isn't storing the manually blocked IP addresses in the database.

Anyone else experience this?
 
BobMarion
Former Admin in Good Standing



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

PostPosted: Tue Mar 08, 2005 12:32 am Reply with quote

Find (admin/modules/nukesentinel/ABBlockedIPAddSave.php):
Code:
  $db->sql_query("INSERT INTO ".$prefix."_nsnst_blocked_ips VALUES ('$xIPs', '$xuser_id', '$xusername', '$xuser_agent', '$bantime', '$xnotes', '$xreason', '$temp_qs', '$xx_forward_for', '$xclient_ip', '$xremote_addr', '$xremote_port', '$xrequest_method', '$xexpires', '00')");

Change to:
Code:
  $db->sql_query("INSERT INTO ".$prefix."_nsnst_blocked_ips VALUES ('$xIPs', '$xuser_id', '$xusername', '$xuser_agent', '$bantime', '$xnotes', '$xreason', '$temp_qs', '$temp_qs', '$temp_qs', '$xx_forward_for', '$xclient_ip', '$xremote_addr', '$xremote_port', '$xrequest_method', '$xexpires', '00')");

_________________
Bob Marion
Codito Ergo Sum
http://www.nukescripts.net 
View user's profile Send private message Send e-mail Visit poster's website
nexus
New Member
New Member



Joined: Jan 15, 2005
Posts: 5

PostPosted: Tue Mar 08, 2005 4:19 pm Reply with quote

mine didnt work before , and doesnt work after applying that ^ Sad
 
View user's profile Send private message
nexus







PostPosted: Tue Mar 08, 2005 4:34 pm Reply with quote

Ok n/m that post ^ d*** opera had cached the page Sad

works fine now , thx bob Very Happy
 
Lucifix
Regular
Regular



Joined: Mar 11, 2005
Posts: 67

PostPosted: Sat Jun 11, 2005 6:05 am Reply with quote

Hi,

I am facing the SAME problem as CurtisHancock. I have upgraded nukesentinel to NukeSentinel™ 2.3.0 but that doesn't solve the problem.

Any idea what could be wrong?
 
View user's profile Send private message
BobMarion







PostPosted: Tue Jun 14, 2005 2:04 pm Reply with quote

Email me at webmaster(at)nukescripts(dot)net .
 
dcasmr
Worker
Worker



Joined: Feb 06, 2004
Posts: 147

PostPosted: Tue Nov 08, 2005 2:35 am Reply with quote

Hello,


I have just noticed that sentinel 2..4.2 is not adding the blocked IPs to the blocked IP table either.... I wanted to use Bob' fixe but my line is different in the ABBlcokedIPAddSave.php is different ...

sql_query("INSERT INTO `".$prefix."_nsnst_blocked_ips` VALUES ('$xIPs', '$xuser_id', '$xusername', '$xuser_agent', '$bantime', '$xnotes', '$xreason', '$temp_qs', '$temp_qs', '$temp_qs', '$xx_forward_for', '$xclient_ip', '$xremote_addr', '$xremote_port', '$xrequest_method', '$xexpires', '$xc2c')");

I do receive the e-mails about the blocked IPs... any ideas?
thanks
 
View user's profile Send private message
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 -> NukeSentinel(tm) Bug Reports

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 ©