zenphoto forums » Usage Support

login redirects to url with folder duplicated

(21 posts)
  1. pinback

    Junior
    Joined: Nov '11
    Posts: 5

    Hello,

    When I use the login on my site, it does not redirect properly.

    Example:
    http://www.test.com/gallery
    redirects to
    http://www.test.com/gallery/gallery
    as opposed to
    http://www.test.com/gallery/index.php

    Any thoughts on where I went wrong? Thanks in advance!

    Pinback

    Posted 1 year ago #
  2. Zenphoto support team
    fretzl

    Moderator
    Joined: Sep '08
    Posts: 528

    Which Zenphoto version?
    Do you mean login to a protected album/gallery?

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. pinback

    Junior
    Joined: Nov '11
    Posts: 5

    Version 1.4.1.6 (just downloaded last week)

    Yes, I set the Guest password so that everyone would have to log in. Whether I use the Guest password or try to log in as another user, the scenario mentioned above occurs.

    Thanks!

    Posted 1 year ago #
  4. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,364

    Try setting the webpath manually within /zp-data/zp-config.php.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  5. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    What theme are you using?

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  6. pinback

    Junior
    Joined: Nov '11
    Posts: 5

    acrylian - I adjusted the webpath manually. It adds whatever I put in as the webpath as a prefix to the duplication.

    sbillard - whatever the default theme is. I have not made any changes to it.

    Thanks again!

    Pinback

    Posted 1 year ago #
  7. pinback

    Junior
    Joined: Nov '11
    Posts: 5

    I'm happy to send the actual web site to any of you distinguished developers if you wish to see it fail in action. :)

    Posted 1 year ago #
  8. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    Is it possible for you to try the 1..4.2 beta (nightly build)? I cannot reproduce the issue on that. Also were there any files that setup suggested be removed when you did the install? If there was an old "password_form.php" script in the theme that would be the cause.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  9. pinback

    Junior
    Joined: Nov '11
    Posts: 5

    Thanks sbillard. I temporarily fixed it by using the <Meta> tag where the redirect was pointing. Install did not ask me to remove any files. I'll try the latest build when I can and see if it fixes the issue. Thanks again for your help!

    Posted 1 year ago #
  10. Ralf99

    Junior
    Joined: Jun '12
    Posts: 6

    Hi sbillard,

    i have the same issue as pinback.

    I have ZP 1.4.2.4 [10045] with a fresh install. My Template is the "default".

    I have 4 albums (3x are open and one has a protection)
    the one with protection is the problem when i click on it, the login-screen popup´s an i can put the right user and password in it.
    BUT then the "server" moved me to a invalid side?!!
    for example this is my gallery server path http://www.test.de/images/page/gallery
    then i click on a privat gallery (when i drive with the mouse hover i can see in firefox in the left bottom the right path!!) - login
    and i moved to this side: http://www.test/images/images/private

    hmm what can i do?? is there a problem with my .htaccess and the rewrite??

    oh i forgot the i didn´t have the file you call here for the problem: "Try setting the webpath manually within /zp-data/zp-config.php." ?? is this ok that i miss this file?? the only file i have is "/zp-data/zenphoto.cfg"?!

    Thanks Ralf99

    Posted 11 months ago #
  11. Zenphoto support team
    fretzl

    Moderator
    Joined: Sep '08
    Posts: 528

    I can't answer the first part of your question but the zp-config.php file has been renamed to zenphoto.cfg a while back.
    You can open zenphoto.cfg with any text editor.

    Don't forget to read the Forum rules and usage resources
    Posted 11 months ago #
  12. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,364

    You probably indeed need to set the webpath manually. Some servers do require this for whatever configuration reasons.

    Don't forget to read the Forum rules and usage resources
    Posted 11 months ago #
  13. Ralf99

    Junior
    Joined: Jun '12
    Posts: 6

    Hi acrylian,

    hmm sorry but this is not the solution for my problem.

    my problem is again:

    this is my gallery
    http://www.test.de/julia+ralf/page/gallery
    in there i have 4 folders/albums (3 without a password an one with a password)

    the link to the album WITH password is
    http://www.test.de/julia+ralf/test/
    (Firefox show me the correct link in the left-down corner. Thats ok!)

    But when i login to this "Test" Album with the correct user/password -

    ZP bring me to this side
    http://www.test.de/julia+ralf/julia%20ralf/test

    What can I do???

    *If you need the Link to the ZP-Installation - let me know*

    Posted 10 months ago #
  14. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    Sorry, but what exactly is your problem? Those links are equivalent.

    Don't forget to read the Forum rules and usage resources
    Posted 10 months ago #
  15. Ralf99

    Junior
    Joined: Jun '12
    Posts: 6

    Hi sbillard,

    sorry but NO that links aren´t equivalent.

    the right link to the password protected album is
    http://www.test.de/julia+ralf/test/

    and zp go after the login to this "side"
    http://www.test.de/julia+ralf/julia%20ralf/test/
    (it repeat the "julia%20ralf")
    and so i get this message:
    "Das Zenphoto-Objekt, das Sie anfordert haben, konnte nicht gefunden werden" - it means "The Zenphoto-Object, that you request couldn´t be found.

    And that´s my problem.

    Posted 10 months ago #
  16. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    Ok, so the standard questions: What version of Zenphoto are your running. What theme? How was Zenphoto installed. See also the forum rules linked in the footer of this message.

    Don't forget to read the Forum rules and usage resources
    Posted 10 months ago #
  17. Ralf99

    Junior
    Joined: Jun '12
    Posts: 6

    Hi sbillard,

    sorry i posted this information some postings above, so they are:

    "I have ZP 1.4.2.4 [10045] with a fresh install. My Template is the "default".

    I download the ZP.zip File, unpack it and upload it to my ftp-server - after that i run the install (with no errors).

    I hope this are all information you need?
    Or did you need the URL or something else?

    Posted 10 months ago #
  18. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    Well, we do not support version 1.4.2 any longer as 1.4.3 was released first of July. You might want to upgrade. I cannot reproduce your problem with the current software.

    Don't forget to read the Forum rules and usage resources
    Posted 10 months ago #
  19. Ralf99

    Junior
    Joined: Jun '12
    Posts: 6

    hello sbillard

    i updated my version to 1.4.3 but the same problem continue to exist...

    so i made some tests and i think i know now the problem!!

    the problem is my root-folder!!! because when i install a fresh ZP on http://www.test.de/zenphoto/ -> all is OK
    also when i install ZP in this folder http://www.test.de/julia&ralf/ -> ALL is OK and the password protection work´s fine.

    BUT when i install ZP in this folder http://www.test.de/julia+ralf/ -> especially look at the "+" in the folder name i get the errors from above!!

    So now my question, how can i solve this?? Or is this a problem for the BUGTRACKER??

    cu Ralf

    Posted 9 months ago #
  20. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    Probably best to use bugtracker. This may take some research (and therefore time) to figure out. In the mean time, you can not use those characters in the album folder name. Remember that the album title can be set independently from the folder.

    Don't forget to read the Forum rules and usage resources
    Posted 9 months ago #
  21. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    Update:

    I cannot get folders with + signs in them to work at all on my install. It appears that the URL decoding of the browser will insist on making the + sign (no matter how encoded) into a space. Of course the folder then does not exist.

    I think your only solution is to not have the + sign in the actual folder name.

    Don't forget to read the Forum rules and usage resources
    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.