SMF Bridge Adds SSI.PHP; Need to Kill This; Already Loaded; Fatal Error SMF Bridge Adds SSI.PHP; Need to Kill This; Already Loaded; Fatal Error
 

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

SMF Bridge Adds SSI.PHP; Need to Kill This; Already Loaded; Fatal Error

Started by doctoreast, February 09, 2007, 07:32:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

doctoreast

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

Joachim Müller

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.