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



Joined: Jun 03, 2004
Posts: 11

PostPosted: Thu Jun 03, 2004 10:51 am Reply with quote

I've got Sentinel on 2 sites, one 7.1.1 NSN (hope to see a 7.3 NSN) and a 6.9 patched up thanks to chatserv. My issue on the 6.9 install is the Union blocker setting always reverts to off when I save my settings. Any ideas on why this might be?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jun 03, 2004 10:53 am Reply with quote

Are you using v1.1 or v1.2?
 
View user's profile Send private message
mega







PostPosted: Thu Jun 03, 2004 11:13 am Reply with quote

I've got 1.1 on both sites. 1.2 is available? I don't see it listed anywhere.
 
mega







PostPosted: Thu Jun 03, 2004 4:31 pm Reply with quote

For whatever reason the installer didn't put act_union in the nuke_nsnst_config table, even after uninstalling it and trying it again. I ended up just exporting that table from my 7.1.1 site and using that. Oddly enough Sentinel on the 6.9 site passed a union test without it.
 
mega







PostPosted: Fri Jun 04, 2004 1:57 am Reply with quote

I upgraded both sites to 1.2, the 7.1.1 site again had no problems, but the 6.9 site showed "Reset Blocker nuke_nsnst_config failed" for the union switch, and I can only seem to change it manually in the db.
 
Raven







PostPosted: Fri Jun 04, 2004 4:48 am Reply with quote

Very peculiar Mr. Spock, very peculiar!!

Find this code in includes/sentinel.php
Code:
  $db->sql_query("UPDATE ".$prefix."_nsnst_config SET config_value='$config_value' WHERE config_name='$config_name'");
and change it to
Code:
  mysql_query("UPDATE ".$prefix."_nsnst_config SET config_value='$config_value' WHERE config_name='$config_name'") or die("Update failed. Mysql said: ".mysql_error());

Let me know what the actual mysql error message is.
 
mega







PostPosted: Fri Jun 04, 2004 7:31 am Reply with quote

It is most illogical. Smile

This is even stranger, when I change the code as you requested, all the switches work fine, change it back and the union switch is stuck again.
 
Raven







PostPosted: Fri Jun 04, 2004 7:48 am Reply with quote

Smile) - Great! Problem solved!
 
Muffin
Client



Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Fri Jun 04, 2004 4:09 pm Reply with quote

My Sentinal includes/sentinal.php file has the first block of code there, so should I change mine to this also please?

I dont have a clue if my Union switch is stuck cos I dont understand it lol

It all seems to be working ok tho Embarassed
 
View user's profile Send private message
Raven







PostPosted: Fri Jun 04, 2004 5:12 pm Reply with quote

No. While it doesn't hurt anything, as long as yours works then leave it. You know it works if you are able to change it and it saves the value.
 
Muffin







PostPosted: Fri Jun 04, 2004 5:43 pm Reply with quote

Thank you Raven.

It's very confusing for a newbie. Embarassed
 
Raven







PostPosted: Fri Jun 04, 2004 5:45 pm Reply with quote

Don't be! Chatserv has been confused forever and he's perfectly happy <MUHAHAHAHAHA>
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Fri Jun 04, 2004 5:58 pm Reply with quote

Me confused? what are you talking about? I'm confused but i'm very happy though Mr. Green
 
View user's profile Send private message Visit poster's website
Muffin







PostPosted: Fri Jun 04, 2004 6:26 pm Reply with quote

lol

I'm always confused maybe we should form a club rofl
 
stephen2417
Worker
Worker



Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH

PostPosted: Fri Jun 04, 2004 6:32 pm Reply with quote

Yes really.. Now im confused too..

Raven can you tell us why chat is confused? or is this an inside joke?
 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Fri Jun 04, 2004 9:21 pm Reply with quote

I found a similar problem when updating the configuration. I noticed that the act_union configuration option was being updated in the table - but the field name was UNI0N (with a zero), not union (with the letter O). I had applied an earlier mod by DJMAZE that replaced instances of union (including, in this case, the field names of tables created through PHP) with UNI0N (the number zero). I'll need to back out that mod...maybe someone else had the same problem.
 
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 ©