PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  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
Sfolivier
New Member
New Member


Joined: Jun 29, 2005
Posts: 15

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

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

PostPosted: Tue Jun 28, 2005 10:53 pm Reply with quote Back to top

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


Joined: Jun 29, 2005
Posts: 15

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

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.
View user's profile Send private message
Sfolivier
New Member
New Member


Joined: Jun 29, 2005
Posts: 15

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

admin/case/case.sentinel.php

Old file that caused the problem. Thanks for pointing me in the right direction!
View user's profile Send private message
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-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