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
\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.
Comments
Internal Server Error
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] /Www/root/www.forgot.co.uk/htdocs/.htaccess: RewriteBase: argument is not a valid URL
Thanks for any assistance!
I manually changed .htaccess to read
RewriteBase /
There was a load of ### after it.
Right, onto the next issue
.htaccess RewriteBase is \ (fixed)
except that's not fixing it as I need /. So I commented out that chunk of setup.php
Then when trying to do the robots file I get:
Fatal error: Call to undefined function: file_put_contents() in \Www\root\www.forgot.co.uk\htdocs\zp-core\setup.php on line 1097
So I've manually created robots.txt and that's gone away.
Apologies for the blogging! Hope this last post is of some use to diagnose the problems in setup.php. If I can help debug please let me know.
Thanks!
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.
My site still doesn't work fully if I turn mod_rewrite on, but that doesn't bother me.
Many thanks.
<URLs removed by moderator>