coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: sbarnes on March 29, 2006, 04:30:26 PM

Title: Intergrated with SMF, moved folders now cannot access
Post by: sbarnes on March 29, 2006, 04:30:26 PM
Hi there,
I had successfully bridged my gallery with SMF but had to move my SMF folder from 'forum' to the root.

Days later I have just realised that I cannot acces gallery. I guess the folder change was the problem?
Is there a gallery file I can edit to correct the paths?
Title: Re: Intergrated with SMF, moved folders now cannot access
Post by: Nibbler on March 29, 2006, 04:31:45 PM
You can change the bridge settings in the database using phpmyadmin.
Title: Re: Intergrated with SMF, moved folders now cannot access
Post by: sbarnes on March 29, 2006, 04:33:42 PM
I do have access to phpmyadmin, what am i looking for?

If it helps the error I'm getting is:

Fatal error: main(): Failed opening required '../forum/SSI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/#secret#/public_html/gallery/bridge/smf10.inc.php on line 31
Title: Re: Intergrated with SMF, moved folders now cannot access
Post by: Nibbler on March 29, 2006, 04:37:21 PM
Find the database that contains coppermine, find the prefix_bridge table and correct the value for relative_path_to_config_file
Title: Re: Intergrated with SMF, moved folders now cannot access
Post by: sbarnes on March 29, 2006, 04:38:34 PM
Just found them thank you, will try it. and also change the 'full forum url' at the same time.

many thanks
Title: Re: Intergrated with SMF, moved folders now cannot access
Post by: Nibbler on March 29, 2006, 04:40:11 PM
No need to change that, it is read automatically from SMF.
Title: Re: Intergrated with SMF, moved folders now cannot access
Post by: sbarnes on March 29, 2006, 04:40:20 PM
Thank you very much for pointing me in the right direction, worked a treat.