Anyone done a Gallery2 install using Drupals multisite config and Gallery2's ms config?
I have just setup a MS drupal config and wanted to add Gallery to my 2nd drupal site (which is at sites/site2.
The G2 install seemed ot go ok; although i got a timeout at step 8 = although it still seem to be complete (as far as i could tell).
So, now not only does gallery not work but the instll seems to have screwed up my second site.
since this is on my local machine for now i used to access site 2 at http://site2 - now when i go there it redirects me to http://site2/install/ - and gives me an error saying URL not found (which makes sense cuz it there is no such folder).
Anyone have any luck with this - perhaps the only way the G2 mod can work at the moment is doing single gallery installs for each drupal site???
peter....
ps:
- why doesnt this fourm have a forum/module?
- why did drupal developers make their own forum rather than use something like phpbb (which is much more powerful)?
just curious???
Comments
Some answers
I'm not able to troubleshoot your problem as I'm just taking a short break right now, but I can answer a few of your questions:
I have multisite Drupal 4.6.3 working with multisite Gallery 2.0.1 and they both work fine, so I can confirm that it is at least possible.
That would be an insane amount of forums. If you're having trouble with a particular module, it's best to post it in the issue tracker for that module. It's sort of like a forum, I guess, but not part of the main forum.
Because they aren't interested in cramming sucky code into Drupal? :) Do a search on phpbb here if you want to read all the arguments.
Hopefully someone can jump in with your specific problem. Unfortunately, I can't stick around that long. Good luck.
MIchelle
thanks
thanks Michelle,
Actually the reason my G2 wasn't working was because of the install error at step 8 - a bit of reading and i found out to turn McAfee AV off (very odd).
So did get it up and running - now i am trying to figure out how to do multisite gallery - for the most part - i dont think it "really" works. I have a MS drupal config and have 1 G2 on one and though i could just copy over my _data folder for the second site - but dont think that works - so i think i will need to copy everything or re-install:
at the moment my setup looks like:
/gallery2
/ms_gallery
/ms_gallery/site1_data
thought i could just add a site2_data but don't think that works; at least i dont see anywhere where i can tell gallery in site2 to use that folder.
so i guess i will just copy ms_gallery to a new folder????
but of course that seems to defeat why i have a ms_gallery in the first place - i could have just copied gallery2 for each site... mmmm.. must be missing something
and about my non-related comments:
- not that many modules - a forum per mod would be easily managed if drupal was using a real forum (like phpBB)
- and not sure why you say phpBB code is sucky... i have hacked it and (now) tried hacking drupal code - phpBB code is easier to debug.
and... even if it is sucky... it does do the basic things that a forum is supposed to do - which drupal's is a long way from...
- i cant see MY postings
- i cant get notified when topics i am interested in are updated (e.g. i didnt know you had commented here).
- many others.
thanks again for reply,
off to figure out ms galleries
Peter Lindstrom
LiquidCMS - Content Solution Experts
Multisite Gallery install
--> Anyone done a Gallery2 install using Drupals multisite config and Gallery2's ms config?
Not exactly, but I think I can also give you a good tip that made a difference for me earlier.
First, figure out where exactly your folders are all going to be, then install gallery2 as it should be working all by itself in those places. Then leave it alone.
Next install Drupal. It eases things if Gallery2 is actually a sub-folder inside of the Drupal folder, (and you followed instruction #1 carefully).
Finally, from inside of Drupal, you configure Gallery2.
FWIW, any day now Gallery will release v2.1 with a module for working with Picasa. Might be worth waiting for that. This has nothing to dow tih your install, but if you're thinking about using Picasa, or desire another new feature, any day now...
Also, I had a lot of problems figuring out which version of the gallery madule to use with Drupal. This was an invaluable tip and FAQ
Step by Step
I just got gallery working on a multisite drupal. This topic heading seems the most relevant, so I'll post the steps I took here.
My setup:
Test site on Windows using Apache and MySQL
1) Get drupal up with multiple sites (I won't elaborate on how to do this here, except to say that I didn't use the multisite module, just different databases)
2) Get gallery up with multiple sites. I pretty much followed the instructions here: http://codex.gallery2.org/Gallery2:Multisite
I went all the way through the setup for each site. It's not that much work/time and it's more sure-fire than other things people have posted trying.
Here is my directory structure (thanks ptalindstrom: http://drupal.org/node/42468):
root = My Documents\Websites\
webroot = root\www\
drupal installed in webroot\drupal
gallery installed in webroot\gallery2
multisite directories created (empty for now) webroot\ms_gallery2\site1, webroot\ms_gallery2\site2, etc...
multisite data directories created (also empty for now) root\ms_gallery2\site1, root\ms_gallery2\site2, etc...
For Step 1 (Browse to codebase) that is just http://localhost/gallery2/install for me
For Step 3 (Multisite setup) this is webroot\ms_gallery2\site1 for the first time through
For Step 4 (Storage setup) this is root\ms_gallery2\site1
For Step 5 (Database setup) I used gallery2 as my database and site1_ as my prefix
For Additional Modules step, I did not activate the URL Rewrite module or Registration module. Also, be sure to activate the Image Frame and Image Block modules (you can do these later if you don't do them now, but you may as well do them now). Other modules should not make a difference.
Go through and repeat all steps for each site
3) Make sure gallery works by going to http://localhost/ms_gallery2/site1/main.php
4) logout of gallery and follow directions for gallery module install: http://drupal.galleryembedded.com/index.php?title=Installation You've already done steps 1-3.
I found step 6 tricky. My URI of Gallery2 is /ms_gallery2/site1
I left the autodetect checked and cleared the other two boxes.
After clicking Save Configuration, the other two boxes had been assigned as follows:
Location of Gallery2: webroot\ms_gallery2\site1\
Embed URI: /site1.com/index.php?q=gallery
Follow remaining steps and it should all work. Then repeat for each other website.
-K
URL Rewrite correction
After fooling around with gallery permissions, my images stopped appearing in gallery (embedded only). So I guess the URL Rewrite module needs to be activated: http://drupal.galleryembedded.com/index.php?title=DRUPAL_Gallery2_URL_Re...
UPDATE: I upgraded gallery, and now the URL_rewrite does not work as may be expected from the "Missing Features" list at http://codex.gallery2.org/Gallery2:Multisite#How_to_Upgrade_a_Multisite
-K