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
amber222
Regular
Regular



Joined: Jun 09, 2004
Posts: 79

PostPosted: Wed Jun 09, 2004 9:43 pm Reply with quote

The tables installed, but when I go to NSNSentinel config, I get the following error:

Parse error: parse error, unexpected T_VARIABLE
in /xxxxxx/xxxxxx/mainfile.php on line 16

I have had to remove the include sentinel line from the mainfile to get my site visible.

Line 16... of the mainfile.php:

$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');
}
}
}


Using PhpNuke 7.0 with Php 4.3.7.

Can I get some info on how to install this? Thanks.
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed Jun 09, 2004 9:56 pm Reply with quote

I'm using 4.3.7 on windows and don't get that error. Send me your mainfile.php and I'll look at it.
webmaster at netflake.com
 
View user's profile Send private message
sixonetonoffun







PostPosted: Wed Jun 09, 2004 10:32 pm Reply with quote

Ok I hate to ask but did you put the line
include("includes/sentinel.php");
At the top of your mainfile.php ?
 
amber222







PostPosted: Wed Jun 09, 2004 10:40 pm Reply with quote

Yes, I did. I actually copied and pasted it from the readme file instructions, but now that I think about it, it's quite possible I didn't include the first "include."

include("includes/sentinel.php");

Perhaps I'd better try this again.

Thanks.
 
amber222







PostPosted: Wed Jun 09, 2004 10:51 pm Reply with quote

Embarassed Well, I guess you get this all the time from newbies - we're thinking that first word is an instruction.

Of course it works fine, and I am sorry to have used up your time.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jun 10, 2004 5:59 am Reply with quote

Laughing - Don't be concerned! Six has nothing but time on his hands - He's a very lonely guy Laughing. Seriously, we ALL make these little faux pas! Without them, support sites wouldn't get much traffic Wink! Welcome to RavenPHPScripts!!
 
View user's profile Send private message
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 ©