Zenphoto as a "plug-in"

Hello,

I need your help,

Here my zenphoto installation:
/
/zenphoto/
/photoblog/script_using_zenphoto.php
/wordpress/

I'm using this code in my script:
`

define('SERVERPATH',$_SERVER[DOCUMENT_ROOT].'/zenphoto');

define('WEBPATH','../zenphoto');

//echo SERVERPATH => /Library/WebServer/Documents/zenphoto => OK

require_once(SERVERPATH.'/zp-core/template-functions.php');

`

and I get this error:

Not Found
The requested URL /photoblog/zp-core/setup.php was not found on this server.

define paths seems ok.
This work fine with 1.4.2

Comments

  • acrylian Administrator, Developer
    You need to install Zenphoto as described on the installation page. Also note that you this way will not be able to use the complete Zenphoto. This as a plugin way is meant to use certain functions like latest images or so outside. If you wish to use Zenphoto with all bells and whistles withing /photoblog rename the folder zenphoto accordingly. Zenphoto is a standalone system
  • There was a similar thread recently. You probably need to install the nightly build for this to work. Also review the article "zenphoto as a plugin" as it has changed somewhat due to constraints added to allow use of symlinked installations.
  • >> You need to install Zenphoto as described on the installation page.

    Was done. Zenphoto work fine in it's zenphoto folder!

    I was using 2-3 functions (latest images, tags) outside zenphoto. I will made my own function.
  • acrylian Administrator, Developer
    Ok, be sure to install the 1.4.3 trunk nightly and re-read the "Zenphoto as a plugin" article. Then using such function should work.
Sign In or Register to comment.