I used fast gallery module in small portfolio. I made 4 example galleries with subfolders in 4 folders with 4 differents path alias. After that, when I call one of alias - all folders are displayed, even from other paths.
where is mistake? what am I doing wrong?
thanks for any advice.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | my gallery config.pdf | 69.32 KB | webservant316 |
| Picture 6.png | 32.02 KB | shwx | |
| Picture 7.png | 20.25 KB | shwx |
Comments
Comment #1
rapsli commentedseems to a problem when setting up multiple galleries
Comment #2
rapsli commentedcould not reproduce this bug. Did you hit the rescan button? Seems to work fine in my installation
Comment #3
webservant316 commentedsame problem observed here using fast_gallery 6.x-5.3.
I created two galleries pointing to two different file folders. When I did this ALL the subfolders from BOTH galleries are listed in each gallery. If you try to follow a subfolder within one gallery that belongs to that gallery it works fine. If you try to follow a subfolder within one gallery that belongs to the other gallery, things get wierd and fastgallery doesn't go to the wrong gallery but the breadcrum path gets messed up.
Does fast_gallery 6.x-5.5 fix this?
Comment #4
rapsli commentedI think I fixed some kind of issue. Try the latest 5.5 version. Let me know if this fixes the problem.
Comment #5
webservant316 commentedversion 5.5 does not solve the problem. #3 above is still the problem even with version 5.5.
Comment #6
rapsli commentedwhat are the paths to the two galleries?
I remember having this issue in an earlier version, but fixing it. When you updated to 5.5 did you complete clear the db and rescaned it again?
Comment #7
webservant316 commentedsites/stage.prwa.com/files/gallery
sites/stage.prwa.com/files/gallerySTAFF
yes cleared cache, clear db, and rescan
Comment #8
rapsli commentedStrang. It's working on my test environment. Let me check it again, but it's gonna take a while as I'm gonna be gone for two weeks... feel free to do some debugging ;)
btw. is it running on windows or linux?
Comment #9
webservant316 commentedDrupal running on a Linux server with MySQL backend.
Any tips on how to debug this?
What module is responsible for generating the list of folders at a particular level in the gallery?
Comment #10
rapsli commentedI double ckecked it again even with galleries outside the files folder. Works fine.
Have a look at the db, at the fast_gallery_hierarchy table.
Foid: folder id
Folder: as it says
Pid: parent folder
So if pid is 0 this is a root element. If you have set up two galleries you should have two elements with pid=0. Can you check that?
Comment #11
webservant316 commentedThe only entries with PID=0 are the subfolders within my first gallery...
sites/default/files/gallery/2003 0
sites/default/files/gallery/2004 0
sites/default/files/gallery/2005 0
sites/default/files/gallery/2006 0
sites/default/files/gallery/2007 0
sites/default/files/gallery/2008 0
sites/default/files/gallery/2009 0
sites/default/files/gallery/2010 0
There are no entries for the root of the gallery itself
Comment #12
rapsli commentedoh. I could finally reproduce the bug. I assume you don't have any pictures on the first level (under gallery). Is that correct?
Comment #13
webservant316 commentedyep
is that the solution? to put a picture in the first level?
Comment #14
rapsli commentedwell, let's call it a workaround till I fix the bug
Comment #15
webservant316 commentedwill do, thanks.
Comment #16
rapsli commentedFound a fix http://drupal.org/cvs?commit=433592
it should be in the new dev version. Can you let me know, if this fixes the issue
Comment #17
rapsli commentedComment #18
webservant316 commentedthis problem is fixed in the dev version.
installed it yesterday and all seems to be well.
thanks!