Closed (fixed)
Project:
Fast Gallery
Version:
6.x-5.0-beta2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2010 at 15:00 UTC
Updated:
15 Jun 2010 at 20:10 UTC
Have had no problems with 6-4. Upon updating to 6-5 by removing FG, updating, installing FG6-5, updating, activate module, configure - I get the message "There are no images in this folder. Please make sure that your gallery is set up correctly." when I go to the alias path. Returning to 6-4 and all is fine. Path used is "galleries/" with the folder in the top directory. Pictures are in subdirectories. Pointing the path to a subfolder which contains pictures makes no difference. The dev version makes no difference. Submit, then clear db, then rescan to no avail.
Comments
Comment #1
rapsli commentedWhen you look at the DB there's a table fast_gallery_file and fast_gallery_hierarchy is something in there?
... you don't happen to have a link. It's easier when I can look at it.
Comment #2
stryder commentedOK, I had reverted to 6-4 so I am now doing the update again. When I remove the 6-4 module and then ran update.php and then checked the db, fast_gallery and fast_gallery_exif still exist and have records. There is no fast_gallery_file and fast_gallery_hierarchy that I can see. Now I unpack the 6-5 module and run update.php again. I get the warning:
user warning: Table 'emcpj_drpl2.fast_gallery_hierarchy' doesn't exist query: ALTER TABLE fast_gallery_hierarchy CHANGE `folder` `folder` TEXT NOT NULL DEFAULT '' in /media/xcommon/websites/emcpj/includes/database.mysql-common.inc on line 520.andFailed: ALTER TABLE {fast_gallery_hierarchy} CHANGE `folder` `folder` TEXT NOT NULL DEFAULT ''Looking at the db now, fast_gallery_file and fast_gallery_hierarchy does not exist. Returning back to 6-4 fast_gallery_file and fast_gallery_hierarchy still does not exist but everything works. Looks like I just don't have fast_gallery_file and fast_gallery_hierarchy.
Sorry, on my live site I have reverted back to 6-4. I am right now testing on my own computer with a recent backup database.
Comment #3
rapsli commentedoky. I'm positiv, we get this sorted out: You have to completely uninstall fast gallery prior 6-4:
admin/build/modules -> uncheck fast gallery -> save
admin/build/modules/uninstall -> check fast gallery and uninstall
now, delete all the files of fast gallery and copy the latest 6-5 version and install it.
Comment #4
stryder commentedThank you. I didn't realize there is an uninstall option. OK it works now except for the following presentation issues:
1. In going to the gallery which has several subfolders, the subfolders are presented with the folder icon rather than a sample picture. Is there any way I can work around this?
2. When viewing the contents of a subfolder, the title at the top is merely the "Title of Gallery" and is not even a link. Previously you had done it breadcrumb style: gallery title >> subfolder title. Lets people know what they are viewing and they can just click to go back and forth. Am I missing something?
Thanks again for your quick response.
Comment #5
rapsli commentedGlad to hear.
1. there is already a feature request for this one. I though first want to get a stable version of fast gallery before adding new features... code freeze so to say.
2. this is a bug. I'll get that one fixed.
Comment #6
rapsli commentedbreadcrumb should be available, just commited it.
If you don't see breadcrumbs it might also be a problem with your theme
Comment #7
stryder commentedRight. My theme does not use breadcrumb BUT fast gallery has been showing it as a header in the past. It doesn't now.
Comment #8
rapsli commentedthat might be true... i though wonder if that was correct? I think it would be better to use the default breadcrumbs. Is there something agains this. The way it is now:
breadcrumb > bc ... (if enabled in theme)
Titel of the Gallery
Fotos - Gallery
The way it was before
Title as breadcrumb navigation
Fotos - Gallery
I would like to get some opinions on this.
Comment #9
stryder commentedWell, the most important thing to me is that if Fotos - Gallery is a subfolder, the title should be Name of Subfolder. I don't know how difficult it is to implement "title as breadcrumb navigation" but it will solve the problem.
But to argue for breadcrumb navigation as title, I would simply say that your program is a way to explore picture folders and subfolders and therefore it should tell the user his/her location and provide a simple way to move in and out of the folders.
A theme's breadcrumb navigation is implemented as part of the whole site and the location, visibility, etc very much depends on the theme and structure of the site. You shouldn't depend on it for your own presentation.
Comment #10
rapsli commentedI agree. Oky, I fixed this... I think we are getting close to a first stable version in a long time.