coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: John on September 22, 2006, 06:07:15 AM

Title: SMF path problem
Post by: John on September 22, 2006, 06:07:15 AM
I have the following issue when trying to bridge coppermine and SMF 1.1RC3:
   
* ../board/Settings.php doesn't exist. Correct the value you entered for Relative path to your BBS's config file

Coppermine install: http://ynow.zendurl.com/cpg/
Forum install: http://ynow.zendurl.com/board/
Coppermine version: cpg1.4.9
Forum version: SMF 1.1RC3
Test user account: test / test

BridgeManager settings:
Forum URL:  http://ynow.zendurl.com/board
Relative path to your BBS's config file:  ../board/
Use post-based groups?:  0 

ive tried the absolute path  /home2/zendurl/public_html/ynow      (got it from phpinfo) no dice.
ive tried ../board/ and / and a range of combinations. Settings.php is set to 777, ive tried it at 755 also, i dont know if this makes a difference. I know im on a free host, but ive had CPG working on free hosts just fine before. Ive looked through many posts on this board about this path problem, but i just cant seem to get it figured out.

Any help would be great, thanks
Title: Re: SMF path problem
Post by: Nibbler on September 22, 2006, 08:01:09 AM
../board/ is correct. I suspect there are safe mode restrictions in place that stop it working correctly. You can try to bypass the check and see if the bridge still functions.

bridgemgr.php


                    if (file_exists($value.$options[1]) == false) {
                        $return[$key] = sprintf($lang_bridgemgr_php['error_folder_not_exist'], '<tt>'.$value.$options[1].'</tt>','<i>'.$lang_bridgemgr_php[$key].'</i>');
                    }


change to


/*
                    if (file_exists($value.$options[1]) == false) {
                        $return[$key] = sprintf($lang_bridgemgr_php['error_folder_not_exist'], '<tt>'.$value.$options[1].'</tt>','<i>'.$lang_bridgemgr_php[$key].'</i>');
                    }
*/