Ravens PHP Scripts: Forums
 

 

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


Joined: Apr 12, 2005
Posts: 10

PostPosted: Wed Apr 13, 2005 8:12 am Reply with quote

Ok, i've read all of this thread, and tried everything. i am using nuke 7.6 no patches, at the start i was just seeing a blank page when i click on forums in admin, now i see this:

Warning: main(config.php): failed to open stream: No such file or directory in /usr/export/www/hosting/xclan/includes/nukesentinel.php on line 37

Fatal error: main(): Failed opening required 'config.php' (include_path='.:') in /usr/export/www/hosting/xclan/includes/nukesentinel.php on line 37

I have made change to /includes/nukesentinel.php (the changes shown on the last page for /includes/sentinel.php) and mainfile.php (also shown on the last page of this thread)

I am using the newest version of Sentinel, please help.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Apr 13, 2005 9:02 am Reply with quote

You don't mention what version of NukeSentinel(tm) you are using, but I assume it's 2.2.0pl3.

So, in includes/nukesentinel.php you have
Code:
// Load required scripts

if ($forum_admin == 1) {
  require_once("../../../config.php");
  require_once("../../../db/db.php");
  $lang_dir = "../../../";
} elseif ($inside_mod == 1) {
  require_once("../../config.php");
  require_once("../../db/db.php");
  $lang_dir = "../../";
} else {
  require_once("config.php");
  require_once("db/db.php");
  $lang_dir = "";
}

And in mainfile.php you have
Code:
if ($forum_admin==1) {

  @include_once("../../../includes/nukesentinel.php");
} elseif ($inside_mod==1) {
  @include_once("../../includes/nukesentinel.php");
} else {
  @include_once("includes/nukesentinel.php");
}

And in admin.php you have
Code:
define('ADMIN_FILE', true);
 
View user's profile Send private message
Lucifer
PostPosted: Wed Apr 13, 2005 9:12 am Reply with quote

Tahnks for reminding me, i made all of the changes but forgot to Re-Upload the nukesentinel.php file.
Thanks
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©