Re: L'admin de mon site ne fonctionne plus | Titre du sujet : Re: L'admin de mon site ne fonctionne plus par lm59 sur 23/07/2007 13:41:56
je viens de reinstaller XOOPS Info 2.14 en mode debug et j'ai ca
Fatal error: Cannot redeclare adminmenu() (previously declared in /www/modules/wordbook/include/functions.php:241) in /www/modules/xoopsinfo/include/functions.php on line 17
le code de Wordbook
// v.1.17 thanks to smartfactory for this menu function adminMenu ($currentoption = 0, $breadcrumb = '' ) {
include_once XOOPS_ROOT_PATH . '/class/template.php'; global $xoopsDB, $xoopsModule, $xoopsConfig; if (file_exists(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname(). "/language/" . $xoopsConfig['language'] . "/modinfo.php")) { include_once XOOPS_ROOT_PATH.'/modules/wordbook/' . 'language/' . $xoopsConfig['language'] . '/modinfo.php'; } else { include_once XOOPS_ROOT_PATH.'/modules/wordbook/' . 'language/english/modinfo.php'; } if (file_exists(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname() . "/language/" . $xoopsConfig['language'] . "/admin.php")) { include_once XOOPS_ROOT_PATH.'/modules/wordbook/' . 'language/' . $xoopsConfig['language'] . '/admin.php'; } else { include_once XOOPS_ROOT_PATH.'/modules/wordbook/' . 'language/english/admin.php'; } include 'menu.php';
$tpl =& new XoopsTpl(); $tpl->assign( array( 'headermenu' => $headermenu, 'adminmenu' => $adminmenu, 'current' => $currentoption, 'breadcrumb' => $breadcrumb, 'headermenucount' => count($headermenu) ) ); // $tpl->display( 'db:{$mytemplates}/wb_adminmenu.html' ); $tpl->display( 'db:wb_adminmenu.html' ); echo "<br />\n"; }
le module s'installe quand meme kezako ??
|
|