Fork me on GitHub

Rapport de message :*
 

installation site sur le Net

Titre du sujet : installation site sur le Net
par kerios sur 14/01/2007 22:05:32

A l'aide !!!(help (help
J'ai un soucis pour mettre mon "site" sur le net.
J'ai suivi la procédure d'installation en local; et tout fonctionnait bien.
Mais lorsque j'ai placé les fichiers et repertoirs sur le net (site free.fr), le message suivant :

"Fatal error: Call to undefined function: xoops_gethandler() in /mnt/130/sdc/f/4/daris007/header.php on line 34"


J'ai regarder dans le fichier "header.php" et j'ai cela :

<?php
// $Id: header.php,v 1.42.4.1.2.17 2005/08/15 00:00:54 skalpa Exp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <http://www.xoops.org/>   ... nbsp;   //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
if (!defined("XOOPS_ROOT_PATH")) {
    die(
"XOOPS root path not defined");
}

$GLOBALS['xoopsLogger']->context "core";

// Get blocks
[b]$block_handler =& xoops_gethandler('block');[/b]
$block_handler->assignBlocks();

$GLOBALS['xTheme']->checkCache();

if (!isset(
$GLOBALS['xoopsOption']['template_main'])) {
    
// new themes using Smarty does not have old functions that are required in old modules, so include them now
    
include XOOPS_ROOT_PATH.'/include/old_theme_functions.php';
    
// need this also
    
$xoopsTheme['thename'] = $GLOBALS['xoopsConfig']['theme_set'];
}
$GLOBALS['xoopsLogger']->context "module";
?>



==> la ligne 34 est celle en Gras.

Si quelqu'un qui s'y connait pouvait me venir en aide ce serait sympa !

Merci d'avance. (cool
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

50 Personne(s) en ligne (37 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 50 | Plus ...