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(tm)
Author Message
Eliyahna
New Member
New Member



Joined: Feb 16, 2005
Posts: 12

PostPosted: Sun Mar 13, 2005 4:49 pm Reply with quote

I've just installed the new Sentinel to a 7.1 nuke and everything seemed to go fine throughout the whole install.

After, I went to admin.php and clicked the Nuke Sentinel 2.2.0 button to begin the setup process and got the following error:

Warning: main(includes/sentinel.php): failed to open stream: No such file or directory in /home/gospelap/public_html/mainfile.php on line 7


Any suggestions?
 
View user's profile Send private message
CurtisH
Life Cycles Becoming CPU Cycles



Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sun Mar 13, 2005 5:03 pm Reply with quote

What does line 7 of your mainfile say?

_________________
Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe 
View user's profile Send private message Visit poster's website Yahoo Messenger
Eliyahna







PostPosted: Sun Mar 13, 2005 8:06 pm Reply with quote

It says include("includes/sentinel.php");

That file was named "nukesentinel.php" so I uploaded a copy in the same spot next to it named sentinel.php but that didn't help so I thought maybe this is a symptom from something different?

I followed the mainfile editing instructions in your site's sentinel faq...
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Mar 13, 2005 8:37 pm Reply with quote

You need to update your mainfile.php code to the instructions in the v2.2.0 archive. Always read the installation instructions that come with the download as the manual usually is at least a version or two behind.
 
View user's profile Send private message
CurtisH







PostPosted: Sun Mar 13, 2005 9:01 pm Reply with quote

I knew you were gonna beat me to the answer! I had to step out for a bit. *LOL* I had a feeling that he had missed that step... I overlooked it myself in my haste during my first upgrade. Rolling Eyes
 
Eliyahna







PostPosted: Sun Mar 13, 2005 9:22 pm Reply with quote

I did what you suggested... I see the changes are different than they were for the prior version...

After uploading the new changes, I'm getting this:

Warning: main(includes/sentinel.php): failed to open stream: No such file or directory in /home/gospelap/public_html/mainfile.php on line 7

Warning: main(includes/sentinel.php): failed to open stream: No such file or directory in /home/gospelap/public_html/mainfile.php on line 7

Warning: main(): Failed opening 'includes/sentinel.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/gospelap/public_html/mainfile.php on line 7

Do you think maybe my server is not immediately updating? Or perhaps I should turn off my firewall for cookies?
 
CurtisH







PostPosted: Sun Mar 13, 2005 9:29 pm Reply with quote

Paste the code from your mainfile here.
 
Eliyahna







PostPosted: Sun Mar 13, 2005 9:35 pm Reply with quote

Code:
<?php

if (defined('FORUM_ADMIN')) {
  @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
  @include_once("../../includes/nukesentinel.php");
} else {
  @include_once("includes/nukesentinel.php");
}
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
    if (extension_loaded('zlib')) {
   ob_end_clean();
   ob_start('ob_gzhandler');
    }
} else if ($phpver > '4.0') {
    if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
   if (extension_loaded('zlib')) {
       $do_gzip_compress = TRUE;
       ob_start();
       ob_implicit_flush(0);
       //header('Content-Encoding: gzip');
   }
    }
}
..........
?>
 
CurtisH







PostPosted: Sun Mar 13, 2005 9:41 pm Reply with quote

Weird... According to your previous post it is acting as if it were using the old routine for calling the sentinel functions (sentinel instead of nukesentinel) I would suggest renaming your mainfile.php that resides on your server to mainfile.php.bu and then upload the copy that you posted. Some FTP programs don't overwrite when they should, it is highly possible that is what is happening here
 
Eliyahna







PostPosted: Sun Mar 13, 2005 9:58 pm Reply with quote

Done. Same thing. This is very strange. How could it "remember"? I have no idea what to try now lol
 
CurtisH







PostPosted: Sun Mar 13, 2005 10:00 pm Reply with quote

Might sound like a dumb suggestion but try deleting your cookies and internet cache.
 
Eliyahna







PostPosted: Sun Mar 13, 2005 10:01 pm Reply with quote

k I'll let you know
 
Eliyahna







PostPosted: Sun Mar 13, 2005 10:07 pm Reply with quote

I must have missed a file while uploading everything. Now when I click on the Nuke Sentinel in admin, I get a file not found error from the browser.
 
CurtisH







PostPosted: Sun Mar 13, 2005 10:10 pm Reply with quote

Ok, my suggestion at this point would be to basically start over with the installation. Make sure to overwrite all files. What FTP program are you using?
 
Eliyahna







PostPosted: Sun Mar 13, 2005 10:14 pm Reply with quote

Ipswitch WS_FTP Professional. Should I run the installer again too ontop of everything or destall first?
 
CurtisH







PostPosted: Sun Mar 13, 2005 10:21 pm Reply with quote

First let me mention that I had continuous problems with WS_FTP making up it's own mind about which files it would overwrite and which ones it wouldn't. I would suggest grabbing a copy of the free open source Filezilla.

I doubt that you will need to destall the database. The main thing is that you need to be sure to get all of the 2.2.0 files on your server and make sure that you remove all of the previous files. Especially in the case, links, and modules directories in the admin folder.
 
Eliyahna







PostPosted: Mon Mar 14, 2005 10:43 am Reply with quote

This is a new install so there's no previous version to remove. I downloaded filezilla... thanks Smile

I deleted every file on the server and re-uploaded phpNuke files and the shoutbox and autotheme... (that's all there was so far. I'm just starting designing this site). Then from clean start I re-uploaded all Nuke Sentinel files and edited them according to the readme. Went to admin, clicked icon and again - file not found error.

I have to move on to other work for the time being but will be back at this asap. Let me know if you have any more ideas.... I'm watching the topic.
 
CurtisH







PostPosted: Mon Mar 14, 2005 10:48 am Reply with quote

PM Me so we can get this figured out.
 
CurtisH







PostPosted: Mon Mar 14, 2005 12:03 pm Reply with quote

Ok, got you all straightened out.
 
magiqhand
New Member
New Member



Joined: Mar 23, 2005
Posts: 17

PostPosted: Wed Mar 23, 2005 10:33 pm Reply with quote

Hello
I have the same problem, I uploaded all the files on my ftp server everything seems to work fine but for some reasons when I click on the sentinel icon in the admin section of my site it cannot find the page.
I need some help, it may be the same problem I am not sure


Last edited by magiqhand on Thu Mar 24, 2005 1:02 am; edited 1 time in total 
View user's profile Send private message
Eliyahna







PostPosted: Wed Mar 23, 2005 10:56 pm Reply with quote

If you're using nuke 6.5 you'll need special set up files from moderator curtis hancock... that's what happened with mine.
 
magiqhand







PostPosted: Thu Mar 24, 2005 12:30 am Reply with quote

I am using version 7.5 of php nuke
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©