Zenphoto as a plugin, call to undefined function....

So, I want to display the latest images on my index.php file wich is in my root directory (mysite.com/index.php).
Zenphoto is located at mysite.com/gallery/

I can't make this work, I've tried everything..

the code in my index.php is:

<?php
define('WEBPATH', 'gallery');
define('ZENFOLDER', 'zp-core');
require_once(WEBPATH . "/" . ZENFOLDER . "/template-functions.php");
?>

<?php printLatestImages(5); ?>

no matter what function I call, I get "call to undefined function" messagge.
I have the image_album_statistics plugin activated by the way.

Any help please?

Thanks

Comments

Sign In or Register to comment.