@Pate
Code: Alles auswählen
$sql = "SELECT count(*) AS total FROM ".TOPICS_TABLE." $where";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Error getting total topics', '', __LINE__, __FILE__, $sql);
}
Code: Alles auswählen
$sql = "SELECT count(*) AS total FROM ".TOPICS_TABLE." $where";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Error getting total topics', '', __LINE__, __FILE__, $sql);
}
Code: Alles auswählen
Error getting total topics
DEBUG MODE
SQL Error : 1146 Table 'usr_pa128_2.TOPCS_TABLE' doesn't exist
SELECT count(*) AS total FROM TOPCS_TABLE WHERE topic_id IN (2, 3, 16, 17, 18, 19, 20, 21, 22, 23, 26, 48, 63, 76, 79, 92, 99, 103, 157, 162, 187, 202, 207) AND UNIX_TIMESTAMP(NOW()) - topic_time < 86400
Line : 329
File : /usr/local/httpd/htdocs/kunden/pa128/html/dev/phpBB2/recent.php