Author |
Message |
Eliyahna
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/4218d4bc42350c4cb98d5.gif)
Joined: Feb 16, 2005
Posts: 12
|
Posted:
Sun Mar 13, 2005 4:49 pm |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/4b126330458025ffa3940.gif)
Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI
|
Posted:
Sun Mar 13, 2005 5:03 pm |
|
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 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 8:06 pm |
|
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... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Mar 13, 2005 8:37 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 9:01 pm |
|
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](modules/Forums/images/smiles/icon_rolleyes.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 9:22 pm |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 9:29 pm |
|
Paste the code from your mainfile here. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 9:35 pm |
|
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');
}
}
}
..........
?>
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 9:41 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 9:58 pm |
|
Done. Same thing. This is very strange. How could it "remember"? I have no idea what to try now lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 10:00 pm |
|
Might sound like a dumb suggestion but try deleting your cookies and internet cache. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 10:01 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 10:07 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 10:10 pm |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 10:14 pm |
|
Ipswitch WS_FTP Professional. Should I run the installer again too ontop of everything or destall first? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Mar 13, 2005 10:21 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Mar 14, 2005 10:43 am |
|
This is a new install so there's no previous version to remove. I downloaded filezilla... thanks
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Mar 14, 2005 10:48 am |
|
PM Me so we can get this figured out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CurtisH
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Mar 14, 2005 12:03 pm |
|
Ok, got you all straightened out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
magiqhand
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 23, 2005
Posts: 17
|
Posted:
Wed Mar 23, 2005 10:33 pm |
|
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 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Eliyahna
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Mar 23, 2005 10:56 pm |
|
If you're using nuke 6.5 you'll need special set up files from moderator curtis hancock... that's what happened with mine. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
magiqhand
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Mar 24, 2005 12:30 am |
|
I am using version 7.5 of php nuke |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|