Author |
Message |
drdan01
New Member
Joined: Jan 21, 2005
Posts: 9
|
Posted:
Sat May 28, 2005 12:58 pm |
|
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 |
|
|
|
|
Raven
Site Admin/Owner
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat May 28, 2005 1:04 pm |
|
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. |
|
|
|
|
drdan01
|
Posted:
Sat May 28, 2005 1:24 pm |
|
Okay, thanks for clarifying that part.
Any guesses then what my problem might be or where to try to begin troubleshooting?
Thanks!
Dan |
|
|
|
|
drdan01
|
Posted:
Sun May 29, 2005 9:15 am |
|
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
|
Posted:
Sun May 29, 2005 9:59 am |
|
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. |
|
|
|
drdan01
|
Posted:
Sun May 29, 2005 10:27 am |
|
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! |
|
|
|
|
|