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
Sfolivier
New Member
New Member



Joined: Jun 29, 2005
Posts: 15

PostPosted: Tue Jun 28, 2005 10:39 pm Reply with quote

Hi,

I just installed Sentinel ftom "NukeSentinel_71-77_230.tar.gz" and I'm confused about the modifications I have to perfom on the mainfile.php.

The core file modifications advise me to add after the beginning:

Code:
if (defined('FORUM_ADMIN')) {

    @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
    @include_once("../../includes/nukesentinel.php");
} else {
    @include_once("includes/nukesentinel.php");
}


And if I do that, I can't access the sentinel admin module and I'm requested to add:

Code:
if ($forum_admin == 1) {

  include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
  include("../../includes/sentinel.php");
} else {
  include("includes/sentinel.php");
}


at the beginning of the mainfile. If I comply, I can access the sentinel admin module but I can't access the forum admin module anymore.

In other words, I can either administer sentinel or phpbb... But I can't make an edit that makes both happy.

Any idea?
Thanks!
 
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: Tue Jun 28, 2005 10:53 pm Reply with quote

A couple of questions for you:
1) PHP-Nuke version number
2) Patched version number
3) Where you download the NS package from
4) Did you COMPLETELY REMOVE the older NukeSentinel files?

Reason for the third question is I just checked the package and every it states
Code:
if (defined('FORUM_ADMIN')) {

  @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
  @include_once("../../includes/nukesentinel.php");
} else {
  @include_once("includes/nukesentinel.php");
}


Reason for question 4 is that the file hasn't been named sentinel.php in awhile now but is named nukesentinel.php . So you appear to have two versions conflicting.

_________________
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
Sfolivier







PostPosted: Wed Jun 29, 2005 10:23 pm Reply with quote

Thanks for your suggestions.

(1) (2) I use PHP-Nuke 7.6 with the 3.0B patch.

(3) I got Sentinel from directly from NukeScript.

(4) Good point. I didn't have the old package so I just uploaded the new one thinking that everything would be overwritten. I need to go back and find a way to clean up the old install. Do you have any idea of the old file that would be checking for sentinel.php?

Thanks. I'll keep you posted if I manage to remove the problem file.
 
Sfolivier







PostPosted: Wed Jun 29, 2005 10:35 pm Reply with quote

admin/case/case.sentinel.php

Old file that caused the problem. Thanks for pointing me in the right direction!
 
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 ©