Gallery2 woes under Drupal, please help...

EnigmaBurn

Joined: 2005-12-09
Posts: 1
Posted: Fri, 2005-12-09 14:22

System: Celeron 2GB, w/ 256 RAM, 120 GB HDD; Dedicated with Plesk admin on Apache Linux; php v. 4.3.4-11 (safe mode is off); mysql 3.23.58-9 - if I left anything out, let me know...

I am hoping someone can help me. I installed Gallery2 under Drupal 4.6.4 and I originally installed it under my Drupal directory in a directory named '/gallery'... Then when I configured it (after a fully successful install) in Drupal. All seemed to go fine. Until I enabled the block and then the site went blank. Nothing, nothing at all. I mean the second I enabled the gallery block in Drupal all I got was a blank page (even in admin mode). Tried going back to my Drupal root - same, blank page. I changed the name of the gallery directory and the site came back. I thought that by possibly naming the install directory 'gallery' was somehow a problem. So I ripped it out completely - brand new install from scratch of gallery2 to a 'gallery2' directory.

Now I got two problems - first Drupal seems to still think that it should be going to only '/gallery' as its directory for admin and everything. I could swear I edited some config file in Linux at some point when I first did the install that set 'gallery' as the base directory (I don't know, maybe I didn't) but it seems that Drupal is always going to a 'gallery' directory for settings. BUT then again I do not know if this is supposed to be 'gallery' and not 'gallery2'

I mean this:

http://www.thehongkongstandard.com/drupal-4.6.4/gallery is blank!

and this:

http://www.thehongkongstandard.com/drupal-4.6.4/gallery2/main.php is a default view of a gallery2 install...

Then again, if I go into Drupal >> Administer >> Settings and click 'Gallery' I go to:

http://www.thehongkongstandard.com/drupal-4.6.4/admin/settings/gallery - which appears to be valid, but - if I change this to:

http://www.thehongkongstandard.com/drupal-4.6.4/admin/settings/gallery2 - it has the two buttons with no inputs, so that seems bad.

Then I could swear there was a page that had the layout/format of the theme I am using, and was the page that 'should' have been the gallery (maybe the first link) said something like, 'You need to configure your gallery' which was linked... But this seemed to go to a /gallery/ link and not a /gallery2/ link - but again I am not sure what this is supposed to be gallery or gallery2 under drupal or what...? It got a blank page most of the time...

My config/settings info in Drupal are:

Location of gallery2: gallery2/ -- because it is in the Drupal-4.6.4 directory

Drupal directory: /httpdocs/drupal-4.6.4/ -- current setting
(actual is: home/httpd/vhosts/thehongkongstandard.com/httpdocs/drupal-4.6.4/)

Leading /? Trailing /? Docs are ambiguious. Is this part of the problem?

If you could provide any help on this, I would be ever so grateful.

Thanks in advance,

Todd

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2005-12-09 18:18

Your G2 installation cannot be in a directory called "gallery" as that will clash with the "gallery" part of gallery.module. Changing it to gallery2 should work OK, as you have done.

Now the gallery.module settings would be in http://www.thehongkongstandard.com/drupal-4.6.4/admin/settings/gallery not the gallery2 link you had.

Does your non-embedded gallery work?

I'm not sure of the new (cvs version) method of specifying the Drupal and G2 directories. Try turning on the watchdog and "output to the browser" debugging. Check you apache logs. Try changing "gallery2/" to "./gallery2" or "./gallery2/" and try the full absolute path to Drupal.