FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Problems installing; extraction?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problems installing; extraction? [message #17549] Fri, 02 April 2004 23:12 Go to next message
Beans_v6 is currently offline  Beans_v6   United States
Messages: 1
Registered: April 2004
Karma: 0
Junior Member
I was trying to install FUDforum, and it wouldn't work because it needed mysql "post" privilages. My host won't let me "post" so I had to comment that code. Doing so made the checksums wrong, so I commented the checksum checkers out too. Now, apparently while extracting the files, something weird happened... and now I'm not sure why, but it gives a

Parse error: parse error, unexpected T_STRING in /home/thebeans/wwwdocs/forums/index.php on line 282


message. Comparing the install.php codes and the index.php codes, I determined that it skipped quite a few lines; jumping from db_li() to the middle of ses_make_sysid.


This is the code around the area:
...
function db_li($q, &$ef, $li=0)
{
	$r = mysql_query($q, fud_sql_lnk);
	if ($r) {
		return ($lifunction ses_make_sysid()
{
	if ($GLOBALS['FUD_OPT_2'] & 256) {
		return;
	}

	$keys = array('HTTP_USER_AGENT', 'SERVER_PROTOCOL', 'HTTP_ACCEPT_CHARSET', 'HTTP_ACCEPT_ENCODING', 'HTTP_ACCEPT_LANGUAGE');
	if ($GLOBALS['FUD_OPT_3'] & 16 && strpos($_SERVER['HTTP_USER_AGENT'], 'AOL') === false) {
		$keys[] = 'HTTP_X_FORWARDED_FOR';
		$keys[] = 'REMOTE_ADDR';
	}
	$pfx = '';
	foreach ($keys as $v) {
		if (isset($_SERVER[$v])) {
			$pfx .= $_SERVER[$v];
		}
	}
	return md5($pfx);
}

function &ses_get($id=0)
{
...






I've downloaded the archive (from this site) twice and extracted it and re-made the changes: same result...
Re: Problems installing; extraction? [message #17550 is a reply to message #17549] Fri, 02 April 2004 23:56 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Looks like you've corrupted the file while editing it.

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Massmail is sooo screwed.
Next Topic: Problem in post notification subject
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 27 23:11:33 GMT 2024

Total time taken to generate the page: 0.02127 seconds