Author |
Message |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Jul 27, 2005 7:58 pm |
|
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. |
|
|
|
 |
Manuel
Regular


Joined: May 28, 2005
Posts: 90
|
Posted:
Sat Jul 30, 2005 10:31 am |
|
upgrade to 2.3.2 and read instructions or search in forums  |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
kreagon
New Member


Joined: May 29, 2005
Posts: 6
|
Posted:
Sat Aug 06, 2005 4:32 pm |
|
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. |
|
|
|
 |
BobMarion
Former Admin in Good Standing

Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Sat Aug 06, 2005 9:38 pm |
|
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  |
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
 |
kreagon

|
Posted:
Sat Aug 06, 2005 11:57 pm |
|
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

|
Posted:
Sun Aug 07, 2005 12:03 am |
|
That is actually in the Installation instructions  |
|
|
|
 |
Manuel

|
Posted:
Sun Aug 07, 2005 5:37 am |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Fri Sep 16, 2005 7:13 am |
|
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. |
|
|
|
 |
Raven

|
Posted:
Fri Sep 16, 2005 9:11 am |
|
We will look into this. Thanks for your work! |
|
|
|
 |
BobMarion

|
Posted:
Tue Sep 20, 2005 9:10 am |
|
|
|
 |
ring_c
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel
|
Posted:
Sun Nov 27, 2005 7:38 am |
|
BobMarion, thank you SO VERY MUCH!!!
I thought i'm losing my mind over this!!!
Thanks again... |
|
|
|
 |
|