The installation and configuration of Gallery2 integration with Drupal works exactly as expected. However, i'm having a problem trying to run it with SEF URL turned on. It only allows me to access the album but when clicking on it to view images inside the album it just directs me back to the image album. This also happens with images in the block.
I followed the steps here: http://codex.gallery2.org/Integration:Drupal:Troubleshooting#Error_.28ER... and here: http://codex.gallery2.org/Integration:Drupal:Quick_Start but still failed though the embedded Gallery still functions fine, just not the SEF URL.
Has anyone resolved this or is this a known bug? I had to turn off SEF URL on Gallery2 to get everything working again.
Thanks,
Comments
Comment #1
onejam commentedis there anyone who had experienced this issue managed to fix it? and what did you do to resolve this issue. Also this is giving problems when trying to save my gallery configs using gallery embed in Drupal. Thank you,
Comment #2
lvthunder commentedDo either of you have a link so I can see what it's doing? Make sure you have the URL Rewrite module turned on the G2 and Clean URL turned on in Drupal and let me take a look.
Comment #3
onejam commentedHere's the link: www.duvien.com/gallery
I've turned SEF back on for now so you can see what i mean.
I used both:
gallery/%path%
gallery/v/%path%
for the path for image item and disable all the others. But still failed.
thanks,
P.S. it was me posting up twice, sorry.
Comment #4
lvthunder commentedCan you post your .htaccess file?
Comment #5
onejam commentedThis is the drupal one (in root directory):
And this is the gallery2 (which is installed to a driectory named gallery2):
thanks,
Comment #6
lvthunder commentedIt's a problem with the Drupal .htaccess file. It's not including the stuff from Gallery. Make sure it is writable and visit the Install page of the gallery module. You should see stuff that looks like the G2 htaccess file at the top of the Drupal one.
Comment #7
onejam commentedI've just resetted the gallery install and when thru the process. This time with the drupal .htaccess being writable (as you said). It completed successfully but nothing got written to the .htaccess file.
What code must i put in the drupal .htaccess file for this to work?
thank you,
Comment #8
lvthunder commentedThis is what mine says. I'm not sure if it will be the same since I have a multisite going on. just copy and paste this to the top and try.
Comment #9
onejam commentedYou're a genius!
Many thanks, that worked wonders :)
Comment #10
lvthunder commentedI don't know about the genius part, but I'm glad you got it working.