SymptomsAfter uploading images to Image Category and sorting within a Category the image is disappeared in the "Next Image >>" list.
Here is step to reproduce the issue:
- Create a site with Image Gallery. Open the site in Wizard and select Image Gallery for editing.
- On tab "Categories" create new category Album1 and upload images via "Multiple Image Upload": image1, image2, image3, image4, image5. Move the images to Category Album1.
- Delete image3.
- Then added image3 via "Image Upload" and put it to Category Album1. In site preview you may see image3 is placed to the very end of the image list: image1, image2, image4, image5, image3.
- Choose category Album1 and move image3 to correct place in images list (between image2 and image4). Publish the site.
On the published site in category Image1 you see all images in correct order: image1, image2, image3, image4, image5.
Click image1 and follow "Next Image >>". You'll see that image4 is missing.
Images appear in the following order: image1, image2, image4, image5
ResolutionThe issue will be fixed in future update of Parallels Plesk Sitebuilder that will be released after 4.5.9.
Hotfix for versions 4.5.9 is in the attachment. Use the following command to install the hotfix:
~# tar -xzvf sitebuilder_45x_patch_49302.tgz -C SB_ROOT/
where SB_ROOT - /usr/local/sitebuilder/ on RedHat-like OS and SB_ROOT - /opt/sitebuilder/ on Debian/Ubuntu servers.
Please remember to publish the entire site content. For that open the site in Sitebuilder Wizard and change to page 'Publish', mark enabled option 'Republish the entire site content' and click button 'Publish'.