Apanatschi: fatal error

Hier geht es um XAMPP AddOns wie z. B. das Apache-Konfigurations-Tool Apanatschi. Irgendwelche Probleme damit oder Fragen dazu? Dann ist hier genau der richtige Ort um nachzufragen.

Apanatschi: fatal error

Postby nwz.str@ightshooter » 20. August 2004 08:30

Hi,

ich nutze XAMPP 1.4.6 und Apanatschi 0.1 auf WinXP SP1 und finde es super alles in einem zu haben und administrieren zu können, Kompliment.

Apanatschi Setup lief einwandfrei, User ist angelegt und ich kann mich auch anmelden, aber wenn ich mich anmelde bekomme ich folgende Fehlermeldung:

Code: Select all
Fatal error: Cannot redeclare class config in c:\programme\xampp\php\pear\Config.php on line 43


Könnt Ihr mir da helfen.

Danke schon mal :D
MFG Jörg
WinXP Pro SP1|XAMPP 1.4.6|PHP 4.3.8|MySQL 4.0.20a|phpMyAdmin 2.5.7p1|Apanatschi 0.1 Win
nwz.str@ightshooter
 
Posts: 2
Joined: 19. August 2004 14:21
Location: Hamburg

Postby Apache-User » 24. August 2004 07:09

der pfad sieht mir etwas komisch aus dort sollte apanatschi nichts zu suchen haben... öffne die in der fehlermeldung angegbene Config.php mal mit einem editor und poste hier die zeile 43 bzw. +-10 zeilen darüber/darunter
mfg
D.A.U.™
User avatar
Apache-User
 
Posts: 594
Joined: 30. December 2002 16:50
Location: anonym

Postby nwz.str@ightshooter » 24. August 2004 19:26

Hi,

hier mal ein bissl Code:
Code: Select all
require_once('PEAR.php');
require_once('Config/Container.php');

$GLOBALS['CONFIG_TYPES'] =
        array(
            'apache'        =>array('Config/Container/Apache.php','Config_Container_Apache'),
            'genericconf'   =>array('Config/Container/GenericConf.php','Config_Container_GenericConf'),
            'inifile'       =>array('Config/Container/IniFile.php','Config_Container_IniFile'),
            'inicommented'  =>array('Config/Container/IniCommented.php','Config_Container_IniCommented'),
            'phparray'      =>array('Config/Container/PHPArray.php','Config_Container_PHPArray'),
            'xml'           =>array('Config/Container/XML.php','Config_Container_XML')
            );

/**
* Config
*
* This class allows for parsing and editing of configuration datasources.
* Do not use this class only to read datasources because of the overhead
* it creates to keep track of the configuration structure.
*
* @author   Bertrand Mansion <bmansion@mamasam.com>
* @package  Config
*/
class Config {

    /**
    * Datasource
    * Can be a file url, a dsn, an object...
    * @var mixed
    */
    var $datasrc;

    /**
    * Type of datasource for config
    * Ex: IniCommented, Apache...
    * @var string
    */


sonst hier die ganze Datei

Danke für die Hilfe.
MFG Jörg
WinXP Pro SP1|XAMPP 1.4.6|PHP 4.3.8|MySQL 4.0.20a|phpMyAdmin 2.5.7p1|Apanatschi 0.1 Win
nwz.str@ightshooter
 
Posts: 2
Joined: 19. August 2004 14:21
Location: Hamburg


Return to XAMPP AddOns

Who is online

Users browsing this forum: No registered users and 4 guests