| Author |
Message |
amber222 Regular


Joined: Jun 09, 2004 Posts: 79
|
Posted:
Wed Jun 09, 2004 9:43 pm |
|
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. |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 09, 2004 9:56 pm |
|
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 |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 09, 2004 10:32 pm |
|
Ok I hate to ask but did you put the line
include("includes/sentinel.php");
At the top of your mainfile.php ? |
|
|
|
 |
amber222 Regular


Joined: Jun 09, 2004 Posts: 79
|
Posted:
Wed Jun 09, 2004 10:40 pm |
|
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 Regular


Joined: Jun 09, 2004 Posts: 79
|
Posted:
Wed Jun 09, 2004 10:51 pm |
|
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: 16987 Location: Kansas
|
Posted:
Thu Jun 10, 2004 5:59 am |
|
- Don't be concerned! Six has nothing but time on his hands - He's a very lonely guy . Seriously, we ALL make these little faux pas! Without them, support sites wouldn't get much traffic ! Welcome to RavenPHPScripts!! |
|
|
|
 |
|
|
|
|