Oddness with Paths

There has been much wierdness installing zenphoto I have managed to get it partially working. I think that someone will be able to point out whats gone awry by having a look at the gallery

currently no images show, the src atrributes don't not point to real folders. Are thes image subfolders greated on the fly?? (if so they are not created by the script)

I think that installing zenphoto in the public root helps. Zenphoto does look magic much better than those other blotted options (saying no names :-) )

http://zenphoto.robinhogarth.co.uk/

would appreciate any guidence offered

atb - S

Comments

  • I have the same problem exactly.

    http://www.rockpaperpixels.com/zenphoto/

    I've been looking around most of the night trying to figure out how to get the paths to show up correctly. I've tried mod re-write to false, a couple pastes of code into config.php and function.php, nothing has worked so far. :(
  • fyi: I was able to fix my problem by turning off image re-write and by pasting the following into function.php in the /zen folder. (thanks to biffta)

    <?php
    // functions.php - HEADERS NOT SENT YET!

    require_once("config.php");
    /*comment out this bit
    if (strstr(basename(dirname($_SERVER['SCRIPT_NAME'])), "zen")) {
    define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));
    } else {
    define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));
    }
    */
    define('WEBPATH', '/zenphoto');
Sign In or Register to comment.