Some login forms redirecting rong

SO, some of my login forms are redirecting wrong. Lets assume that my installation path is:

http://localhost/images/gallery2

The main admin login at `/zp-core/admin.php` works perfectly, but any page with a login form like user_login-out or a gallery password request (password required to view `archive view`) redirects to the wrong page. Instead of redirecting to `/images/gallery2/index.php` it redirects to `/images/gallery2/images/gallery2/index.php`. Obviously I get a 404 error, BUT... If I click the back button and click submit again, it redirects to the right page. Always works on the second try, but never on the first. What the hell?

I have already defined `webpath` and `filepath` in `zp-data/zp-config.php` and I dont know what to try next! help!

Comments

  • acrylian Administrator, Developer
    Maybe you should tell us what Zenphoto version you are using and your general setup.
  • ah yes sorry of course...

    # Zenphoto version 1.2.7 [4741] (Official Build)
    # Current gallery theme: default
    # PHP version: 5.2.4-2ubuntu5.9
    # Graphics support: PHP GD library 2.0 or higher
    # MySQL version: 5.0.51a
  • acrylian Administrator, Developer
    Please try 1.2.8 RC or the nightly.
Sign In or Register to comment.