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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.