multiple drupal 4.6.3 w/ multiple gallery2 integration?

benj

Joined: 2005-09-25
Posts: 3
Posted: Sun, 2005-09-25 21:40

Thanks to all the help on these forums, I have successfully installed an integrated gallery2/drupal4.6.3 site. Both projects have seen some incredible growth recently; thank you to all of you developers!

The real clincher for me is if the intergration will work with multi-sites on both sides. I installed some working gallery2 multi-sites and also multiple drupal sites, but cannot seem to get them to play nicely together. Is this possible yet?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-09-25 21:51

g2 multisites integrate well. i don't see a reason why it shouldn't work with multisite drupal.
but i have no clue about drupal.

 
benj

Joined: 2005-09-25
Posts: 3
Posted: Sun, 2005-09-25 22:08

With my gallery2 multisites, I set them up in the following way.
.../www.example.com/ = root web dir and drupal installation
.../www.example.com/gallery2/ = gallery2 installation (standalone and single codebase)
.../www.example.com/g2sites/mulisite1/ = multi-site gallery2 installation
.../www.example.com/g2sites/mulisite2/ = multi-site gallery2 installation

One the drupal side of things, you would visit the Admin -> Settings -> Gallery page (after installing the gallery module, of course). There is a text box where you enter a path to the gallery installation - in my example the path is 'gallery2/'. The module then integrates gallery at the url: www.example.com/gallery. This works well in the single installation, the multi-sites work well if you visit them directly, but I get the following fatal error when integrating the two:

Quote:
Failed opening required 'g2sites/multisite1/modules/core/classes/ExternalIdMap.class'

Shouldn't it be checking the shared codebase, rather than my multi-site directory? I'm a noob with gallery, so I'm just guessing here.

and thanks for the lightning-quick reply :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-09-25 22:18

that's an error in the drupal integration of G2, not in g2.

 
benj

Joined: 2005-09-25
Posts: 3
Posted: Sun, 2005-09-25 23:10

you are correct!

I hard-coded a path in gallery.module for drupal, and it seems to be working for now. I'm sure there is a more flexible way; if I figure it out, I'll post to the drupal site about a fix.