Fork me on GitHub






site non opérationnel et footer.php
Newbie
Inscrit: 18/02/2007 21:13
Messages: 17
bonjour et snif... se matin par mon incompétence ...
j'ai changer un fichier de mon site et plus reins ne marche ...
le fichier en question et footer.php...
j'étais sur d'avoir une sauvegarde du site quelque part... mais je ne trouve plus le dossier en question...

a t'il un sauveur dans la salle..???

Merci d'avance...

[edit christian] : modification du titre original (a l'aide) par un titre plus explicite. Ici c'est un forum de support où tous ceux qui posent des questions demandent de l'aide, donc autant mettre un titre en rapport avec la question.

Posté le : 25/01/2008 08:11
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Semi pro
Inscrit: 23/02/2004 09:00
De guyancourt (78)
Messages: 586
Bonjour,

1) avais-tu modifié le fichier d'origine?
2) de quelle version de xoops dispose-tu?

si tu n'as pas modifié le fichier il suffit de télécharger la version complète depuis le référentiel, puis de transférer uniquement le fichier footer.php vers ton site

Posté le : 25/01/2008 08:15
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Newbie
Inscrit: 18/02/2007 21:13
Messages: 17
Citation :

jlz78 a écrit:
Bonjour,

1) avais-tu modifié le fichier d'origine?
2) de quelle version de xoops dispose-tu?

si tu n'as pas modifié le fichier il suffit de télécharger la version complète depuis le référentiel, puis de transférer uniquement le fichier footer.php vers ton site

a modifier je sais pas... pardon je suis pas très doue... en faite sur mon site il marche mais plus aucun module et visible...

donc si tu me confirme a installent ou mettent a jour mon xoops sa repart je le fais dessuite ...

a merci encore de ta réponse rapide.

Posté le : 25/01/2008 09:48
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Newbie
Inscrit: 18/02/2007 21:13
Messages: 17
re, je viens de teste sa affiche encore plus d'erreur...
je crois qu'il va falloir refaire a la mains...
mais la je c'est pas comment je vais faire snif...

Posté le : 25/01/2008 10:46
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Semi pro
Inscrit: 13/12/2004 11:28
De Lyon
Messages: 1364
Salut,
Pour t'aider, il nous faut:
- version de xoops
- manipulations que tu as fait sur ton footer.php
- message du mode debug

@+

Posté le : 25/01/2008 11:19
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Newbie
Inscrit: 18/02/2007 21:13
Messages: 17
bon alors :
Version de XOOPS 2.0.16
Url du site : http://www.derground.ysotop.net
quesque j'ai fait se matin, j'ai remplace le fichier existent Footer.php par un autre. Quand j'ai voulu installer un nouveau module.
l'erreur que cela me fait, n'est pas réellement visible au premier abord.
mais on la remarque allent sur le forum, livre d'or, aux images...etc...
on n'accède presque a reins... snif...
quel nul je suis d'avoir égarer ma sauvegarde...

merci encore de toute l'aide que vous m'apportez...

Citation :
if ( !defined("XOOPS_FOOTER_INCLUDED") ) {
define("XOOPS_FOOTER_INCLUDED",1);
$xoopsLogger->stopTime();
if ($xoopsOption['theme_use_smarty'] == 0) {
// the old way
$footer = $xoopsConfigMetaFooter['footer'].'<br /><div style="text-align:center">Powered by XOOPS © 2002 <a href="http://www.xoops.org/" target="_blank">The XOOPS Project</a></div>';
if (isset($xoopsOption['template_main'])) {
$xoopsTpl->xoops_setCaching(0);
$xoopsTpl->display('db:'.$xoopsOption['template_main']);
}
if (!isset($xoopsOption['show_rblock'])) {
$xoopsOption['show_rblock'] = 0;
}
themefooter($xoopsOption['show_rblock'], $footer);
xoops_footer();
} else {
// RMV-NOTIFY
include_once XOOPS_ROOT_PATH . '/include/notification_select.php';
if (isset($xoopsOption['template_main'])) {
if (isset($xoopsCachedTemplateId)) {
$xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch('db:'.$xoopsOption['template_main'], $xoopsCachedTemplateId));
} else {
$xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch('db:'.$xoopsOption['template_main']));
}
} else {
if (isset($xoopsCachedTemplate)) {
$xoopsTpl->assign('dummy_content', ob_get_contents());
$xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId));
} else {
$xoopsTpl->assign('xoops_contents', ob_get_contents());
}
ob_end_clean();
}
if (!headers_sent()) {
header('Content-Type:text/html; charset='._CHARSET);
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
//header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: private, no-cache');
header('Pragma: no-cache');
}
$xoopsTpl->xoops_setCaching(0);
$xoopsTpl->display($xoopsConfig['theme_set'].'/theme.html');
}
if ($xoopsConfig['debug_mode'] == 2 && $xoopsUserIsAdmin) {
$dummyfile = 'dummy_'.time().'.html';
$fp = fopen(XOOPS_CACHE_PATH.'/'.$dummyfile, 'w');
fwrite($fp, $xoopsLogger->dumpAll());
fclose($fp);
echo '<script language=javascript>
debug_window = openWithSelfMain("'.XOOPS_URL.'/misc.php?action=showpopups&type=debug&file='.$dummyfile.'", "popup", 680, 450);
</script>';
}
}
// Uservisit
include(XOOPS_ROOT_PATH."/modules/uservisit/index.php");

?>

Posté le : 25/01/2008 11:40
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Semi pro
Inscrit: 23/02/2004 09:00
De guyancourt (78)
Messages: 586
bonjour

peux-tu essayer avec le fichier footer ci-dessous qui est le fichier original de la version 2.0.16?

<?php
// $Id: footer.php 694 2006-09-04 11:33:22Z skalpa $
//  ------------------------------------------------------------------------ //
//                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");
}
if ( !
defined("XOOPS_FOOTER_INCLUDED") ) {
    
define("XOOPS_FOOTER_INCLUDED",1);

    
$xoopsLogger->stopTime'Module display' );
    if (
$xoopsOption['theme_use_smarty'] == 0) {
        
// the old way
        
$footer htmlspecialchars$xoopsConfigMetaFooter['footer'] ) . '<br /><div style="text-align:center">Powered by XOOPS © 2002 <a href="http://www.xoops.org/" target="_blank">The XOOPS Project</a></div>';
        if (isset(
$xoopsOption['template_main'])) {
            
$xoopsTpl->xoops_setCaching(0);
            
$xoopsTpl->display('db:'.$xoopsOption['template_main']);
        }
        if (!isset(
$xoopsOption['show_rblock'])) {
            
$xoopsOption['show_rblock'] = 0;
        }
        
themefooter($xoopsOption['show_rblock'], $footer);
        
xoops_footer();
    } else {
        
// RMV-NOTIFY
        
include_once XOOPS_ROOT_PATH '/include/notification_select.php';
        
        if (!
headers_sent()) {
            
header('Content-Type:text/html; charset='._CHARSET);
            
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
            
//header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
            
header('Cache-Control: private, no-cache');
            
header('Pragma: no-cache');
        }
        
/*
        global $xoopsDB, $xoopsConfig;
        if ( !$xoopsConfig['theme_fromfile'] ) {
            session_write_close();
            $xoopsDB->close();
        }
        */
        //@internal: using global $xoTheme dereferences the variable in old versions, this does not
        
if ( !isset( $xoTheme ) )    $xoTheme =& $GLOBALS['xoTheme'];

        if ( isset( 
$xoopsOption['template_main'] ) && $xoopsOption['template_main'] != $xoTheme->contentTemplate ) {
            
trigger_error"xoopsOption[template_main] should be defined before including header.php"E_USER_WARNING );
            if ( 
false === strpos$xoopsOption['template_main'], ':' ) ) {
                
$xoTheme->contentTemplate 'db:' $xoopsOption['template_main'];
            } else {
                
$xoTheme->contentTemplate $xoopsOption['template_main'];
            }
        }
        
$xoTheme->render();
    }
    
$xoopsLogger->stopTime();
}
?>

Posté le : 25/01/2008 12:30
Partager Twitter Partagez cette article sur GG+
Re: a l'aide
Newbie
Inscrit: 18/02/2007 21:13
Messages: 17
merci merci merci.... se soir je ne me ferais pas tue par les aux autres membre de mon association...
merci merci...

Posté le : 25/01/2008 13:41
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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