Closed (fixed)
Project:
Gallery
Version:
5.x-1.0
Component:
Installation / Setup
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2007 at 06:40 UTC
Updated:
19 Oct 2007 at 13:00 UTC
Just installed a fresh, just downloaded copy of Drupal and Gallery2.
http://www.mfaproductions.com/bcgradtvr/
Everything seems to be linked together, users, albums, etc. Except that when you click on an item in an album, instead of seeing the full size image, the page just reloads. I had a devil of a time learning how to link everything so perhaps something is wrong.
Gallery2 works as it is supposed to here
http://www.mfaproductions.com/bcgradtvr/gallery2/main.php
But embedded into Drupal, you can see the albums, but not really do anything else.
Any ideas would be gratefully accepted. I have to turn this into my professor on Friday 10/19 at 3 PM.
Comments
Comment #1
profix898 commentedTry to disable URL Rewrite temporarily ... this looks like a rewrite issue to me, i.e. the keyword albums are working. I guess it will work without short/clean urls. Can you post some details about your configuration (rewrite rules, directory structure, module settings)?
Comment #2
jasonmcd commentedI'm not sure what the rewrite rules are or where to find that information, but clean URLs work in Drupal and in Gallery. I think it's something to do with the embedded Gallery2 accessing the same .htaccess file, but I'm not sure how to check that - the tests in the Drupal Gallery2 module pass the mod_rewrite test but give no indication if the .htaccess file for gallery2 is read or if gallery2 is reading the Drupal .htaccess file. The tests simply give no answer; mod_rewrite passes, but nothing is said about the other two tests. URL rewrite tests run separately in Gallery2 and Drupal both pass.
I have Drupal set up in a directory on mfaproductions.com and the Gallery2 folder is inside the Drupal folder. It's a Linux Apache server.
I'm not sure which module settings to post - Gallery2 module is set with the direct path to Gallery2 and the HTTP path to the Drupal .htaccess file, and I get no errors on either on save. In Gallery2, all the rewrite rules are turned off except WebDAV and show item, which is set to "gallery/%path%". The Gallery2 module has "OK" across the board in the install tab.
Any help would be appreciated! Thanks so much.
Comment #3
jasonmcd commentedOkay, fixed it. This was a confusing example in the gallery2 embedded settings. The instructions in the Gallery2 embedded URL rewrite plugin said:
"Please enter the Url to your environment. E.g. http://www.mySite.com/myNiceCMS/"
So, following the example, I put in http://www.mfaproductions.com/bcgradtvr/
However, the http://www.mfaproductions.com/ is not necessary. Removing that cleared up the problem.
Thanks for your help!
Jason
Comment #4
profix898 commented