Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
Andrzej
Hangin' Around



Joined: Jan 22, 2004
Posts: 31

PostPosted: Tue Jun 29, 2004 1:35 pm Reply with quote

I use Sentinel 1.2 - very easy to install for a newbee like me Wink

CONGRATULATIONS FOR A GREAT WORK!!!

But have a small problem

In: ../admin.php?op=ABBlocked

Warning: Division by zero in /admin/modules/sentinel.php on line 187

and I can't see blocked adresses

Andrzej
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Jun 29, 2004 2:26 pm Reply with quote

Have you added the include statement to your mainfile.php?
 
View user's profile Send private message
Andrzej







PostPosted: Tue Jun 29, 2004 2:53 pm Reply with quote

Yes

It looks like that:
Code:
<?php

   include("includes/sentinel.php");

/* Hackalert 1.2 by Raven 29-04-2004   */
// Raven http://ravenphpscripts.com
/* wuciete bo zainstalowany Sentinel 23-06-2004 */

//$queryString = strtolower($_SERVER['QUERY_STRING']);
//if (strstr($queryString,'%20union%20') OR strstr($queryString,'/*')) {
//   header("Location: hackattempt.php?$queryString");
//   die();
//}
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                               
 
BobMarion
Former Admin in Good Standing



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

PostPosted: Tue Jun 29, 2004 5:23 pm Reply with quote

Did you run hte nsnst.php file to install the needed db tables?

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







PostPosted: Tue Jun 29, 2004 10:38 pm Reply with quote

Yes, I have done it,

I have to db tables:
_nsnst_config
_nsnst_ips

Andrzej
 
BobMarion







PostPosted: Tue Jun 29, 2004 11:37 pm Reply with quote

Your nuke_nsnst_config table data should be something like these:
Code:
INSERT INTO nuke_nsnst_config VALUES ('act_authors', '3');

INSERT INTO nuke_nsnst_config VALUES ('act_clike', '4');
INSERT INTO nuke_nsnst_config VALUES ('act_filters', '2');
INSERT INTO nuke_nsnst_config VALUES ('act_harvest', '3');
INSERT INTO nuke_nsnst_config VALUES ('act_script', '1');
INSERT INTO nuke_nsnst_config VALUES ('act_union', '4');
INSERT INTO nuke_nsnst_config VALUES ('admin_contact', 'webmaster@nukescripts.net');
INSERT INTO nuke_nsnst_config VALUES ('ban_type', '0');
INSERT INTO nuke_nsnst_config VALUES ('dis_link', '1');
INSERT INTO nuke_nsnst_config VALUES ('dis_reason', '1');
INSERT INTO nuke_nsnst_config VALUES ('email_lookup', '1');
INSERT INTO nuke_nsnst_config VALUES ('forward_loc', '');
INSERT INTO nuke_nsnst_config VALUES ('harvestlist', 'steeler\r\n@yahoo.com');
INSERT INTO nuke_nsnst_config VALUES ('htapath', '.htaccess');
INSERT INTO nuke_nsnst_config VALUES ('perpage', '50');


Make sure the "perpage" entry has a value greater then 0.
 
Andrzej







PostPosted: Wed Jun 30, 2004 5:10 am Reply with quote

That really was empty in this table

4 of them were empty:
forward_loc
harvestlist
htapath
perpage

I have fixed it. It's OK now RavensScripts

Andrzej
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©