AndreVR
March 2nd, 2002, 15:48
I've already uploaded phpBB2 files to my websapce, but when I acess the install.php script, it appears to me this message:
Parse error: parse error in /usr/local/home/httpdocs/phpBB2/install.php on line 758
I've seen the install.php codes, and the line 758 is below, in bold style:
// Change session table to HEAP if MySQL version matches
if( preg_match("/^mysql/", $dbms) )
{
$sql = "SELECT VERSION() AS mysql_version";
if($result = $db->sql_query($sql))
{
$row = $db->sql_fetchrow($result);
$version = $row['mysql_version'];
if( preg_match("/^(3\.23)|(4\.)/", $version) )
{
$sql = "ALTER TABLE " . $table_prefix . "sessions
TYPE=HEAP";
$db->sql_query($sql))
}
}
}
What can I do to resolve this problem?
:confused:
Parse error: parse error in /usr/local/home/httpdocs/phpBB2/install.php on line 758
I've seen the install.php codes, and the line 758 is below, in bold style:
// Change session table to HEAP if MySQL version matches
if( preg_match("/^mysql/", $dbms) )
{
$sql = "SELECT VERSION() AS mysql_version";
if($result = $db->sql_query($sql))
{
$row = $db->sql_fetchrow($result);
$version = $row['mysql_version'];
if( preg_match("/^(3\.23)|(4\.)/", $version) )
{
$sql = "ALTER TABLE " . $table_prefix . "sessions
TYPE=HEAP";
$db->sql_query($sql))
}
}
}
What can I do to resolve this problem?
:confused: