Foutmelding
Geplaatst: 08 aug 2004, 14:25
ik krijg de volgende fout:
regel 34 uit index.php
Code: Selecteer alles
Parse error: parse error in /data/members/free/tripod/nl/m/d/z/mdzvo/htdocs/phpBB2/index.php on line 34Hoe kan ik dit maken?// Read Portal Configuration from DB
define('PORTAL_TABLE', $table_prefix.'portal');
$CFG = array();
$sql = "SELECT * FROM " . PORTAL_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$CFG[$row['portal_name']] = $row['portal_value'];
}// BEGIN - AWI
// BEGIN - Welcome
$template->assign_block_vars('welcome_text', array());
// END - Welcome
// BEGIN - Recent Topics
$sql = "SELECT * FROM ". FORUMS_TABLE . " ORDER BY forum_id";
if (!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
}
$forum_data = array();
while( $row = $db->sql_fetchrow($result) )
{
$forum_data[] = $row;
}