PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
persona_non_grata



Joined:
Posts: 0

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

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: 15210
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Apr 10, 2007 5:29 am Reply with quote Back to top

yes error report was on...

included your line.
it shows INCLUDE_PATH = ./
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Tue Apr 10, 2007 11:12 am Reply with quote Back to top

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"));
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Apr 10, 2007 11:22 am Reply with quote Back to top

done that
shows... /home/hisaccount/public_html/includes/nukesentinel.php
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Tue Apr 10, 2007 11:28 am Reply with quote Back to top

Change require_once to include_once
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Apr 10, 2007 11:54 am Reply with quote Back to top

tried several ways..
all turns blank...
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Tue Apr 10, 2007 12:08 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Apr 10, 2007 1:04 pm Reply with quote Back to top

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...
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Tue Apr 10, 2007 2:18 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Apr 10, 2007 2:22 pm Reply with quote Back to top

well it says $display_errors = true;
and there were no messages showing...
but its solved and thats most important i guess....
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Tue Apr 10, 2007 2:27 pm Reply with quote Back to top

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum