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 \inetpub\re-lee\zenphoto\index.php on line 3
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.
You are supposed to install to /zenphoto, not `/zenphoto/zp-directory`
"[zp-directory]" in the installation literature refers to the directory where you are installing zenphoto, 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 completely clear, this is how the file and folder structure should look:
/zenphoto --> index.php --> rss.php --> (a few other .php files) --> /albums/ --> /cache/ --> /zp-core/ ||--> zp-config.php ||--> template-functions.php \\--> (A lot of other .php files) --> /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.
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.
There are two different user/password sets in the zp-config file. Be sure you are not using the mySQL ones. If this does not work, you can update to the nightly build. If you have entered an email address, there will be a link on the logon screen that will email you your user/password.
Onyourplate - you have to use a blank username and password to start. Sorry this is very confusing and not documented anywhere, but that's what's needed for the setup.
Since it's a blank password, I've gone ahead and done the setup for you, and everything seems to be working now. Be sure to change your password in the admin options page.
[Stephen, this is a point of confusion - the default username and password are blank, before the options db is set up. Setup should create the tables without a login, and then guide the user through setting an admin login. Following that, setup and upgrade *should* ask for a username and password for security.]
Rename your folder to ryans_birthday, ie: take out the apostrophe. You can go into the admin and name the album "Ryan's Birthday" but the folder itself cannot have the apostrophe.
onyourplate: you got aitf311 wrong. You can have an album title called "Ryan's Birthday" but you have to delete the ' in the folder name. If you change the name it the admin the folder is not changed. You have to do that manually.
Trisweb: I tested it with a big german host that is really different with such things (doesn't allow mod_rewrite even in bigger webspace packets!). While the host accepts filenames with an "'", he doesn't accept folders with (just like he doesn't accept special characters like "öäü" in file- and foldernames). I learnt a few days ago here on the forum that it's possible to use special characters, but that's apparently not the standard server setup of most hosts. I always tell people not to use any special characters in filenames ever.
Comments
Never mind, I looked more closely at your post.
What version were you running before the upgrade?
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?
Please let me specifcally what you need to help me. Thanks!
Are the permissions on the directory set such that the web server can read the files?
What version were you running before the upgrade?
2. I do not know what version I was using previously.
You are supposed to install to /zenphoto, not `/zenphoto/zp-directory`
"[zp-directory]" in the installation literature refers to the directory where you are installing zenphoto, 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 completely clear, this is how the file and folder structure should look:
/zenphoto
--> index.php
--> rss.php
--> (a few other .php files)
--> /albums/
--> /cache/
--> /zp-core/
||--> zp-config.php
||--> template-functions.php
\\--> (A lot of other .php files)
--> /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.
re-lee.com. Any thoughts? Thank you for bearing with me as I sort this out.
We'll take a look at the install instructions and make them clearer so there's less confusion in the future. Sorry about that!
Zenphoto Error
MySQL Query ( SELECT `name`, `value` FROM `options` ) Failed. Error: Table 'zenp.options' doesn't exist
re-lee.com/zenphoto
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
Since it's a blank password, I've gone ahead and done the setup for you, and everything seems to be working now. Be sure to change your password in the admin options page.
[Stephen, this is a point of confusion - the default username and password are blank, before the options db is set up. Setup should create the tables without a login, and then guide the user through setting an admin login. Following that, setup and upgrade *should* ask for a username and password for security.]
http://www.re-lee.com/zenphoto/index.php?album=Ryan's+Birthd
Error: Zenphoto Error: the requested object was not found. Please go back and try again.
Still see error after making change:
http://www.re-lee.com/zenphoto/zp-core/admin.php?page=edit&album=Ryan's Birthday&saved
Update: Tested the apostrophe and it does work..... strange.
Update: It's without mod_rewrite on. It does break.
I learnt a few days ago here on the forum that it's possible to use special characters, but that's apparently not the standard server setup of most hosts. I always tell people not to use any special characters in filenames ever.