PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
jetpil0t
New Member
New Member


Joined: Dec 19, 2006
Posts: 2

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

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: 7487
Location: Arizona

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

Looks as though someone made this a Sticky. Thanks!
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

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

RavensScripts
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum