I am not good with any kind of programming, so this may be difficult for me, but I am going to give it a shot.
I created a MYSQL database in the same name, zenphoto. I also created a another directory called zenphoto which I uploaded all the zenphoto software to.
When I navigate to the page, this is what comes up.
Warning: require_once(/home/mysite/www/www/zenphoto/zp-core/folder-definitions.php) [function.require-once]: failed to open stream: Not a directory in /home/mysite/www/www/zenphoto/index.php on line 5
Fatal error: require_once() [function.require]: Failed opening required '/home/mysite/www/www/zenphoto/zp-core/folder-definitions.php' (include_path='.:/usr/local/php5/lib/php') in /home/mysite/www/www/zenphoto/index.php on line 5
I am certain I didn't do something right. Is there a step by step howto somewhere out there that perhaps someone created for those of us who don't know anything about setting this stuff up?
Comments
If so, you need to uncompress the archive file and upload the resultant file to your site.
and got the message above.
and I just typed in http://www.mysite.com/zenphoto.htm and now I am getting a 404 which is odd as I created the zenphoto directory and put all the zenphoto software there...
I cannot find the specific file you mention, all I did from winzip was copy the files directly to the zenphoto directory. I think it extracted them automatically. But I am noticicing that for files like album, it is not a directory when I view it in ftp...
is there a step by step "how to guide" available? Really for me this is not easy to figure out...
BTW `http://www.mysite.com/zenphoto.htm` would most likely give a 404 error even in a correct install. There is no such file. Zenphoto is a PHP based software. The root file will be `index.htm`.
There is no how to guide?
It's of course `index.php`
If you want us to help you need to tell what error messages. If you mean the warnings on setup, those are explained and related to your server configuration. Either search the net about that, our forum or contact your host.
Regarding guide, you surely did read this (not that hard to find, isn't it?): http://www.zenphoto.org/2008/08/installation-and-upgrading/
You should consider disabling magic_quotes_gpc. For more information See What is magic_quotes_gpc and why should it be disabled? in the Zenphoto troubleshooting guide.
Warning!
Setting mbstring.internal_encoding to UTF-8 in your php.ini file is recommended to insure accented and multi-byte characters function properly.
Warning!
If file and folder permissions are not set to strict or tighter there could be a security risk. However, on some servers Zenphoto does not function correctly with tight file/folder permissions. If Zenphoto has permission errors, run setup again and select a more relaxed permission.
Change file/folder permissions mask: strict+ (0750) strict (0755) relaxed (0775) loose (0777)
There is nothing in my MYSQL about this issue above.
MySQL setup in zp-config.php
Error!
Access denied for user: 'mysiteuser@localhost' (Using password: NO)
I set a password, but perhaps not in the right place?
Re: magic_quotes: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#26
Re: mbstring: It is explained what that is. If you don't need that ignore it. Otherwise contact your host.
Re: permissions: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#29
MySQL has nothing to do with those errors...
Re: MySQL: When setup did ask you you probably did not enter the right values. Contact your host for the correct ones.
There is no file "folder-definitions.php" in /zp-core/ and there isn't even in orginal zipped file I have downloaded.
Thanks for your answear.
require_once (dirname (__FILE__). '/ zp-core/folder-definitions.php');
I tried to replace with global-definitions.php but does not work.
Error is:
"Remember to copy json.php from the plugin folder to your Zenphoto installation's root folder
If you are sure that this file is where it should be, your webserver might forbid fopen() to remote files"
But the file json.php is there and fopen() is on.
Note that the latest version of Zenphoto Gallery is not compatible with Zenphoto 1.4.x.
I think it's best if you try to contact the author via the WordPress forum as it seems he is not a very regular visitor here.