Author |
Message |
spectrex
New Member


Joined: Nov 20, 2006
Posts: 15
|
Posted:
Mon Nov 20, 2006 8:48 pm |
|
Ok. I am totally confused:
I have recently downloaded NukeSentinel_2503_70-80
and when I am going through the core file editing process and when I am looking at the mainfile.txt (sample edits) that come with the Sentinel files i realize that the mainfile.php that is from my php-nuke 7.8 the files are different.
For example:
from mainfile.txt
---------------------
if(defined('FORUM_ADMIN')) {
define('INCLUDE_PATH', '../../../');
} elseif(defined('INSIDE_MOD')) {
define('INCLUDE_PATH', '../../');
} else {
define('INCLUDE_PATH', './');
}
@require_once(INCLUDE_PATH."config.php");
@require_once(INCLUDE_PATH."db/db.php");
#
#-----[ AFTER ADD ]------------------------------------------
#
@require_once(INCLUDE_PATH."includes/nukesentinel.php");
---------------------------
MY PHP-NUKE 7.8 FILE LOOKS Like this
-------------------------------------------
if (defined('FORUM_ADMIN')) {
require_once("../../../config.php");
require_once("../../../db/db.php");
} elseif (defined('INSIDE_MOD')) {
require_once("../../config.php");
require_once("../../db/db.php");
} else {
require_once("config.php");
require_once("db/db.php");
--------------------
Is there anyway I can get some clarification on the changes needed in mainfile or is there anyway someone can supply me with there edited code for all the core file edits so I have a go by for PHP-nuke V7.8. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Mon Nov 20, 2006 9:08 pm |
|
Are you using the latest Patched files? |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
spectrex

|
Posted:
Tue Nov 21, 2006 9:18 am |
|
The latest patch files for what, Php-nuke 7.8 or NS? |
|
|
|
 |
spectrex

|
Posted:
Tue Nov 21, 2006 9:22 am |
|
if you mean PHP-nuke? I installed a patch for Phpnuke last week for exploits. |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Tue Nov 21, 2006 9:24 am |
|
For PHPNuke, but NS requires this patches to work. |
|
|
|
 |
spectrex

|
Posted:
Tue Nov 21, 2006 9:29 am |
|
where can I find the patches to download to ensure that I have them installed.
Also, what about the differences in the example core file changes and my core file code? |
|
|
|
 |
evaders99

|
Posted:
Tue Nov 21, 2006 11:43 am |
|
|
|
 |
spectrex

|
Posted:
Tue Nov 21, 2006 6:46 pm |
|
How do I apply the patch? I copied it over and now the site is not accessible |
|
|
|
 |
spectrex

|
Posted:
Tue Nov 21, 2006 7:19 pm |
|
N/m I have it setup. I forgot about the config.php data.
So now I just update the new patched core files according to the NS file edits? |
|
|
|
 |
evaders99

|
Posted:
Tue Nov 21, 2006 7:27 pm |
|
|
|
 |
spectrex

|
Posted:
Tue Nov 21, 2006 8:28 pm |
|
Ok progress is being made. The patch is loaded I have re-edited the files accordingly except the javascript file because it says that if i am installing nukesentinel for the first time not to make the change. I then log into the installer and click the first time installation however, I am still getting failed table additions in the the operation status.
However, when i go to the adminstation section on phpnuke. I clicked on the "nukesentinel" and now I can get into the configuration. Do i have to make changes here?
Also what about the sample.ftacesss,sample.htaccess,sample.staccess
I uploaded them with all the other html files before the installation attempt.
Do I have to rename these files? |
|
|
|
 |
spectrex

|
Posted:
Wed Nov 22, 2006 11:51 am |
|
Ok I am royally confused now. I have done everything that you mentioned. My site seems back up to normal and it seems like nukesentinel works fine. However, when i tried to install the tables it said failed again. However, when i went into myphpadmin. The tables were clearly added to database. What is up with that.
To make sure nukesentinel is working, what is a good way of testing it out? |
|
|
|
 |
thebishop
Worker


Joined: Aug 30, 2005
Posts: 244
Location: Flying to close to the sun
|
Posted:
Thu Nov 23, 2006 3:28 pm |
|
spectrex, call this in your browser.
http://yourdomain.com/modules.php?name=Your_Account&/**/union/**/
make sure you protect your IP address. if you get banned from your site , use phpMyadmin to remove your banned ip and if you have set the .htaccess to be written to by NS, you'll have to remove your IP from that as well. |
|
|
|
 |
|