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



Joined: Jan 21, 2005
Posts: 9

PostPosted: Sat May 28, 2005 12:58 pm Reply with quote

I'm trying to do a new install of 2.1.3 on Nuke 7.6.

Just uploaded the modified javascript.php, header.php and mainfile.php and got the following error when trying to access Sentinel admin:

Quote:

It appears that NukeSentinel(tm) has not been configured correctly. The
most common cause is that you either have an error in the syntax that is
including includes/sentinel.php from your mainfile.php, or you have not
added the NukeSentinel(tm) code to your mainfile.php. This code must be
placed immediately after the opening <? tag in mainfile.php. So your
first 7 lines in mainfile.php must look like this:

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




Now, the problem is that the ABOVE error and instructions do NOT match
the instructions inside of the Sentinel installation which say to do the
following:

Quote:

MAINFILE.PHP File Edits:
========================
1) Add the following to your mainfile.php file just after the opening <?

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


So which is correct? And if the install instructions are incorrect and the error message displayed is correct, is that likely to be the cause of my problem?

Thanks!

Dan
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat May 28, 2005 1:04 pm Reply with quote

If you are referring to the include or include_once, that really doesn't matter, but you're better off using include_once. Other than that the code and instructions seem identical to me.
 
View user's profile Send private message
drdan01







PostPosted: Sat May 28, 2005 1:24 pm Reply with quote

Okay, thanks for clarifying that part.

Any guesses then what my problem might be or where to try to begin troubleshooting?


Thanks!

Dan
 
drdan01







PostPosted: Sun May 29, 2005 9:15 am Reply with quote

Nudge....

The error message said "The most common cause is that you either have an error in the syntax that is including includes/sentinel.php from your mainfile.php, or you have not
added the NukeSentinel(tm) code to your mainfile.php."


So, since I do have the code added to mainfile.php that shouldn't be the problem, right? If so, then can anyone tell me what an "error in the syntax that is including includes/sentinel.php from your mainfile.php" might mean and where to look to find the problem?
 
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Sun May 29, 2005 9:59 am Reply with quote

I would comment that you need to make sure that you have run the nsnst.php installation file to install the tables.

THEN, you need to address Chatserv's Comments at:
[ Only registered users can see links on this board! Get registered or login! ]

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
drdan01







PostPosted: Sun May 29, 2005 10:27 am Reply with quote

64bitguy wrote:
I would comment that you need to make sure that you have run the nsnst.php installation file to install the tables.


Yup, I uploaded all the files, and then have run nsnst.php successfully, and then made the modifications to the javascript.php, header.php and mainfile.php. After that is when I got the above errors.

Quote:
THEN, you need to address Chatserv's Comments at:
[ Only registered users can see links on this board! Get registered or login! ]


chatserv said in the other post:
Quote:
If you have applied the recent $forum_admin fix remember two additional changes are required if using NukeSentinel:


I have read the other post as you suggested, but not clear as to whether I would have applied the recent $forum_admin fix. Is that fix a part of a patch or an update that I would have installed when I did Patch 3.0b or any of the bbtoNuke updates?

Thanks!
 
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 ©