I got this problem when i try to point my browser to /downloads.php:
Code: Alles auswählen
phpBB : Kritiskt fel
Could not query download mod configuration
DEBUG MODE
SQL Error : 1146 Table 'I_phpBB.DL_CONFIG_TABLE' doesn't exist
SELECT * FROM DL_CONFIG_TABLE
Line : 99
File : class_dlmod.php
Before I also got some other problems with this code in page_header:
Code: Alles auswählen
// Download MOD 5.0.0
if ( $userdata['user_new_download'] )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_new_download = 0
WHERE user_id = " . $userdata['user_id'];
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update new download view for user', '', __LINE__, __FILE__, $sql);
}
$template->assign_block_vars('switch_new_download', array(
'U_NEW_DOWNLOAD_POPUP' => append_sid('downloads.'.$phpEx.'?view=popup'))
);
}
$sql = "SELECT config_value FROM " . DL_CONFIG_TABLE . "
WHERE config_name = 'use_hacklist'";
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query download mod configuration", "", __LINE__, __FILE__, $sql);
}
$use_hacklist = 0;
while ( $row = $db->sql_fetchrow($result) )
{
$use_hacklist = $row['config_value'];
}
$db->sql_freeresult($result);
if ($use_hacklist)
{
$sql = "SELECT id FROM " . DOWNLOADS_TABLE . "
WHERE hacklist = 1";
if($result = $db->sql_query($sql))
{
$total = $db->sql_numrows($result);
$db->sql_freeresult($result);
if ($total)
{
$u_hacks_list = append_sid("hacks_list.$phpEx");
$l_hacks_list = $lang['Dl_hacks_list'];
$img_hacklist = '<img src="'.$images['Dl_mini_h'].'" border="0" alt="'.$lang['Dl_hacks_list'].'" title="'.$lang['Dl_hacks_list'].'" hspace="3" />';
$template->assign_block_vars('switch_hacklist_on', array());
}
else
{
$u_hacks_list = $img_hacklist = $l_hacks_list = '';
}
}
}
// End Download MOD 5.0.0
Please give me an answer on this in English, because I don't understand Germen
Kind regards
Matte52