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™
Author Message
Darrell3831
Worker
Worker


Joined: Feb 18, 2004
Posts: 244

PostPosted: Wed Apr 27, 2005 1:48 pm Reply with quote

Hi,

I have Nuke 7.4 with 2.9 installed. Previously I was running Sentinel 2.1.2 without any trouble.

Today I tried to install 2.2.0.

I followed the instructions about uploading:

Quote:
Uploading Files:
----------------
NukeSentinel™ Files in Directories: FTP Upload to:
html/abuse/*.* ----------------> root/abuse/*.* Not needed for upgraders
html/admin/*.* ----------------> root/admin/*.*
html/blocks/*.* ----------------> root/blocks/*.*
html/images/*.* ----------------> root/images/*.*
html/includes/*.* ----------------> root/includes/*.*
html/language/*.* ----------------> root/language/*.*
html/modules/*.* ----------------> root/modules/*.* Not needed for upgraders
* root = the root directory of your site.


These instructions don't mention uploading nsnst.php, however I figured out that it was probably needed for it to run. Smile So I uploaded it.

Then pointed my browser to the nsnst.php file and got the imfamous blank page.

Checking further I noticed your upload instructions also do not tell you to upload the nsnst_installer directory either. So I uploaded that as well and the problem with a blank page went away.

I ran the nsnst script twice without trouble.

I upgraded from 2.1.2 to 2.1.3. Then I upgraded from 2.1.3 to 2.2.0. Both worked fine and every line said it succeded.

I made all the edits included in the instructions that came with my version.

Then I went into admin and clicked on the Senteniel 2.2.0 icon and got this error message:

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");
}


I have checked and rechecked. Those seven lines of code ARE there. They are identical, and they don't contain any typos that I can see.

I noticed that raven suggested to someone running Nuke 7.6 to add a line to their config.php file. This is NOT in the instructions either.

Quote:
Make sure that in your config.php file you have $admin_file = 'admin';


Should I add this even though I'm running 7.4?

Thanks for any help that will get me back up and running.

Sincerely,
Darrell

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Wed Apr 27, 2005 2:38 pm Reply with quote

In the README there is this information
Quote:
MAINFILE.PHP File Edits:
========================
1) Add the following to your mainfile.php file just after the opening <?

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


Your mainfile.php statements have not been changed correctly.
 
View user's profile Send private message
Darrell3831
PostPosted: Wed Apr 27, 2005 2:44 pm Reply with quote

Maybe I'm just not seeing it correctly and a freash set of eyes will save the day.

Here is the top of mainfile.php taken from my site.

Quote:
<?php
if (defined('FORUM_ADMIN')) {
@include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
@include_once("../../includes/nukesentinel.php");
} else {
@include_once("includes/nukesentinel.php");
}

# $Author: chatserv $
# $Date: 2005/03/30 03:08:21 $


As I said in my first message, it really, really looks right to me. I used copy and paste to put it there in the first place, and copy and paste to bring it here for you.

There shouldent be any typos...

I don't know what else to check.

Darrell
 
Darrell3831
PostPosted: Wed Apr 27, 2005 2:48 pm Reply with quote

I don't know if it's relevant, but now my admin page has two icons for Sentinel. One for 2.1.2 and one for 2.2.0...

I tried a union attack and sentinel 2.2.0 cought it and emailed me....

I still can't get to the sentinel admin page though.

Darrell
 
Raven
PostPosted: Wed Apr 27, 2005 3:03 pm Reply with quote

Sorry. I was reading from the QUOTE in your message and the error panel was saying /sentinel instead of /nukesentinel, so I interpreted that as what you had in your mainfile.php.
 
Darrell3831
PostPosted: Wed Apr 27, 2005 3:15 pm Reply with quote

I think I might have solved my troubles. I'll keep tinkering, but for now I can get into nukesentinel without errors.

I removed all the stuff in admin, /links and /case, and in includes to Sentinel and nukesentinel started working.

I did not think that the two would conflict with each other after all the edits had been made, but apperantly they still do.

Sorry,
Darrell
 
Raven
PostPosted: Wed Apr 27, 2005 3:21 pm Reply with quote

Laughing - That's just what I was going to suggest when you mentioned the 2 icons Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©