Author |
Message |
DragonHearted
New Member


Joined: Sep 12, 2004
Posts: 14
|
Posted:
Sun Sep 12, 2004 10:39 am |
|
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: 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. |
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])) {
|
do I need to do this too?
Thanks in advance! |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Sep 12, 2004 10:51 am |
|
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  |
|
|
|
 |
DragonHearted

|
Posted:
Sun Sep 12, 2004 10:53 am |
|
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 |
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

|
Posted:
Sun Sep 12, 2004 10:56 am |
|
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

|
Posted:
Sun Sep 12, 2004 11:09 am |
|
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

|
Posted:
Sun Sep 12, 2004 11:11 am |
|
It should read something like thisCode:<Limit GET PUT POST>
Order Allow,Deny
Allow from all
</Limit>
|
|
|
|
|
 |
DragonHearted

|
Posted:
Sun Sep 12, 2004 11:14 am |
|
Raven wrote: | It should read something like thisCode:<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

|
Posted:
Sun Sep 12, 2004 11:16 am |
|
NP! That's why we're here  |
|
|
|
 |
GeekyGuy
Client

Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio
|
Posted:
Sun Sep 12, 2004 12:37 pm |
|
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 |
|
 |
 |
DragonHearted

|
Posted:
Sun Sep 12, 2004 1:38 pm |
|
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? www.mysite.com? |
|
|
|
 |
GeekyGuy

|
Posted:
Sun Sep 12, 2004 1:45 pm |
|
If it is in the root directory, just add .htaccess in the path. |
|
|
|
 |
DragonHearted

|
Posted:
Sun Sep 12, 2004 5:00 pm |
|
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 |
|
|
|
 |
|