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.4.x
Author Message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Apr 09, 2007 7:19 pm Reply with quote

ok here's a good one...
installed nuke 7.6.3.3 and because the sentinel install isnt that great i can only follow exactly what it says,..
Quote:
Based on Patched 3.1 mainfile.php. Your mainfile.php may differ
from the examples found here


ok,but were on 3.3 ..
thing is...as soon as i touch the mainfile and ad only 1 line into it the site goes blank.
and error report shows nothing...
double checked , did it again....

adding this @require_once(INCLUDE_PATH."includes/nukesentinel.php");
is enough to go bye bye..

any updated howto on this....?
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Mon Apr 09, 2007 11:38 pm Reply with quote

Quote:
adding this @require_once(INCLUDE_PATH."includes/nukesentinel.php");


Add this line above the place where you add the line above to see what INCLUDE_PATH is resolving to. Have you turned $display_error on?

die('<br />INCLUDE_PATH = '.INCLUDE_PATH.'<br /');
 
View user's profile Send private message
hitwalker
PostPosted: Tue Apr 10, 2007 5:29 am Reply with quote

yes error report was on...

included your line.
it shows INCLUDE_PATH = ./
 
Raven
PostPosted: Tue Apr 10, 2007 11:12 am Reply with quote

Remove the @ from @require_once. require usually only fails if the file can't be found.

At this point I am questioning whether ./includes/nukesentinel.php exists. You should also do a die(realpath(INCLUDE_PATH."includes/nukesentinel.php"));
 
hitwalker
PostPosted: Tue Apr 10, 2007 11:22 am Reply with quote

done that
shows... /home/hisaccount/public_html/includes/nukesentinel.php
 
Raven
PostPosted: Tue Apr 10, 2007 11:28 am Reply with quote

Change require_once to include_once
 
hitwalker
PostPosted: Tue Apr 10, 2007 11:54 am Reply with quote

tried several ways..
all turns blank...
 
Raven
PostPosted: Tue Apr 10, 2007 12:08 pm Reply with quote

I don't think mainfile.php is your problem - it's dying in nukesentinel.php. Start placing this line of code in nukesentinel.php:

die('<br />Line: '.__LINE__.'<br />');

Start right after the opening <? to see whether it's even parsing nukesentinel.php. Assuming it is, start moving that line down the script until it doesn't work. Then you will know where the script is failing.
 
hitwalker
PostPosted: Tue Apr 10, 2007 1:04 pm Reply with quote

solved raven...
as it seems,the language file was never uploaded,its folder was..
so that was a bit weird...

guardian helped with this to and we ended up at the includes of the lang in nukesentinel.php

but the missing lang ,cant that be handled in another way then trashing a site ? , thats what it was...a missing lang.
maybe a mail function could solve this...
 
Raven
PostPosted: Tue Apr 10, 2007 2:18 pm Reply with quote

It isn't trashing the site Smile - And a missing file will always show up on the error_log and on toyr screen as "unable to open stream ..." or something to that effect if display errors is truly set to TRUE. If it isn't appearing then the php setting is not actually being set or is being overwritten somewhere.
 
hitwalker
PostPosted: Tue Apr 10, 2007 2:22 pm Reply with quote

well it says $display_errors = true;
and there were no messages showing...
but its solved and thats most important i guess....
 
Raven
PostPosted: Tue Apr 10, 2007 2:27 pm Reply with quote

You also have to remove the @ in front of all of the @require statements that are in play. If you have done all of that and the message still is not appearing there is something overriding it somewhere - trust me Wink
 
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.4.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 ©