- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 78 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Help Please [ ]
Author
Message
amcb10
Nuke Cadet
Joined: Nov 27, 2003
Posts: 9
Posted:
Tue Jun 05, 2007 7:53 am
I am trying to install Aucnuke 2.1 onto my nuke site (7.9 patched) but i am a bit confused. It is asking me to change some coding in the mainfile.php file but the text to find doesnt relate to mine. Here is the install instructions.
I have in my mainfile.php
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");
Yet the install file says look for
=== Mainfile.php - aprx line 137 thru 146 ========
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");
}
=== Replace with 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");
require_once("../../admin/modules/auc_nuke/init.php");
} else {
@require_once("config.php");
@require_once("db/db.php");
include_once("admin/modules/auc_nuke/init.php");
}
If i just copy this over and replace mine, i dont get an error (config error report set to true), all i get is a blank screen.
Any help would be greatly appreciated.
Thanks
sting
Site Admin
Joined: Jul 24, 2003
Posts: 1985
Location: Apparently ALWAYS Online. . .
Posted:
Mon Aug 20, 2007 1:14 pm
It appears that the file you are trying to install does not work with the patched files...
The nuke patches that introduced the all-caps variable names were pretty extensive and touched a lot of files.
More than likely it will take a ton of work to do what you are trying to do - or you could reinstall a non-patched version and then re-attempt.
I wouldn't recommend it though...
-sting
_________________ Is it paranoia if they are really out to get you?
-------------------------------------------------------
sting usually hangs out at nukehaven.net
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