coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: gav240z on September 09, 2009, 12:44:52 AM

Title: SMF 2.0 RC1 and Coppermine Bridge
Post by: gav240z on September 09, 2009, 12:44:52 AM
Hi everyone,
Just posting this here so that others may find it useful. I recently upgraded to SMF 2.0 RC1, I previously had SMF 1.1.10 bridged with Coppermine. The SMF upgrade went smoothly, but the bridge no longer functioned.

I looked at my CPG bridge files and noticed 2 php files:

/bridge/smf10.inc.php
/bridge/smf20.inc.php


I quickly examined both and determined that obviously 1 was for SMF 1.0 and 1 for SMF 2.0

Not being able to find any configuration files in coppermine to change values of I decided to look in the database.

A quick look here and I found the table.
cpg132_bridge

Your table name may vary because mine are from when I initially installed cpg and the version was 1.3.2 or at least I think that's it.

anyway in this table is a row:
short_name

its value field is smf10

Change this value to smf20

Its as simple as that. My bridge started working again no problems.

Hope someone else finds this useful.
Title: Re: SMF 2.0 RC1 and Coppermine Bridge
Post by: Nibbler on September 09, 2009, 11:57:26 AM
Recommended way is to use the bridge manager to unbridge from SMF1 and then re-bridge to SMF2.
Title: Re: SMF 2.0 RC1 and Coppermine Bridge
Post by: gav240z on September 10, 2009, 03:55:41 PM
Yeah unfortunately I hadn't done that and as a result when I tried to login to Coppermine it wouldn't let me in. So I had to modify the DB.

I figured I'd post this for people in case they did the same thing as me.
Title: Re: SMF 2.0 RC1 and Coppermine Bridge
Post by: Joachim Müller on September 14, 2009, 02:43:21 PM
We appreciate your readiness to help others. Yet the recommended solution is the one we describe in our documentation and not the one you propose.