Hi!
How can I include zenphoto in my web page?
My navigation works something like this:
<?php
if(isset($_GET['gl']) && isset($_GET['glx']) && file_exists($_GET['gl']."/".$_GET['glx'].".php")){
include ($_GET['gl']."/".$_GET['glx'].".php");
}else if(isset($_GET['glx']) && file_exists($_GET['glx'].".php")){
include ($_GET['glx'].".php");
}else if (empty($_GET['glx'])){
.........
Everything is static just changes the center of web page.
Also I put zenphoto under few folders like www.mypage.com/mypage/zenphoto/
When I include it usual way it gives error like this:
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(c://www/..../zenphoto/albums/) is not within the allowed path(s): (d:\www\) in
..........\zen\classes.php on line 645
Error: The 'albums' directory cannot be found or is not readable.
Comments
From the text of your error message it would appear that you are not using the 1.1 release (the `zen` folder was changed to `zp-core` in that release.) There is no line 645 in the current version of classes.php
You might want to download the current version and try it. You should also check the chmod settings of your albums folder. It needs to be @777