Author |
Message |
stretcher66
New Member


Joined: Nov 06, 2005
Posts: 12
|
Posted:
Tue May 09, 2006 4:02 am |
|
i dont know if anyone is familiar with this module, but i was trying to install the oscnukeMS 3.2 module on a install of the rwsRavenNuke76_v2.02.00,
this is the problem im having. it wants me to edit the mainfile.php in the root folder and when i do this, all i get is a blank page anywhere on my site.
here is the instructions.
In the mainfile.php under your nuke root directory
search this line:
if ($forum_admin == 1) {
require_once("../../../config.php");
require_once("../../../db/db.php");
} elseif ($inside_mod == 1) {
require_once("../../config.php");
require_once("../../db/db.php");
} else {
require_once("config.php");
require_once("db/db.php");
require_once("includes/sql_layer.php");
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
}
and replace by
if ($forum_admin == 1) {
require_once("../../../config.php");
require_once("../../../db/db.php");
} elseif ($inside_mod == 1) {
require_once("../../config.php");
require_once("../../db/db.php");
require_once("../../admin/modules/oscnuke/init.php");
} else {
require_once("config.php");
require_once("db/db.php");
require_once("includes/sql_layer.php");
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
include_once("admin/modules/oscnuke/init.php");
}
if someone could help me with this that would be great, or tell me if im chasing my tail here trying to get it to work, either way , thanks for your help |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue May 09, 2006 5:31 am |
|
Ok, those instructions are quite old. For RavenNuke76 2.02.02, do this instead:
=== FIND ===
@require_once(INCLUDE_PATH."config.php");
@require_once(INCLUDE_PATH."db/db.php");
@require_once(INCLUDE_PATH."includes/sql_layer.php");
@require_once(INCLUDE_PATH."includes/ipban.php");
if (file_exists(INCLUDE_PATH."includes/custom_files/custom_mainfile.php")) {
@include_once(INCLUDE_PATH."includes/custom_files/custom_mainfile.php");
}
@require_once(INCLUDE_PATH."includes/nukesentinel.php");
=== AFTER THE LAST LINE, ADD ===
include_once('admin/modules/oscnuke/init.php');
=== END ===
Unfortunately, although this will make the mainfile.php edit work right, there may be other problems with the oscnuke scripts if they are not at least to the 3.1 patch level, which I suspect they are not. Give this a try and then report back what happens so we can try and get it all working. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
stretcher66

|
Posted:
Tue May 09, 2006 9:04 am |
|
well actually it seemed to work fine, but the only issues im finding are that when i try to go to the forums admin page i still get a blank page, and when i try to login to the OSC it is giving me a need cookies enabled message , which i have them enabled for my browser. but besides that everything seems fine so far |
|
|
|
 |
stretcher66

|
Posted:
Tue May 09, 2006 9:10 am |
|
and if this ends up being to much of a pain in the butt to get working, is there a better/newer type of cart integration program for nuke? because this one does seem outdated, with no recent support since 2004. i have just used OScommerce in the past and was somewhat familiar with it. but im open for suggestion for a better program. |
|
|
|
 |
stretcher66

|
Posted:
Tue May 09, 2006 12:39 pm |
|
ok i removed the line i added to the mainfile.php and now the forum admin works......i think this is probably not goin to be worth the effort. i hope someone knows of a better more compatible nuke integration cart pgm....thx |
|
|
|
 |
stretcher66

|
Posted:
Fri May 12, 2006 4:26 am |
|
well anyone have any input ?  |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Jun 18, 2006 10:28 pm |
|
Try
Code:
include_once(INCLUDE_PATH.'admin/modules/oscnuke/init.php');
|
|
_________________ - 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! |
|
|
 |
|