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.

CommentFileSizeAuthor
#11 my gallery config.pdf69.32 KBwebservant316
Picture 6.png32.02 KBshwx
Picture 7.png20.25 KBshwx

Comments

rapsli’s picture

seems to a problem when setting up multiple galleries

rapsli’s picture

Status: Active » Postponed (maintainer needs more info)

could not reproduce this bug. Did you hit the rescan button? Seems to work fine in my installation

webservant316’s picture

same 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?

rapsli’s picture

I think I fixed some kind of issue. Try the latest 5.5 version. Let me know if this fixes the problem.

webservant316’s picture

version 5.5 does not solve the problem. #3 above is still the problem even with version 5.5.

rapsli’s picture

Status: Postponed (maintainer needs more info) » Active

what 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?

webservant316’s picture

sites/stage.prwa.com/files/gallery
sites/stage.prwa.com/files/gallerySTAFF

yes cleared cache, clear db, and rescan

rapsli’s picture

Version: 6.x-5.3 » 6.x-5.5

Strang. 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?

webservant316’s picture

Drupal 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?

rapsli’s picture

I 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?

webservant316’s picture

StatusFileSize
new69.32 KB

The 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

rapsli’s picture

oh. I could finally reproduce the bug. I assume you don't have any pictures on the first level (under gallery). Is that correct?

webservant316’s picture

yep
is that the solution? to put a picture in the first level?

rapsli’s picture

Status: Active » Needs work

well, let's call it a workaround till I fix the bug

webservant316’s picture

will do, thanks.

rapsli’s picture

Found 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

rapsli’s picture

Status: Needs work » Fixed
webservant316’s picture

this problem is fixed in the dev version.
installed it yesterday and all seems to be well.

thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.