Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x
Author Message
death_dream
Hangin' Around


Joined: Aug 10, 2006
Posts: 38

PostPosted: Thu Aug 10, 2006 3:42 pm Reply with quote

Ok I uploaded all the files in the right spots and changed the HTACCESS File to 666 and logged in as the admin. Then I went along and added the nsnst.php to my URL and nothing. I get a plain white page. It doesn't say anything about the file not being there it just is a plain white page.

Any ideas?

~Death Dream~
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Aug 10, 2006 3:50 pm Reply with quote

turn error report on in the config file...
and see what it says..
 
View user's profile Send private message
death_dream
PostPosted: Fri Aug 11, 2006 2:33 am Reply with quote

Sorry to sound really newbish here but I have to ask. How do I do that?

~Death Dream~
 
hitwalker
PostPosted: Fri Aug 11, 2006 4:45 am Reply with quote

in your config.php

look for :
$display_errors = FALSE;

Set that to:

$display_errors = TRUE;
 
death_dream
PostPosted: Fri Aug 11, 2006 4:51 am Reply with quote

Thanks. It looks like I missed a file.

Edit: Yep that did it. I have Nuke sentinel installed now. Just got to fix the "common error" now lol.

Thanks a bunch Very Happy


~Death Dream~


Last edited by death_dream on Fri Aug 11, 2006 4:55 am; edited 2 times in total 
hitwalker
PostPosted: Fri Aug 11, 2006 4:53 am Reply with quote

good luck Wink
 
death_dream
PostPosted: Fri Aug 11, 2006 5:13 am Reply with quote

Ok I'm doing the edit core files as of right now. So far I've done the admin.php and header.php with no problem. Then I come to the mainfile.php. I'm running phpnuke 7.6 as far as I know but yet the EditCoreFiles readme looks a bit different from what mine looks like.

Here is mine:
Code:


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");
@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");
}

if (!defined('FORUM_ADMIN')) {
  if(empty($admin_file)) {
    die ("You must set a value for admin_file in config.php");
  } elseif (!empty($admin_file) && !file_exists($admin_file.".php")) {
    die ("The admin_file you defined in config.php does not exist");
  }
}


And in the read me it says to look for:
Code:


if (defined('FORUM_ADMIN')) {
   @require_once("../../../config.php");
   @require_once("../../../db/db.php");
   @require_once("../../../includes/sql_layer.php");
   if (file_exists("../../../includes/custom_files/custom_mainfile.php")) { @include_once("../../../includes/custom_files/custom_mainfile.php"); }
   @require_once("../../../includes/ipban.php");
   if (defined('NUKE_HEADER') && file_exists("../../../includes/custom_files/custom_head.php")) { @include_once("../../../includes/custom_files/custom_head.php"); }
   if (defined('NUKE_HEADER') && file_exists("../../../includes/custom_files/custom_header.php")) { @include_once("../../../includes/custom_files/custom_header.php"); }
} elseif (defined('INSIDE_MOD')) {
   @require_once("../../config.php");
   @require_once("../../db/db.php");
   @require_once("../../includes/sql_layer.php");
   if (file_exists("../../includes/custom_files/custom_mainfile.php")) { @include_once("../../includes/custom_files/custom_mainfile.php"); }
   @require_once("../../includes/ipban.php");
   if (defined('NUKE_HEADER') && file_exists("../../includes/custom_files/custom_head.php")) { @include_once("../../includes/custom_files/custom_head.php"); }
   if (defined('NUKE_HEADER') && file_exists("../../includes/custom_files/custom_header.php")) { @include_once("../../includes/custom_files/custom_header.php"); }
} else {
   @require_once("config.php");
   @require_once("db/db.php");
   @require_once("includes/sql_layer.php");
   if (file_exists("includes/custom_files/custom_mainfile.php")) { @include_once("includes/custom_files/custom_mainfile.php"); }
   @require_once("includes/ipban.php");
   if (defined('NUKE_HEADER') && file_exists("includes/custom_files/custom_head.php")) { @include_once("includes/custom_files/custom_head.php"); }
   if (defined('NUKE_HEADER') && file_exists("includes/custom_files/custom_header.php")) { @include_once("includes/custom_files/custom_header.php"); }
}



As you can see mine takes an odd twist. Any ideas about this?

~Death Dream~
 
death_dream
PostPosted: Sat Aug 12, 2006 5:23 pm Reply with quote

Um ... Anyone? I still don't know what to do so any help would be very helpfull Very Happy

~Death Dream~
 
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Aug 12, 2006 7:14 pm Reply with quote

Find:
@require_once(INCLUDE_PATH."includes/ipban.php");


Change to :
//@require_once(INCLUDE_PATH."includes/ipban.php");
@include_once(INCLUDE_PATH."includes/nukesentinel.php");

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
death_dream
PostPosted: Sat Aug 12, 2006 7:27 pm Reply with quote

Ok thanks.

Next question.

I am now editing the YourAccount index.php 7.6 file.

The read me says
Quote:
This appears twice in this function
$host_name = $_SERVER['REMOTE_ADDR'];


Since there are two of them which one do I edit?

~Death Dream~
 
gregexp
PostPosted: Sun Aug 13, 2006 12:49 am Reply with quote

Change them both.
 
death_dream
PostPosted: Sun Aug 13, 2006 1:08 am Reply with quote

Ok sweet I think that did the trick. Now just to make sure could anyone verify that this is what the admin panel is suppose to look like just incase I did screw something up.

The images do work now. I had to reupload them. Just never updated the screenshot.

Image

~Death Dream~
 
gregexp
PostPosted: Sun Aug 13, 2006 2:02 am Reply with quote

looks about right with the exception of some images but that could be due to server or browser.

just chack to make sure that all has uploaded successfully.
 
death_dream
PostPosted: Sun Aug 13, 2006 2:05 am Reply with quote

Ya I said in the post above that I fixed the images but never updated the screenshot.

~Death Dream~
 
gregexp
PostPosted: Sun Aug 13, 2006 2:10 am Reply with quote

ahh I see.

Glad your up and running.
 
death_dream
PostPosted: Sun Aug 13, 2006 2:13 am Reply with quote

Yep Very Happy

Thanks everyone who helped Very Happy

~Death Dream~
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x

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 ©