coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: doctoreast on February 09, 2007, 07:32:07 AM

Title: SMF Bridge Adds SSI.PHP; Need to Kill This; Already Loaded; Fatal Error
Post by: doctoreast on February 09, 2007, 07:32:07 AM
Hi,
   SMF Bridge Adds SSI.PHP; to coppermine. 
I need to Kill This; as it's already being loaded
with my header.php template for member stats;
and thus causing fatal errors.

This is file:
gallery/bridge/smf10.inc.php

HOW DO I KILL SSI.PHP



// Switch that allows overriding the bridge manager with hard-coded values
define('USE_BRIDGEMGR', 1);

require_once 'bridge/udb_base.inc.php';

if (!USE_BRIDGEMGR) {
        require_once('../smf/SSI.php');
        $boardurl = 'http://www.mysite.com/board';
} else {
        require_once($BRIDGE['relative_path_to_config_file'] . 'SSI.php');
}







East
Title: Re: SMF Bridge Adds SSI.PHP; Need to Kill This; Already Loaded; Fatal Error
Post by: Joachim Müller on February 09, 2007, 07:40:26 AM
Not related to initial instal, moving accordingly. Start your threads on the proper sub-board in the future.
You can't "kill" a file - that's simply how PHP works: once functions and constants have been defined, you can't undefine them. We don't know your third party apps anyway, seek support for them somewhere else.