Hi,
I've tried to install the Calendar mod several times with the same result:
Fatal error: Cannot redeclare class config in C:\xampp\php\pear\Config.php on line 43
Any tips?
AtDhVaAnNkCsE
Regards,
Frode
Calender mod: Fatal error: Cannot redeclare class config
-
- Posts: 24
- Joined: Mon 18. Apr 2005, 21:35
- Location: Copenhagen, Denmark
- Contact:
Same here
Using SciTE I searched all of the PHP code for the word "config", and the only time anything comes close is in a JavaScript portion of a PHP file at include\inc_lib\htmlarea.editor.inc.php
But that stuff is JS, man. Where's the beef? (I'm on the 2005-02-13 1.2-DEV release from SourceForge, not the latest CVS version.)
Code: Select all
var config = new HTMLArea.Config(); // create a new configuration object having all the default values
if(cw == "") { cw = "440px"; }
if(ch == "") { ch = "550px"; }
config.width = cw;
config.height = ch;
Re: Calender mod: Fatal error: Cannot redeclare class config
pear is not part of phpwcms!froderh wrote:Hi,
I've tried to install the Calendar mod several times with the same result:
Fatal error: Cannot redeclare class config in C:\xampp\php\pear\Config.php on line 43
I use xampp to but under MDK - download the new version from xampp and try it again
- or open C:\xampp\php\pear\Config.php on line 43 in your editor - there should be an include('Config.php') or something like that...?
- or require(..)
- edit in include_once(...) / require_once(...) ! only "_once" add!
The error
Code: Select all
Cannot redeclare class config
Please Post the Line 43 of C:\xampp\php\pear\Config.php if nothing happens...
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-