coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: dwaggener on March 04, 2006, 10:43:29 PM

Title: Fatal error: Cannot redeclare class joomlaversion.......
Post by: dwaggener on March 04, 2006, 10:43:29 PM
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
Title: Re: Fatal error: Cannot redeclare class joomlaversion.......
Post by: Joachim Müller on March 05, 2006, 01:33:27 AM
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.
Title: Re: Fatal error: Cannot redeclare class joomlaversion.......
Post by: Nibbler on March 05, 2006, 01:58:22 AM
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.