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


Joined: Jun 09, 2004
Posts: 79

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

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: 2499

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

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
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

Ok I hate to ask but did you put the line
include("includes/sentinel.php");
At the top of your mainfile.php ?
View user's profile Send private message
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

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

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.
View user's profile Send private message
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

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

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


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

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

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 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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum