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 :-) )


would appreciate any guidence offered

atb - S


  • I have the same problem exactly.


    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)

    // functions.php - HEADERS NOT SENT YET!

    /*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.