forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 bridging => Topic started by: pols1337 on January 07, 2012, 04:06:23 am

Title: Reestablish CPG bridge after moving bridged application
Post by: pols1337 on January 07, 2012, 04:06:23 am
Dear Andres and CPG support,

I am running the latest CPG and SimpleMachinesForum 2.0.2 (SMF) on my website.  They were located in the following directories and correctly bridged:

CPG http://universeofmen.com/gallery/   
SMF http://universeofmen.com/forum/   

Recently, I installed a portal to make SMF my homepage and shifted it so it now resides at the top level of my domain.  Therefore, the new directories are as follows:

CPG http://universeofmen.com/gallery/   
SMF http://universeofmen.com

As you can see, my SMF has been moved to the domain name for visitors to immediately view.  Since my CPG and SMF were bridged before, I am now getting an error message whenever I try to access my gallery (since CPG still want to point to the /forum/). 

Fatal error: require_once() [function.require]: Failed opening required '../forum/Settings.php' (include_path='.:/usr/local/pear') in /universeofmen.com/public_html/gallery/bridge/smf20.inc.php on line 47

Can you advise on how I correct the bridging?  I've attached a screenshot of the error if it helps.  Thanks :)

Joel / pols1337

P.S.  In hindsight, I perhaps should have asked this question BEFORE I moved my SMF forum when I could have accessed my Coppermine gallery, but alas ...

Title: Re: Reestablish CPG bridge after moving bridged application
Post by: lurkalot on January 07, 2012, 10:17:50 am
Pols1337, some info that might help

First read here, http://documentation.coppermine-gallery.net/en/bridging.htm#bridge_manager_recover_start

Then here, http://documentation.coppermine-gallery.net/en/bridging.htm#bridge_manager_path_relative_path_to_config_file

The whole section on bridging is here, http://documentation.coppermine-gallery.net/en/bridging.htm
Title: Re: Reestablish CPG bridge after moving bridged application
Post by: pols1337 on January 07, 2012, 08:26:23 pm
Hi lurkalot,

Thanks for the references to the Coppermine documentation -- I had quickly read through it when I started having the 'bridge' problems, but I was typing in the wrong url (doh!  :o).  Instead of the correct bridgemgr.php, I was only typing in bridge.php

So I've corrected the bridging on 3 out of my 4 Coppermine galleries, and they're all working great. 

On my fourth Coppermine gallery, what happens if I cannot type in the correct credentials?  Is there any other way to access the admin menu or disable the bridging?

Thanks,
Joel / pols1337
Title: Re: Reestablish CPG bridge after moving bridged application
Post by: Αndré on January 11, 2012, 12:53:53 pm
You can also modify the bridging values directly in the database with a tool like PHPMyAdmin.
Title: Re: Reestablish CPG bridge after moving bridged application
Post by: pols1337 on January 11, 2012, 05:12:12 pm
You should have said so earlier!  I reinstalled the entire gallery  :o 

It's okay -- thanks for your help, and I'll keep this in mind the next time. 
Title: Re: Reestablish CPG bridge after moving bridged application
Post by: Αndré on January 11, 2012, 05:45:22 pm
Please don't forget to
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.