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



Joined: Sep 12, 2004
Posts: 14

PostPosted: Sun Sep 12, 2004 10:39 am Reply with quote

Specs
Apache2Triad
PHP Nuke 7.4
Nuke Sentinel 202

Installed so far
All files contained in zip per install instructions (except for I don't see htaccess in my root folder, I found it under admin folder for nuke, it says something about deny all)

Question Question: should I move and change this?
Executed nsnst.php from my site tables created sucessfully
Changed: javascript.php and header.php per readme

As stated I get a blank page when clicking the Nuke Sentinel icon in my admin for nuke

I am wondering if I missed something in install the readme is a bit confusing at this point
Quote:

UPGRADING from Sentinel™ 1.0.0:
1) Upload all files and run nsnst.php .
2) From nsnst.php select the upgrade Sentinel™ selection. You must
go from your current version thru to this release version.
3) Goto Sentinel™ administration/configuration and adjust your settings as needed.
4) Remove nsnst.php from your server.

INSTALLING:
1) Upload all new files and run the nsnst.php file. Perform a
first time install.
2) Add
if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}
to your mainfile.php just
after the opening <? php line on it's own line like below:
<?php
if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}
3) Goto the NukeSentinel™ Admin to set all the config values.
4) Remove nsnst.php from your server.


Question does this mean I need to do the installing listed there to my mainfile.php?

And further below it states this

Quote:
4. Your Account Bug
-------------------
In Your Account's index.php file you will find 4 placements of (ONLY IF YOU DO NOT HAVE
CHATSERV's 2.5 Patch installed):
getusrinfo($user);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {

You should replace it with:
cookiedecode($user);
getusrinfo($user);
if ((is_user($user)) AND (strtolower($userinfo[username]) == strtolower($cookie[1])) AND ($userinfo[user_password] == $cookie[2])) {


Question do I need to do this too?

Thanks in advance!
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Sep 12, 2004 10:51 am Reply with quote

There are several modifications that you have to make as detailed in the Installation instructions that you reference. You need to add that code to your mainfile.php, you need to modify modules/Your_Account/index.php, header.php, and includes/javascript.php . All that is explained Smile
 
View user's profile Send private message
DragonHearted







PostPosted: Sun Sep 12, 2004 10:53 am Reply with quote

Raven wrote:
There are several modifications that you have to make as detailed in the Installation instructions that you reference. You need to add that code to your mainfile.php, you need to modify modules/Your_Account/index.php, header.php, and includes/javascript.php . All that is explained Smile


thanks Raven I will do that, what about my htaccess file? do I need to put one in my root folder as I stated it is currently under my nukeroot\admin folder and its contents are deny all, I am using Apache 2
 
Raven







PostPosted: Sun Sep 12, 2004 10:56 am Reply with quote

You want to put a .htaccess file in the same folder as config.php, mainfile.php, i.e. your root nuke folder. Nuke should already have installed one there with the same as the one in admi folder. Then in NukeSentinel, for the .htaccess path just use .htaccess .
 
DragonHearted







PostPosted: Sun Sep 12, 2004 11:09 am Reply with quote

ok did that Raven, no one can now access my website, I am assuming because the contents of the file are this

deny from all

should I remove this line? or add something to it?
 
Raven







PostPosted: Sun Sep 12, 2004 11:11 am Reply with quote

It should read something like this
Code:
<Limit GET PUT POST>

  Order Allow,Deny
  Allow from all
</Limit>
 
DragonHearted







PostPosted: Sun Sep 12, 2004 11:14 am Reply with quote

Raven wrote:
It should read something like this
Code:
<Limit GET PUT POST>

  Order Allow,Deny
  Allow from all
</Limit>


Thank you very much Raven, hopefully I won't have to bother you with anything else today.
 
Raven







PostPosted: Sun Sep 12, 2004 11:16 am Reply with quote

NP! That's why we're here Wink
 
GeekyGuy
Client



Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio

PostPosted: Sun Sep 12, 2004 12:37 pm Reply with quote

And you want to make sure the .htaccess file has at least ONE blank line at the end so Sentinel can write the IP's it catches to the .htaccess file.

_________________
"The Daytona 500 is ours! We won it, we won it, we won it!", Dale Earnhardt, February 15th, 1998, Daytona 500 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
DragonHearted







PostPosted: Sun Sep 12, 2004 1:38 pm Reply with quote

GeekyGuy wrote:
And you want to make sure the .htaccess file has at least ONE blank line at the end so Sentinel can write the IP's it catches to the .htaccess file.


ok so if my htaccess file is in my phpnuke directory, what is my path to the file? localhost or what? [ Only registered users can see links on this board! Get registered or login! ]
 
GeekyGuy







PostPosted: Sun Sep 12, 2004 1:45 pm Reply with quote

If it is in the root directory, just add .htaccess in the path.
 
DragonHearted







PostPosted: Sun Sep 12, 2004 5:00 pm Reply with quote

GeekyGuy wrote:
If it is in the root directory, just add .htaccess in the path.


Thanks again for all the help folks, it is up and running great
 
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 ©