PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
Manuel
Regular
Regular


Joined: May 28, 2005
Posts: 90

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

upgrade to 2.3.2 and read instructions or search in forums Wink
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 Back to top

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: 1043
Location: RedNeck Land (known as Kentucky)

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

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
View user's profile Send private message Send e-mail Visit poster's website
kreagon
New Member
New Member


Joined: May 29, 2005
Posts: 6

PostPosted: Sat Aug 06, 2005 11:57 pm Reply with quote Back to top

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Aug 07, 2005 12:03 am Reply with quote Back to top

RTM That is actually in the Installation instructions Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Manuel
Regular
Regular


Joined: May 28, 2005
Posts: 90

PostPosted: Sun Aug 07, 2005 5:37 am Reply with quote Back to top

exactly
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
fkelly
Moderator


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

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

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 to the forums!


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
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Sep 16, 2005 9:11 am Reply with quote Back to top

We will look into this. Thanks for your work!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
BobMarion
Former Admin in Good Standing


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

PostPosted: Tue Sep 20, 2005 9:10 am Reply with quote Back to top

See the other thread
View user's profile Send private message Send e-mail Visit poster's website
ring_c
Involved
Involved


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

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

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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum