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
grot
New Member
New Member



Joined: Jan 30, 2005
Posts: 14
Location: Netherlands

PostPosted: Thu Mar 17, 2005 3:42 pm Reply with quote

I have a weird one, site is running Nuke 6.5 with 2.1.3 of Sentinel. At least that is what displays in the Admin panel. Once I get into Sentinel admin however it shows up as 2.1.2.
The main issue I have is that I can not seem to turn on Script Blocking, each time I try to turn it on, it just never takes. Also can't seem to make the java help work either. And yes I have added the correct lines to the java file.

thanks for any help.
 
View user's profile Send private message
Susann
Moderator



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

PostPosted: Thu Mar 17, 2005 4:26 pm Reply with quote

Hi,

is this an update to 2.1.3 or a new install of Sentinel ?

I have also 6.5 updated to 2.1.3 and my only problem ist

the java pop up window. [ Only registered users can see links on this board! Get registered or login! ]
Sentinel works fine.
 
View user's profile Send private message
grot







PostPosted: Thu Mar 17, 2005 4:30 pm Reply with quote

This is a new install, plus I also noticed the small Sentinel Block that shows the banned IPs also shows Sentinel as 2.1.2, very strange.
 
Susann







PostPosted: Thu Mar 17, 2005 4:40 pm Reply with quote

What ver number is in the DB nuke_nst config. Maybe you have upload again the correct sentinel version.


Last edited by Susann on Thu Mar 17, 2005 4:42 pm; edited 1 time in total 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Mar 17, 2005 4:42 pm Reply with quote

Verify what version of NukeSentinel that you are using with this script. Save it to a file in the same folder as your config.php and run it.
Code:
<?php

include("mainfile.php");
$sql = "SELECT config_value FROM ".$user_prefix."`_nsnst_config` WHERE config_name='version_number'";
$row = $db->sql_fetchrow($db->sql_query($sql));
echo "NukeSentinel version number is <b>".$row[0]."</b>";
?>
 
View user's profile Send private message
grot







PostPosted: Thu Mar 17, 2005 4:46 pm Reply with quote

Well it indicates 2.1.2 which is a bit weird.
 
Raven







PostPosted: Thu Mar 17, 2005 4:58 pm Reply with quote

Nope. Depending on where and when you d/l it, it was released with a typo in the version number. There are posts about it here in the forum. Just change it.
 
grot







PostPosted: Thu Mar 17, 2005 4:58 pm Reply with quote

well I put nsnst back on and clicked on the upgrade to 2.1.3 and that has fixed the odd behavior with the version numbers. I still however can not seem to save the settings for the script blocker, it just will not turn on.
 
Susann







PostPosted: Thu Mar 17, 2005 6:05 pm Reply with quote

Have you read the sentinel FAQ an the install.txt too ?
"Be sure your .htaccess file has at least one blank line at
the end of it".


Last edited by Susann on Thu Mar 17, 2005 6:16 pm; edited 1 time in total 
Raven







PostPosted: Thu Mar 17, 2005 6:14 pm Reply with quote

Actually I think he's saying his problem is in the saving of the settings to the database, not the IP values, so the .htaccess would not be at issue.
 
BobMarion
Former Admin in Good Standing



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

PostPosted: Thu Mar 17, 2005 11:59 pm Reply with quote

Goto your database using phpMyAdmin and look at the nuke_nsnst_blockers table. In there see if you have a row labeled script. It is blocker 4.

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







PostPosted: Fri Mar 18, 2005 1:48 am Reply with quote

No I do not, I have blocker, block_name, activate, block_type, email_lookup, forward, reason, template, duration, htaccess, and list. So obviously something did not take in the database creation script. I will put back the nsn install script and see if I can reinstall or something.
 
grot







PostPosted: Fri Mar 18, 2005 1:57 am Reply with quote

Deinstalled and reinstalled the tables with the same result.
 
Raven







PostPosted: Fri Mar 18, 2005 2:06 am Reply with quote

Just add the row to the nuke_nsnst_blockers table using phpMyAdmin.
 
grot







PostPosted: Fri Mar 18, 2005 2:07 am Reply with quote

I have also looked at my other server which is working and it also does not contain this script row.
 
Raven







PostPosted: Fri Mar 18, 2005 2:21 am Reply with quote

It can't be working w/o that line. Run this code in phpMyAdmin
Code:
INSERT INTO `nuke_nsnst_blockers` VALUES (4, 'script', 0, 0, 0, '', 'Abuse-Script', 'abuse_script.tpl', 0, 0, '');
That should fix it.
 
grot







PostPosted: Fri Mar 18, 2005 2:28 am Reply with quote

Returned this:

Duplicate entry '4' for key 1
 
Raven







PostPosted: Fri Mar 18, 2005 2:38 am Reply with quote

Then you already have that row in your table. You said up above that you did not have the row.
 
grot







PostPosted: Fri Mar 18, 2005 2:45 am Reply with quote

When I click on my nuke_nsnst_blockers table I do not see that at all. If I need to go into something else let me know. As I indicated above all I see are: blocker, block_name, activate, block_type, email_lookup, forward, reason, template, duration, htaccess, and list.

Are those entries consistent with items that are in the same table?
 
Raven







PostPosted: Fri Mar 18, 2005 2:49 am Reply with quote

I see the confusion. You're looking at the table schema (layout), not the data in the table. You need to select the query to browse the data in the table. But, since we already know that the row of data exists, it's a moot point.
 
grot







PostPosted: Fri Mar 18, 2005 2:56 am Reply with quote

Yep, stupid error on my part, now I see the table your speaking about. Ok so back to the start then. The table now exists but the same fault is still occuring with the inability to set the script option. Any further ideas?
 
Raven







PostPosted: Fri Mar 18, 2005 5:52 pm Reply with quote

If you want me to take a closer look you will need to send me your
Site URL, god adminid/pass
FTP Url, id/pass
phpMyAdmin url, id/pass

Be sure this is in a PM and please restate what the issue is.
 
BobMarion







PostPosted: Fri Mar 18, 2005 10:40 pm Reply with quote

|First let's get your displayed version corrected, run this query in phpMyAdmin:
Code:
UPDATE nuke_nsnst_config SET config_value='2.1.3' WHERE config_name='version_number';


Now check one thing for me, when you view the table data for nuke_nsnst_blockers, what does the activate column for blocker 4 show? Is it a 0? The settings for this field are as follows:
Code:
0 = OFF

1 = EMAIL ONLY
6 = FORWARD ONLY
7 = TEMPLATE ONLY (default page)
2 = EMAIL & FORWARD
3 = EMAIL & TEMPLATE (default page)
4 = EMAIL, BLOCK, & FORWARD
5 = EMAIL, BLOCK, & TEMPLATE (default page)


I know they are not in numberic order but they are in order of severity from low to high.
 
grot







PostPosted: Mon Mar 21, 2005 2:17 am Reply with quote

I did review the settings in the database and verified that the script blocker was set to 0 or off. I then changed the setting to 5 which was correctly reflected in the GUI. I tried to turn off the script blocker via the GUI and could not.

I am moving house right now and will contact you via a PM so you can have a look later. Thanks for your support.
 
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 ©