habe gerade alle dateien für den attachmend mod bearbeitet und bekomme folgende fehlermeldung, wenn ich das forum aufrufen möchte
was läuft denn da mit der faq.php falsch?Fatal error: Cannot redeclare attach_faq_include() (previously declared in /home/vhosts/xxxxxxxxx/eisbaerplanet.biz/htdocs/forum/attach_mod/includes/functions_includes.php:31) in /home/vhosts/xxxxxxxxxx/eisbaerplanet.biz/htdocs/forum/attach_mod/includes/functions_includes.php on line 31
die line 31 in der functions_includes.php verweißt hierauf:
Code: Alles auswählen
//
// Include the FAQ-File (faq.php)
//
function attach_faq_include($lang_file)
Code: Alles auswählen
function attach_faq_include($lang_file)
{
global $phpbb_root_path, $board_config, $phpEx, $faq, $attach_config;
if (intval($attach_config['disable_mod']))
{
return;
}
if ($lang_file == 'lang_faq')
{
if ( !@file_exists(@amod_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_faq_attach.'.$phpEx)) )
{
include($phpbb_root_path . 'language/lang_english/lang_faq_attach.'.$phpEx);
}
else
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_faq_attach.' . $phpEx);
}
}
}
hat jemand von euch eine idee was da schiefgelaufen sein könnte?
thanks