I'm trying to work through this install, but I think I need to ask for help. Here is my code (and below that is what I have tried or thought!)
----------
Systems Check:
Installing Zenphoto v1.4.2.3
PHP version 5.2.17
Warning!
Version 5.0.0 or greater is required. Version 5.3 or greater is strongly recommended. Use earlier versions at your own risk.
Warning: fopen(/var/www/vhosts/site.com/httpdocs/zenphoto/zp-data/setup.log) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/site.com/httpdocs/zenphoto/zp-core/setup/setup-functions.php on line 353
Warning: fileperms() [function.fileperms]: stat failed for /var/www/vhosts/site.com/httpdocs/zenphoto/zp-data/setup.log in /var/www/vhosts/site.com/httpdocs/zenphoto/zp-core/setup.php on line 467
Log security
PHP Register Globals
PHP Safe Mode
PHP magic_quotes_gpc
PHP magic_quotes_runtime
PHP magic_quotes_sybase
PHP gettext() support
PHP mbstring package
zenphoto.cfg file [does not exist]
Error!
Setup was not able to create this file. You will need to edit the zenphoto.cfg file as indicated in the file's comments and copy it to zp-data folder. Place the file in the zp-data folder.
You can find the file in the "zp-core" directory.
Warning: fopen(/var/www/vhosts/site.com/httpdocs/zenphoto/zp-data/setup.log) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/site.com/httpdocs/zenphoto/zp-core/setup/setup-functions.php on line 353
PHP MySQL support for configured Database
PHP PDO_MySQL support
Fatal error: Call to undefined function db_connect() in /var/www/vhosts/site.com/httpdocs/zenphoto/zp-core/setup.php on line 830
----------
I've checked file permissions. All folders are 755 & files are 644 as indicated.
I've looked at zenphoto.cfg - but I don't have a zp-core directory (setup creates that, and I guess mine didn't get that far?)
I see the big PHP warning - I need to check to see if I'm allowed to update that or not (it's running 5.2.17) - is that likely my core issue, or am I having other problems?
TIA!
Comments
The problem you are seeing is that the Zenphoto scripts are not being allowed to make/update files on the server. The permissions you have set are the ones that "should" work. Unfortunately, some servers are just not configured correctly. You may have to go with less restrictive permissions in order for Zenphoto to be able to write to files and folders. Try first with just the zp-data folder. Set its permissions to 0777. If that works you are home free. If not you may have to set the permissions in setup to loose.
Alright, so I totally misspoke (even with the topic name - sorry)... I'm missing zp-data, NOT zp-core. And I think I read that zp-data gets created via the setup process? (or can I manually create & set permissions for that?) I did give the directory of zp-core permissions of 777 to see if that fixed anything (it didn't).
Any other tips?
`zp-data` is indeed created by setup. But obviously it was not successful in doing so. That is the crux of the problem.
Now on to configuring it!
Thanks again.
With those permissions, anyone with access to the server can hack you.