Member
Member
ClicClac   08-07-2012, 09:30
#1

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

Administrator
Administrator
acrylian   08-07-2012, 09:46
#2

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

Member
Member
sbillard   09-07-2012, 01:20
#3

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.

Member
Member
ClicClac   09-07-2012, 06:22
#4

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.

Administrator
Administrator
acrylian   09-07-2012, 08:38
#5

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.

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