Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
stretcher66
New Member
New Member



Joined: Nov 06, 2005
Posts: 12

PostPosted: Tue May 09, 2006 4:02 am Reply with quote

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
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue May 09, 2006 5:31 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
stretcher66







PostPosted: Tue May 09, 2006 9:04 am Reply with quote

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







PostPosted: Tue May 09, 2006 9:10 am Reply with quote

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







PostPosted: Tue May 09, 2006 12:39 pm Reply with quote

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







PostPosted: Fri May 12, 2006 4:26 am Reply with quote

well anyone have any input ? Confused
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Jun 18, 2006 10:28 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©