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
Return to the default flat view Create a new topic Submit Reply
Problems installing; extraction? [message #17549] Fri, 02 April 2004 23:12 Go to previous message
Beans_v6 is currently offline  Beans_v6   United States
Messages: 1
Registered: April 2004
Karma:
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...
[Message index]
 
Read Message
Read Message
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 Nov 22 17:38:22 GMT 2024

Total time taken to generate the page: 0.06394 seconds