ZenphotoCMS Forum
zpBootstrap: Can't make Top level Album just simply pw protected - 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: zpBootstrap: Can't make Top level Album just simply pw protected (/thread-11443.html)

Pages: 1 2


zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 2013-11-04

Sure, provide a URL/password.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 2013-11-04

Thanks
url : http://www.yveslebreton.net/whyves/
you will see the album testpw
pw is : Azerty.2512

-try the correct pw (you will see the form refresh empty)
-then try any other string (you will see error message)




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 2013-11-04

I do see the problem, but do not have much of an explanation.

The thing that is significant is that you are not using mod_rewrite. Thus the link is
Quote:http://www.yveslebreton.net/whyves/index.php?album=testpw/
But that should work, see the following link (password is xyzzy)

http://testalbum.sbillard.org/index.php?album=xyzzy/

If I edit the url to delete the trailing slash then the link does work, but I do not know why on your server it fails with the slash.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 2013-11-05

I have checked the mode rewrite option setting / I'll see tomorrow if this gets any better.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 2013-11-05

mod_rewrite is not really helping / As you have said if I remove the "trailing slash" then the album appears.
I guess I'm gonna leave it there / nothing else comes to try mind to solve the issue. At least symptom's understood now.




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 2013-11-05

About the only thing I can think of then is that there are "duplicate" entries in the database for your albums--some with the extra slash. Still not sure why that matters though, because when checking Zenphoto should be stripping off the trailing slash.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 2013-11-05

given the issue that I can't solve, I will go unpublished with my more personal folder instead of pw protected. This will also allow me to use zpBootsrap again / like it very much. Thanks for all the help and care, much appreciated.