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™
Author Message
chatserv
Member Emeritus


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

PostPosted: Wed Jan 19, 2005 11:15 pm Reply with quote

Found this on the one for Nuke 7.6, not sure if it applies to the UNI version.
On upgrading the version number is set correctly on the config db table but on a new install it gets listed as 2.1.2

File: nsnst.php
Find:
Code:
$result = $db->sql_query("INSERT INTO ".$prefix."_nsnst_config VALUES ('version_number', '2.1.2')");

Change to:
Code:
$result = $db->sql_query("INSERT INTO ".$prefix."_nsnst_config VALUES ('version_number', '2.1.3')");
 
View user's profile Send private message Visit poster's website
chatserv
PostPosted: Wed Jan 19, 2005 11:26 pm Reply with quote

If you have done a fresh install correct the version number with the following, save to a file, name something like nsnstvn.php upload to where mainfile.php is located and point your browser to it, delete once done.

Code:
<?php


include("mainfile.php");

$db->sql_query("UPDATE ".$prefix."_nsnst_config SET config_value='2.1.3' where config_name='version_number'");

echo "NukeSentinel version number updated, <b>Delete This File Now</b><br><br>Go to <a href=\"admin.php?op=ABMain\">NukeSentinel&trade; Admin</a>";

?>
 
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Jan 20, 2005 8:28 am Reply with quote

very nice cs..
 
View user's profile Send private message
Muffin
Client


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

PostPosted: Thu Jan 20, 2005 6:10 pm Reply with quote

Thanks Chat

_________________
Classic Mini rules the bends & bends the rules!
[img] 
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1159
Location: Sanbornton, NH USA

PostPosted: Thu Jan 20, 2005 8:24 pm Reply with quote

Yeah, that was identified quite a while ago, but it's still not updated either here or at NSN. Not sure why as Bob pointed out the fix a few weeks ago.

The easiest phpmyadmin fix is simply running this below query after a fresh install.

Code:
UPDATE nuke_nsnst_config SET config_value='2.1.3' WHERE config_name='version_number';

_________________
Steph Benoit Only registered users can see links on this board! Get registered or login!
1CMS, 100% Section 508 and W3C XHTML/CSS Compliant (Truly) 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Thu Jan 20, 2005 11:27 pm Reply with quote

What a bunch of whiners. It's fixed here. Smack
 
View user's profile Send private message
chatserv
PostPosted: Fri Jan 21, 2005 10:55 am Reply with quote

lol i posted it because it was not fixed at nukescripts when i downloaded it :p
 
64bitguy
PostPosted: Fri Jan 21, 2005 11:00 am Reply with quote

Speaking for the rest of the whiners (or is that Winers? or possibly Winners) I can only say, TY Bang Head

Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©