View Issue Details

IDProjectCategoryView StatusLast Update
0003138Composrgalleriespublic2017-03-18 07:57
ReportergoannaAssigned To 
SeverityMajor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003138: An error has occurred - The requested page (galleries) is missing.
DescriptionAfter bulk uploading images to a gallery an error page is displayed with message "An error has occurred - The requested page (galleries) is missing." when choosing an image to view from the gallery.

Clicking images in the first few rows (first 10 or so images) in multipage mode all is ok, but if clicking images 45 or more (further down the page) the error page is loaded.
Steps To Reproducerun on composr 10RC33 since install

-browse in bulk upload gallery for photos
-select more than 40-70 images in one hit
-uncheck flow mode
-upload or submit
-then browse gallery (don't have a paging control, but that is another issue).

-when page is displayed with images click one of the first 10 or so and image page is loaded with next/previous buttons enabled
-when going back to click an image that is further down the page - lets say image 45 or more, an error page showing the message "An error has occurred - The requested page (galleries) is missing." is displayed along with add page button and the sitemap / structure in tree view.

seems that the url of later images drops the "site" folder information as shown in the urls below.

images that work -
http://mysite.com/site/index.php?page=galleries&type=image&id=basketball%2Ffriday_night20%2Funtitled-648&root=root&keep_gallery_root=root

images that don't -
http://mysite.com/index.php?page=galleries&type=image&id=basketball%2Ffriday_night20%2Funtitled-458&root=root&keep_gallery_root=root
Additional Information-if I copy the url and include the site folder directive on a non working image the image will be displayed but the next/previous button are disabled.
-also in edit image the thumb_nail image is not displayed on some image listed when hovering over the image name.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2017-03-17 12:14

administrator   ~0004878

Hi,

Thanks for your detailed report.

Quite a lot is going on here so I'll try and summarise what you've found...

1) No pagination. This is because you have "Infinite scrolling" enabled (the default), so it just shows them as you scroll down.

2) No next/previous. I can't reproduce on my machine except for the last image in the gallery and the first, but even then it's only one button disabled. However, it could be that you've enabled the "Narrow-in when browsing" option for galleries, in which case it may be there truly only is 1 image in the gallery you were viewing an image for. This option would show all gallery images in browsing of the root gallery, but previous/next would be confined to the specific gallery they belong in.

3) "also in edit image the thumb_nail image is not displayed on some image listed when hovering over the image name." I don't really understand what you mean with this one. I did find a bug on mass import though, which may be related. It is importing things like Windows or MacOS thumbnail files as gallery videos, making a mess. I've just fixed this.

4) The main issue, the wrong URL. This only happens when single public zone is not enabled (and it isn't by default). It's a nasty bug and I've just fixed it.

admin

2017-03-17 12:19

administrator   ~0004880

Automated response: Bugs with pagination and gallery import

This hotfix fixes a pagination issue when 'single public zone' is not enabled, and affects multiple addons. It is very important that you only extract files that you already have, as fixes are included for all affected addons and you almost certainly will not have all addons. i.e. Don't extract a file that doesn't replace an existing file.

admin

2017-03-17 12:19

administrator   ~0004881

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-3138, 2017-03-17 12pm.tar (337,920 bytes)

goanna

2017-03-18 07:57

reporter   ~0004885

copied over all files expect the custom module file and now all works correctly. thanks.

Issue History

Date Modified Username Field Change
2017-03-16 23:00 goanna New Issue
2017-03-17 12:14 Chris Graham Note Added: 0004878
2017-03-18 07:57 goanna Note Added: 0004885