Author |
Message |
Andrzej
Hangin' Around

Joined: Jan 22, 2004
Posts: 31
|
Posted:
Tue Jun 29, 2004 1:35 pm |
|
I use Sentinel 1.2 - very easy to install for a newbee like me
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 |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Jun 29, 2004 2:26 pm |
|
Have you added the include statement to your mainfile.php? |
|
|
|
 |
Andrzej

|
Posted:
Tue Jun 29, 2004 2:53 pm |
|
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)
|
Posted:
Tue Jun 29, 2004 5:23 pm |
|
Did you run hte nsnst.php file to install the needed db tables? |
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Andrzej

|
Posted:
Tue Jun 29, 2004 10:38 pm |
|
Yes, I have done it,
I have to db tables:
_nsnst_config
_nsnst_ips
Andrzej |
|
|
|
 |
BobMarion

|
Posted:
Tue Jun 29, 2004 11:37 pm |
|
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

|
Posted:
Wed Jun 30, 2004 5:10 am |
|
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
Andrzej |
|
|
|
 |
|