Verfasst: 22.06.2005 17:43
*schiebsl*:(
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
ich glaube es dieser fehler in der functions_admin.php wird von einem fehler in einer anderen datei verursacht. . .aber ich find ihn einfach net :'(Fatal error: Cannot redeclare make_forum_select() (previously declared in /home/www/web88/html/david/forum/includes/functions_admin.php:28) in /home/www/web88/html/david/forum/includes/functions_admin.php on line 28
Code: Alles auswählen
function make_forum_select($box_name, $ignore_forum = false, $select_forum = '')
{
global $db, $userdata;
$is_auth_ary = auth(AUTH_READ, AUTH_LIST_ALL, $userdata);
$sql = "SELECT forum_id, forum_name
FROM " . FORUMS_TABLE . "
ORDER BY cat_id, forum_order";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Couldn not obtain forums information', '', __LINE__, __FILE__, $sql);
}
$forum_list = '';
while( $row = $db->sql_fetchrow($result) )
{
if ( $is_auth_ary[$row['forum_id']]['auth_read'] && $ignore_forum != $row['forum_id'] )
{
$selected = ( $select_forum == $row['forum_id'] ) ? ' selected="selected"' : '';
$forum_list .= '<option value="' . $row['forum_id'] . '"' . $selected .'>' . $row['forum_name'] . '</option>';
}
}
$forum_list = ( $forum_list == '' ) ? '<option value="-1">-- ! No Forums ! --</option>' : '<select name="' . $box_name . '">' . $forum_list . '</select>';
Fatal error: Cannot redeclare make_forum_select() (previously declared in /home/www/web88/html/david/forum/includes/functions_admin.php:28) in /home/www/web88/html/david/forum/includes/functions_admin.php on line 28
Code: Alles auswählen
function make_forum_select($box_name, $ignore_forum = false, $select_forum = '')