PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
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 Back to top

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
View user's profile Send private message Visit poster's website Yahoo Messenger
CurtisH
Life Cycles Becoming CPU Cycles


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

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

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?
View user's profile Send private message Visit poster's website Yahoo Messenger
BobMarion
Former Admin in Good Standing


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

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

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')");
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 Back to top

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


Joined: Jan 15, 2005
Posts: 5

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

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

works fine now , thx bob Very Happy
View user's profile Send private message
Lucifix
Regular
Regular


Joined: Mar 11, 2005
Posts: 62

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

Hi,

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

Any idea what could be wrong?
View user's profile Send private message
BobMarion
Former Admin in Good Standing


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

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

Email me at webmaster(at)nukescripts(dot)net .
View user's profile Send private message Send e-mail Visit poster's website
dcasmr
Worker
Worker


Joined: Feb 06, 2004
Posts: 147

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

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.

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