Fatal error: Cannot redeclare class joomlaversion....... Fatal error: Cannot redeclare class joomlaversion.......
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal error: Cannot redeclare class joomlaversion.......

Started by dwaggener, March 04, 2006, 10:43:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwaggener

I am running Joomla 1.0.7 with coppermine 1.4.3.  After my initial install,  I made some errors and backed everything out.  After re-installing, I get the following error after enabling the bridge.

Fatal error: Cannot redeclare class joomlaversion in /usr/local/psa/home/vhosts/dwdigitals.com/httpdocs/joomla/includes/version.php on line 18

I've looked through the FAQs and documentation and have not found a reference to this error.  It has been awhile since I've had time to get back on this and I'd like to upgrade to 1.4.4 but not until I have this error corrected.  Any suggestions?

Thanks

Joachim Müller

the error message comes from a Joomla file, how are we suppossed to know what it means? We know Coppermine, we don't know Joomla.

Nibbler

Change these lines in the bridge file


include($BRIDGE['relative_path_to_config_file'] . 'configuration.php');
include($BRIDGE['relative_path_to_config_file'] . 'includes/version.php');


to


include_once($BRIDGE['relative_path_to_config_file'] . 'configuration.php');
include_once($BRIDGE['relative_path_to_config_file'] . 'includes/version.php');


That's the only thing that could be causing the problem from Coppermine's end. It's probably a symptom of some other error since this would not normally be an issue.