Integration settings help needed - for site in host home subdirectory
|
dhowell2
Joined: 2009-06-22
Posts: 3 |
Posted: Tue, 2009-06-23 00:14
|
|
I'm trying to revamp our church's Drupal site... I've looked around and have not found exactly how to fix this. There are lots of posts about what the correct Drupal gallery settings are, but none seem to take into account the case when it's a test site in a subdirectory of the main account. (I'm using Drupal 6.9 with gallery module 6.x-1.0 and Gallery 2.3) My test site is in a subdirectory of my home folder on the host: "http://ans49.midphase.com/~stbarna6/". Yesterday I fiddled around for a couple hours, because even though Gallery worked in standalone mode, none of the links worked from within Drupal ("page not found" errors). The reason was that the subdirectory (~stbarna6/) part of the path was being left out. After a couple hours of trying lots of different settings, I got the admin links to work, so I can finally edit albums, add photos, etc. The admin links all work fine now with these settings: Gallery2 URL or URI: Gallery2 filesystem path: Embed URI: Gallery base: My problem now is that none of the photos are being displayed. They all show up as a little box with a question mark in it. I looked at the path to the photos and the problem is that the "~stbarna6/" is now being left out of the image paths. Here's a sample image path: http://ans49.midphase.com/sites/all/modules/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=32&g2_serialNumber=2&g2_GALLERYSID=e6e9e0fede9dd9c9f2d2ee21284f8c59. Again, in standalone mode, everything works fine and photos show up fine. I'd appreciate any help anyone can give, or if you could point me to the doc I haven't been able to find that takes into account this subdirectory business. Thank you, thank you, thank you! Thanks, |
|

Posts: 3
By the way, Clean URLs are enabled in Drupal, with the "RewriteBase" line of .htaccess set to "/~stbarna6"
URL Rewrite is installed and OK in Gallery2, with Show Item set to "gallery/v/%path%"
Thanks,
Doug
Posts: 8339
should be
/~stbarna6/sites/all/modules/gallery2/
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 3
Thanks! That did the trick! You probably saved me at least a few more hours. Hopefully someone else having this problem will be able to find this thread.
Thanks,
Doug