![]() |
|
Slideshow bug - subalbums producing 404 error - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Slideshow bug - subalbums producing 404 error (/thread-3671.html) |
Slideshow bug - subalbums producing 404 error - dcote - 2008-09-03 I've just installed the latest nightly build (2370) and when I go to view a slideshow for a sub album, I get a 404 error. You can see this at the slideshow linked to from the following page: http://www.dbeezleyphotography.com/photos/Colorado/The-San-Juan-Mountains/ It looks like it might have something to do with the URL, as it inserts a %2F where it looks like it should be a forward slash: http://www.dbeezleyphotography.com/photos/Colorado%2FThe-San-Juan-Mountains/page/slideshow Thanks Slideshow bug - subalbums producing 404 error - dcote - 2008-09-03 So... it looks like the following piece of code is the culprit: urlencode($_zp_current_album->getFolder()) The urlencode method replaces the backslash between the parent and child folders with a $2F. As a quick fix, I used the str_ireplace function to add the backslash back in there: str_ireplace("%2F", "/", rawurlencode($_zp_current_album->getFolder())) Seems to work okay now. Don Slideshow bug - subalbums producing 404 error - sbillard - 2008-09-03 You should open a ticket on this problem. Otherwise it is likely to get overlooked and therefore not fixed. Slideshow bug - subalbums producing 404 error - krainbolt - 2008-09-04 I can reproduce this problem and will work on a solution. Please open a ticket if you haven't already. Slideshow bug - subalbums producing 404 error - sbillard - 2008-09-04 This has been fixed. Thanks for the ticket. |