forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Mao-B on March 06, 2007, 10:51:35 pm

Title: CPG & SMF: relative path cant be used!
Post by: Mao-B on March 06, 2007, 10:51:35 pm
hi folks,

due to my localhostconfig, it seems that im unable to use the bridgemanager!

my host is running PLESK 8.1 and i´m using a subdomain to access the galerie from the board.

im running the galerie under a different documentroot than the smf-installation:

smf runs under:

/srv/www/vhosts/grofafo.org/httpdocs

cpg runs with a subdomain (galerie.grofafo.org) under:

/srv/www/vhosts/grofafo.org/subdomains/galerie/httpdocs

the former 1.3.5-installation was running w/o problems, until i moved to another server, where the openbasedir-restriction is in effect despite i deactivated it. i´m still clueless about this (for i´m using the SAME php.ini as on the old host, where the installation had no problems). so i thought " an upgrade to 1.4.x could maybe solve it", but: DUH! it doesnt...  :-X

the bridgemanager wants to configure the bridge with a relative path, but with the above configuration this wont do ::)

i need your help with this, or i have to install the galerie completely new unter the board-docroot and cant use the subdomain anymore, because fu.... PLESK forces the subdomains to an own docroot!  :-[
Title: Re: CPG & SMF: relative path cant be used!
Post by: Joachim Müller on March 07, 2007, 07:16:03 am
Relative paths can be used as far as I can see. Read "When requesting bridge support - mandatory! (http://forum.coppermine-gallery.net/index.php?topic=24032.0)" and "Documentation > Bridging support (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating_support_start)". Do exactly as suggested there.
Title: Re: CPG & SMF: relative path cant be used!
Post by: Mao-B on March 07, 2007, 11:20:45 am
Im sorry, but those mandatory questions basically are already answered in my first post AND i HAVE DONE exactly as suggested in the bridging-faq. im not dumb ::) its not the first CPG im installing, but maybe the first installation im running on problems with!

CPG now is 1.4.10, was former 1.3.5
SMF is 1.1 RC2



the board is installed under http://grofafo.org with document-root /srv/www/vhosts/grofafo.org/httpdocs

the gallery is installed under http://galerie.grofafo.org with document-root /srv/www/vhosts/grofafo.org/subdomains/galerie/httpdocs

these are two different places in the same machine, where bridging has gone very fine for over two years!

but now the bridgemanager wants a path relative to http://grofafo.org which i cant provide with the above configuration, and i dont really want to change this configuration.

i.e. this path should be like http://grofafo.org/galerie (../galerie) which should result in /srv/www/vhosts/grofafo.org/httpdocs/galerie, but this is due to the above config not possible until i completely reinstall the galerie under this document root. but i dont want this. so please tell me, or give me at least a hint, HOW i can use the bridge from CPG to SMF in case both installations are running under different document-root-paths?

i used the attached file as bridge for my SMF with cpg135
Title: Re: CPG & SMF: relative path cant be used!
Post by: Nibbler on March 07, 2007, 02:34:05 pm
../.../../httpdocs would be the relative path. If you can't do that because of open_basedir then get that adjusted.
Title: Re: CPG & SMF: relative path cant be used!
Post by: Mao-B on March 07, 2007, 09:33:58 pm
hmmm, i´ll try and report ;) thnx! :)