Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Bonjour,
La création d'un thème enfant me renvoie une belle erreur chez moi, côté public :
Warning: Cannot modify header information - headers already sent by (output started at cdev/themes/dcBootstrapBB/_define.php:1) in /homez.59/htmledit/dcdev/inc/public/lib.urlhandlers.php on line 108
Et côté admin :
Warning: Cannot modify header information - headers already sent by (output started at /dcdev/themes/dcBootstrapBB/_define.php:1) in /homez.59/htmledit/dcdev/inc/admin/lib.dc.page.php on line 90
Le thème enfant ne se compose que d'un fichier _define.php :
<?php
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
if (!defined('DC_RC_PATH')) { return; }
$this->registerModule(
/* Name */ "dcBootstrapBB",
/* Description*/ "Theme based on dcBootstrap and designed for agora plugin",
/* Author */ "Mathieu M. / HTML-Edition.com",
/* Version */ '1.0.0',
/* Id du Parent */ 'dcBootstrap'
);
if (!$GLOBALS['core']->plugins->moduleExists('agora')) {
$GLOBALS['core']->error->add(__('<strong>"dcBootstrapBB"</strong> needs the plugin "agora". Please don\'t use this theme without this plugin.'));
}
?>
Et d’un dossier tpl (vide pour le moment).
SOS ? :)
Merci.
Hors ligne
Euh... oui ! Un mauvais clic de ma part pour l'encodage...
P'tain bien vu j'ai envie de dire ! :D
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).