coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Immolatus on May 04, 2006, 05:01:50 PM

Title: Question regarding bridging between Coppermine 1.4.2 and SMF 1.1 RC2
Post by: Immolatus on May 04, 2006, 05:01:50 PM
I'm hoping this is in the right forum...


I'm attempting to bridge SMF, Joomla!, and Coppermine all together. This is what I've done so far:

Installed Joomla! in the public_html directory at http://primoguild.com
Installed SMF at http://primoguild.com/forums
Bridged SMF and Joomla! through Wolverine's bridge.
Joomla! works fine standalone.
SMF works fine standalone.

Joomla! and SMF are bridged together successfully - when a user registers with http://primoguild.com they are also registered with SMF at the same time and can immediately use the forums under the same name without needing to reregister on SMF.
Joomla! and SMF are on the same database.

Coppermine was installed via Fantastico in to http://primoguild.com/cmpg

When I attempt to bridge Coppermine with SMF through the coppermine bridge wizard I set the forum URL to http://primoguild.com/forums and set the relative path to "../forums/", click next, turn off post-based groups, click next, and then enable the bridge.

When I click on "Users" in coppermine it gives me a Critical Error message stating "There was an error while processing a database query" and then sometimes sends me back to the SMF login screen.

What am I doing wrong? I've tried a bunch of different URLs and relative paths  (with www, without www, using the home directory, etc) and have had no luck.

Once I get Coppermine to bridge to SMF, will I need to then bridge Coppermine to Joomla! too, or will it be okay just being "daisy-chained" to Joomla! via SMF?
Title: Re: Question regarding bridging between Coppermine 1.4.2 and SMF 1.1 RC2
Post by: Nibbler on May 04, 2006, 05:26:26 PM
Check for board for other posts about this combination. Whenever you get 'There was an error while processing a database query' message you should enable debug mode and reproduce the error to get a more detailed error message. Note that the SMF bridge is only designed to link to a normal SMF.
Title: Re: Question regarding bridging between Coppermine 1.4.2 and SMF 1.1 RC2
Post by: Immolatus on May 04, 2006, 05:57:55 PM
Here are my debugging messages:

While executing query "SELECT count(*) FROM `primogui_joom1`.smf_members WHERE 1" on 0

mySQL error:

File: /home/primogui/public_html/cmpg/include/functions.inc.php - Line: 248

USER:
------------------
Array
(
    [ID] => 4daf6adbde35a98fbc33c1520b759893
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Immolatus
    [groups] => Array
        (
           
Title: Re: Question regarding bridging between Coppermine 1.4.2 and SMF 1.1 RC2
Post by: Nibbler on May 04, 2006, 06:32:19 PM
You should update your gallery to the latest stable version. That should be your first step when you have a problem with any software. I don't how the joomba-smf bridge works, if it alters SMF's auth methods then it might prevent the cpg-smf bridge from operating.
Title: Re: Question regarding bridging between Coppermine 1.4.2 and SMF 1.1 RC2
Post by: Joachim Müller on May 05, 2006, 08:16:16 AM
...don't post debug_output unless requested.