Member
Member
dcote   2008-09-03, 00:44
#1

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
Don

Member
Member
dcote   2008-09-03, 02:01
#2

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

Member
Member
sbillard   2008-09-03, 03:18
#3

You should open a ticket on this problem. Otherwise it is likely to get overlooked and therefore not fixed.

Member
Member
krainbolt   2008-09-04, 05:29
#4

I can reproduce this problem and will work on a solution. Please open a ticket if you haven't already.

Member
Member
sbillard   2008-09-04, 15:50
#5

This has been fixed. Thanks for the ticket.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.