pragmaMx Support Forum

pragmaMx => Allgemeines => Thema gestartet von: AbstauBaer in 01 Februar 2007, 20:42:07

Titel: Fehlermeldung nach Artikel einstellen
Beitrag von: AbstauBaer in 01 Februar 2007, 20:42:07
Hallo,
Ich habe soweit ich weiß nichts anderes getan als ein paar Artikel einzustellen. Dann war auf der Startseite alles Strukturierende weg und unter dem Inhalt erschien das hier:
Fatal error: Cannot redeclare themecenterbox() (previously declared in /usr/export/www/vhosts/funnetwork/hosting/fteamplay/pragmamx/header.php:165) in /usr/export/www/vhosts/funnetwork/hosting/fteamplay/pragmamx/header.php on line 165

Ich denk Hilfreich dazu ist zu wissen, dass ich mir mit meinen absolut begrenzten php-kenntnissen ein eigenes Start-Seiten-Modul aus dem blank_home modul erstellt habe, indem ich noch eine Html-Datei eingebunden habe:
\modules\custom_home\index.php

<?php // $Id: index.php,v 1.3 2005/08/30 07:10:58 tora60 Exp $
/************************************
 pragmaMx  Content Management System
 Copyright (c) 2005 pragmaMx Dev Team - http://pragmaMx.org
 ***********************************
 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.
 ***********************************
 $Source: /home/www/dps3311/home/cvsroot/pragmamx/html/modules/blank_Home/index.php,v $
 $Revision: 1.3 $
 $Author: tora60 $
 $Date: 2005/08/30 07:10:58 $
************************************/

if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");

$GLOBALS["index"] = 1;
/* if (isset($show)) {
$output = "";
$file = @fopen($show, "r");
if ($file){
while (!feof($file)) {
  $output .= " ".trim(fgets($file, 1024))." ";
}
fclose($file);
}
#$output = strip_tags(trim($output));
$output = trim($output);
}
 */
include("header.php");
include(
"begruessung.html");
include(
"modules/News/index.php");
#if (!empty($output)) echo $output;

include("footer.php");

?>


Vielen Dank für eure Hilfe ich hoffe mal das ist kein großes Problem. Hab die Suchfunktion benutzt