Pages (2): 1 2   
Member
Member
onyourplate   08-11-2007, 19:05
#1

Just updated to 1.1 and have this error. Any suggestions?

Fatal error: main(): Failed opening required 'zp-core/template-functions.php' (include_path='.;c:\php\pear') in D:\inetpub\re-lee\zenphoto\index.php on line 3

Developer
Developer
trisweb   08-11-2007, 19:10
#2

Can you check for that file's existence? It should be template-functions.php in the /zp-core/ folder.

Member
Member
onyourplate   08-11-2007, 19:13
#3

Located in zenphoto/zp-directory/zp-core

Member
Member
sbillard   08-11-2007, 20:30
#4

Is index.php in the zenphoto folder?

Never mind, I looked more closely at your post.

Member
Member
onyourplate   09-11-2007, 02:31
#5

Any thoughts?

Member
Member
sbillard   09-11-2007, 03:30
#6

Not really. If template-functions.php resides in the zenphoto/zp-core/ folder, it should get found.

What version were you running before the upgrade?

Member
Member
aitf311   09-11-2007, 03:32
#7

You sure you deleted your entire zen, now zp-core folder, and uploaded the entire new folder? I thought pear.php used to be in the zen folder, it is no longer used.

Developer
Developer
trisweb   09-11-2007, 03:54
#8

pear being in the include path is fine, that shouldn't affect it.

Are the permissions on the directory set such that the web server can read the files?

Also, can we have the URL of the installation so we can research better?

Member
Member
onyourplate   09-11-2007, 15:06
#9

I am not sure how to provide hte URL of the installation but here I will try: http://www.re-lee.com/wordpress/wp-admin/install.php

Please let me specifcally what you need to help me. Thanks!

Member
Member
onyourplate   09-11-2007, 22:46
#10

Is there anywhere to go from here?

Member
Member
aitf311   09-11-2007, 23:02
#11

You still havent answered a couple things.

Are the permissions on the directory set such that the web server can read the files?

What version were you running before the upgrade?

Member
Member
onyourplate   09-11-2007, 23:16
#12
  1. How can I check the permissions
  2. I do not know what version I was using previously.
Developer
Developer
trisweb   10-11-2007, 01:24
#13

Ah. Confusion. I see it.

You are supposed to install to /zenphoto, not /zenphoto/zp-directory

"[zp-directory]" in the installation literature refers to the [i]directory where you are installing zenphoto[/i], not to a directory named zp-directory.

Please copy the files such that the index.php file is in the root /zenphoto folder, and the zp-core folder, albums folder, themes folder, and cache folder are in the /zenphoto/ folder on your server. They should not be in any subdirectory.

Just to be [i]completely[/i] clear, this is how the file and folder structure should look:

/zenphoto
--> index.php
--> rss.php
--> [i](a few other .php files)[/i]
--> /albums/
--> /cache/
--> /zp-core/
||--> zp-config.php
||--> template-functions.php
\--> [i](A lot of other .php files)[/i]
--> /themes/

There may be more files and folders, that's just to give you an idea of how it should look.

Once you have it extracted correctly the error message should disappear, but come back if you have more problems. Good luck.

Member
Member
onyourplate   12-11-2007, 18:23
#14

Thank you so much. I did EXACTLY that. OK I started over and reinstalled the zenphoto directory and changed the zp-config.php file with my information and I have this error: MySQL Query ( SELECT name, value FROM options ) Failed. Error: Table 'zenp.options' doesn't exist

re-lee.com. Any thoughts? Thank you for bearing with me as I sort this out.

Member
Member
sbillard   12-11-2007, 19:50
#15

Please download and install version 1.1.2 as this fixes the problem you are having.

Developer
Developer
trisweb   13-11-2007, 02:13
#16

Yep, 1.1.2 should fix that.

We'll take a look at the install instructions and make them clearer so there's less confusion in the future. Sorry about that!

Member
Member
onyourplate   13-11-2007, 18:18
#17

Hi, I updated to 1.1.2 and I still see this error:
Zenphoto Error

MySQL Query ( SELECT name, value FROM options ) Failed. Error: Table 'zenp.options' doesn't exist

re-lee.com/zenphoto

Member
Member
sbillard   14-11-2007, 04:42
#18

Please try the nightly build to see if you still have this problem.

Developer
Developer
trisweb   14-11-2007, 09:47
#19

You have to run /zp-core/upgrade.php after you install 1.1.2 -- it will create the options table.

Member
Member
onyourplate   14-11-2007, 18:16
#20

Hi,
I get an error saying username, password are incorrect. http://www.re-lee.com/zenphoto/zp-core/upgrade.php#

I am using the username and password in my zp-config.php?
Thanks

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.