Member
Member
marina   2008-07-01, 18:11
#1

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?

Member
Member
sbillard   2008-07-01, 20:19
#2

Have you perhaps defined WEBPATH in your zp-config.php file? If so, what is its definition? The slash should not have been a duplicate as WEBPATH is not supposed to end in a slash. (Does not on my installation.)

Member
Member
marina   2008-07-02, 07:44
#3

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.

Administrator
Administrator
acrylian   2008-07-02, 08:20
#4

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.

Member
Member
marina   2008-07-02, 18:30
#5

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

Administrator
Administrator
acrylian   2008-07-02, 18:43
#6

For a computer science graduate you give up a little fast I think...:-) Anyway, the links are removed.

Member
Member
marina   2008-07-04, 13:56
#7

^ 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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.