Author |
Message |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Mon Apr 09, 2007 7:19 pm |
|
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....? |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Apr 09, 2007 11:38 pm |
|
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 /'); |
|
|
|
 |
hitwalker

|
Posted:
Tue Apr 10, 2007 5:29 am |
|
yes error report was on...
included your line.
it shows INCLUDE_PATH = ./ |
|
|
|
 |
Raven

|
Posted:
Tue Apr 10, 2007 11:12 am |
|
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

|
Posted:
Tue Apr 10, 2007 11:22 am |
|
done that
shows... /home/hisaccount/public_html/includes/nukesentinel.php |
|
|
|
 |
Raven

|
Posted:
Tue Apr 10, 2007 11:28 am |
|
Change require_once to include_once |
|
|
|
 |
hitwalker

|
Posted:
Tue Apr 10, 2007 11:54 am |
|
tried several ways..
all turns blank... |
|
|
|
 |
Raven

|
Posted:
Tue Apr 10, 2007 12:08 pm |
|
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

|
Posted:
Tue Apr 10, 2007 1:04 pm |
|
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

|
Posted:
Tue Apr 10, 2007 2:18 pm |
|
It isn't trashing the site - 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

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

|
Posted:
Tue Apr 10, 2007 2:27 pm |
|
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  |
|
|
|
 |
|