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(tm)
Author Message
jetpil0t
New Member
New Member



Joined: Dec 19, 2006
Posts: 2

PostPosted: Tue Dec 19, 2006 4:09 am Reply with quote

I managed to get this working properly after a bit of struggle.

I am running phpNuke 7.9, osc2nuke Universal 1.2 and NukeSentinel 2.5.

Newer versions of NukeSentinel use nukesentinel.php instead of sentinel.php.

Also, init.php is no longer used in osc2nuke, the file you are now looking for is called sessions.php Wink

1. In includes/nukesentinel.php, find:
Code:


if(defined('FORUM_ADMIN')) {
  define('NSINCLUDE_PATH', '../../../');
} elseif(defined('INSIDE_MOD')) {
  define('NSINCLUDE_PATH', '../../');
} else {
  define('NSINCLUDE_PATH', './');
}


Change to:
Code:


if(defined('FORUM_ADMIN')) {
  define('NSINCLUDE_PATH', '../../../');
} elseif(defined('INSIDE_MOD')) {
  define('NSINCLUDE_PATH', '../../');
  // change for osc2nuke
  require_once("../../modules/catalog/includes/functions/sessions.php");
  // end of change for osc2nuke
} else {
  define('NSINCLUDE_PATH', './');
  // change for osc2nuke
  require_once("modules/catalog/includes/functions/sessions.php");
  // end of change for osc2nuke
}


The next thing (this took me a while to figure out) to do is:

2. In modules/catalog/includes/application_top.php, find:
Code:


// define how the session functions will be used
@require(DIR_WS_FUNCTIONS . 'sessions.php');


Change to:
Code:


// define how the session functions will be used
// Change for NukeSentinel 
//@require(DIR_WS_FUNCTIONS . 'sessions.php');
@require_once(DIR_WS_FUNCTIONS . 'sessions.php');
// End change for NukeSentinel


3. Do exactly the same for modules/catalog/admin/includes/application_top.php

Done Very Happy

Moderators/others please feel free to correct me on which exact versions of the modules and phpNuke this applies to.
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Dec 22, 2006 7:32 am Reply with quote

Looks as though someone made this a Sticky. Thanks!

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Dec 22, 2006 7:52 am Reply with quote

RavensScripts
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©