Hi,
I've spent most of my day trying to install ZenPhoto but I still haven't solved this one: Everything has installed fine and, while I can administrate my installation and upload pictures, I cannot see it. (link: /)
Poking around the code, I think I've narrowed the problem to functions.php (lines 1909-1911). The variable $requirePath takes the value . I changed the code of the getPlugin() function in the same file and I removed the duplicate slash.
However, when the require_once($requirePath); (line 1910) command is executed something happens and the script stops running.
Does anyone have an idea why this happens?
I have defined WEBPATH and SERVERPATH myself since the installation does not work at all if I leave them commented out in zp-config.php. The definitions are:
define('WEBPATH', '');
define('SERVERPATH', '');
As you see there are no slashes in the end. (I tried putting one just to see what happens and then a triple slash appeared.) I really don't know what to do. I am out of ideas.
When I click on your link above I get a blank page with this url on it
Nothing should link to that file at all. Are you sure you installed correctly? Did you try disabling mod_rewrite and removing the .htacces file? It seems that the server you installed on does not support mod_rewrite.
That path is displayed there because of an echo command I added to some file trying to debug the problem.
Anyway, I used some other gallery so I am not going to further dig into this problem. Mod_rewrite works in my server though, so that's not it. Thanks for trying to help.
(I'd appreciate it if you could remove the links and paths for my installation from this thread. Thank you.)
^ Well, the other script I used was my first choice so I am glad I made that one work. :-p I did "play" a bit more with zen-photo though and I think the problem has to do with my university's server, since the gallery works fine on both my windows and my linux boxes. Again, thanks for trying to help guys.