Am trying to setup ZenPhoto on a new server. I've backed up and restored my database (from old server to new server). But files etc. is all new, straight out of the ZIP file for 1.2.6 RC2.
I've not installed into a sub-folder as I intend to use ZenPhoto/ZenPage for the whole website.
Setup is giving me this error:
Fatal error: Call to undefined function: file_put_contents() in D:\Www\root\www.forgot.co.uk\htdocs\zp-core\setup.php on line 1097
There are a few warnings from setup.php and I'm trying to fix the ones I can.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, rafe@forgot.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
With this in the error log:
[Thu Aug 06 20:09:00 2009] [alert] [client 82.69.63.243] D:/Www/root/www.forgot.co.uk/htdocs/.htaccess: RewriteBase: argument is not a valid URL
The `file_put_contents()` problem is because you are running PHP4 and we missed that this was a PHP5 function. That is corrected in the nightly build.
The wrong directional slash is more interesting. That is actually got from the script name as reported by the $_SERVER variable. So somehow your configuraton must be reporting files with `\` as separators even though it requires '/' as the separator.