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™ Bug Reports
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Jul 27, 2005 7:58 pm Reply with quote

Xioustic wrote:
I realize this is an old issue, but I'm still having the problem and am unclear as to what I should do to resolve it after reviewing this post. I'm currently running NukeSentinel 2.2.1...
Please update to v2.3.2. Then let us know if you are still having problems.
 
View user's profile Send private message
Manuel
Regular
Regular


Joined: May 28, 2005
Posts: 90

PostPosted: Sat Jul 30, 2005 10:31 am Reply with quote

upgrade to 2.3.2 and read instructions or search in forums Wink

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
kreagon
New Member
New Member


Joined: May 29, 2005
Posts: 6

PostPosted: Sat Aug 06, 2005 4:32 pm Reply with quote

I am having the same issue with 2.3.2 on two different servers on three different sites using 2 diff nuke packages.

Now it seems that this works from some and maybe for a few that it doesn't. So would that mean there is some sort of php include file missing?

Any info would be great.
 
View user's profile Send private message
BobMarion
Former Admin in Good Standing


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

PostPosted: Sat Aug 06, 2005 9:38 pm Reply with quote

Code:
#

#-----[ OPEN ]------------------------------------------
#
mainfile.php

#
#-----[ FIND ]------------------------------------------
#
<?php

#
#-----[ AFTER, ADD ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
    @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
    @include_once("../../includes/nukesentinel.php");
} else {
    @include_once("includes/nukesentinel.php");
}

On some servers you will need to move the above code to just after:
if (!ini_get("register_globals")) {
    import_request_variables('GPC');
}
instead of placing at the begining.


For Nuke Patched 3.1 in mainfile.php

#
#-----[ FIND ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
   @require_once("../../../config.php");
   @require_once("../../../db/db.php");
   @require_once("../../../includes/custom_files/custom_mainfile.php");
   @require_once("../../../includes/ipban.php");
} elseif (defined('INSIDE_MOD')) {
   @require_once("../../config.php");
   @require_once("../../db/db.php");
   @require_once("../../includes/custom_files/custom_mainfile.php");
   @require_once("../../includes/ipban.php");
} else {
   @require_once("config.php");
   @require_once("db/db.php");
   @require_once("includes/custom_files/custom_mainfile.php");
   @require_once("includes/ipban.php");
}

#
#-----[ CHANGE TO ]------------------------------------------
#
if (defined('FORUM_ADMIN')) {
   @require_once("../../../config.php");
   @require_once("../../../db/db.php");
   @require_once("../../../includes/custom_files/custom_mainfile.php");
   @require_once("../../../includes/ipban.php");
   @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
   @require_once("../../config.php");
   @require_once("../../db/db.php");
   @require_once("../../includes/custom_files/custom_mainfile.php");
   @require_once("../../includes/ipban.php");
   @include_once("../../includes/nukesentinel.php");
} else {
   @require_once("config.php");
   @require_once("db/db.php");
   @require_once("includes/custom_files/custom_mainfile.php");
   @require_once("includes/ipban.php");
   @include_once("includes/nukesentinel.php");
}


The above accounts for two different conditions if the primary fails to work properly. Your problem seems to be the first condition after failure, nn some servers you will need to move the primary code to just after:
Code:
if (!ini_get("register_globals")) {

    import_request_variables('GPC');
}
instead of placing at the begining.

If you are using Patched 3.1 is it best to place the include lines as shown from ChatServ section of the above copy Smile

_________________
Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
kreagon
PostPosted: Sat Aug 06, 2005 11:57 pm Reply with quote

Code:
if (!ini_get("register_globals")) {

    import_request_variables('GPC');
}


Thx moving just this line seems to have done it.

Thx for the assist!
Kreagon
 
Raven
PostPosted: Sun Aug 07, 2005 12:03 am Reply with quote

RTM That is actually in the Installation instructions Wink
 
Manuel
PostPosted: Sun Aug 07, 2005 5:37 am Reply with quote

exactly
 
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Fri Sep 16, 2005 7:13 am Reply with quote

I don't know if this is right or not. I've posted this in other threads with no response and don't want to repeat ... too much ... but I believe that the Sentinel folks left out an a statement " cookiedecode($user); " in their instructions for editing mainfile.php. At least for version 7.4, which I use. You can see how I arrived at that conclusion here:
Only registered users can see links on this board! Get registered or login!

I do know that after I put the statement back in my system works like a charm and thanks to Sentinel.
 
View user's profile Send private message Visit poster's website
Raven
PostPosted: Fri Sep 16, 2005 9:11 am Reply with quote

We will look into this. Thanks for your work!
 
BobMarion
PostPosted: Tue Sep 20, 2005 9:10 am Reply with quote

See the other thread
 
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 7:38 am Reply with quote

BobMarion, thank you SO VERY MUCH!!!
I thought i'm losing my mind over this!!!

Thanks again...
 
View user's profile Send private message Visit poster's website
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™ 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 ©