Previously, my zp install was at
http://www.example.com/gallery
Now I would like to have it at
I was hoping it was as simple as doing a "cp -Rp" of everything in /gallery to the root of my new domain but...I consistently get:
"setup scripts missing"
I tried editing .htaccess to change RewriteBase (it was /gallery, changed it to /), also tried explicitly setting WEBPATH and SERVERPATH in zp-data/zp-config.php, but that did not fix it.
index.php gets as far as checkInstall() but dies in that function.
Just curious what else I should look at.
There is some other step that must be required, because simply rerunning setup left me without CSS, no photos, etc.
What I did:
cp -R everything from www.example.com/gallery to the root of gallery.example.com
reuploaded zp-core/setup* (including the setup subdir)
pointed my browser at gallery.example.com, ran through setup (which referred to itself as "upgrade"). Yes, I did copy the setup for the same version of zp.
viewed my gallery and it was broken images and missing CSS
I don't want to just reinstall and start from scratch, as I'd lose all the metadata and descriptions :-(
I'm quite surprised this is such a major change, since it's just a directory change on the web server from php's point of view.
Any suggestions?
My guess, it is about wrong permissions, setup should warn/tell about (but note that strict+ does not work on many hosts).
If you don't overwrite the /albums folder and use the same db config you don't loose any data. See the installation instructions on the user guide.