WeiChen Wordpress plugin ZenP

I'm trying to install WeiChen's wordpress plugin, (http://www.zenphoto.org/support/topic.php?id=266#post-1320), which I've seen some other people here have made look fantastic. The problem is that when I activated it, my whole wordpress site went blank. I think I am probably making a mistake in those two lines I need to change.

//////////////////// Only Change this two lines
require_once("/home/weichen/public_html/zp/zen/config.php");// your zenp config file
define('zp_PATH','/zp'); //webpath of zenp
//////////////////

in the first line I am totally lost on my path, because the plugin is installed in wp-content/plugins/ it has to go backwards to the main site, before then going forward to find the zenphoto config file. So I am sorry if its a stupid question, but I just don't get how to do the path.

In the second line, I just put /photos as my zenphoto directory is at www.mysite.com/photos

Anyone have any ideas what I'm doing wrong?

Comments

  • trisweb Administrator
    The first path has to be your whole server path to the file (which is now called `zp-config.php` by the way) -- it usually looks like the example: `/home/youruser/public_html/zenphoto/zen/zp-config.php` BUT you have to check, as it's different on every server.

    You can find this path by using a `phpinfo()` call (read the FAQ on the Wiki for how to do that) and looking at the last section, server info. You may also be able to find it in your FTP program.

    You're right about the 2nd path, just put /photos.
Sign In or Register to comment.