ZenphotoCMS Forum
Blank page in gallery - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Blank page in gallery (/thread-3212.html)



Blank page in gallery - marina - 2008-07-01

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?




Blank page in gallery - sbillard - 2008-07-01

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




Blank page in gallery - marina - 2008-07-02

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.




Blank page in gallery - acrylian - 2008-07-02

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.




Blank page in gallery - marina - 2008-07-02

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




Blank page in gallery - acrylian - 2008-07-02

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




Blank page in gallery - marina - 2008-07-04

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