Moving the ZP installation directory

I have a NextGen album at arctickelpie.se (it's in Swedish) that I want to migrate to zenphoto.

Well migrate is not the correct word, but in lack of better... I will re-upload all photos (in a nice sorted fashion), so that is no worry.

But, there's always a but, I want to rename it when I'm done with the incorporation with WP - and that's the snag. I've made a test and ZP complains that it can't find the zp-config.php.

I've scoured the database for a setting regarding the uri of the install, but I can't find any.

How I want to do:
1. install, configure, sort and the lot to `/fotogalleri2`
2. remove NextGen
3. move ZP from `/fotogalleri2` to `/fotogalleri`

Comments

  • There is no particular problem with what you want to do. The only thing that is dependent on the folder zp is installed in is the .htaccess rewrite rules. The easiest way to deal with this is just run setup.php again once you have moved the folders.
  • I found the problem... silly, silly me... xcache...

    Remeber to clean the cache...
  • Is there an instruction somewhere on how to move an entire zen photo site to another server - with the same domain name and in the same folder
  • Run the backup utility to make a backup of your database. Then just copy all the folders of your current install to the new site. Run setup and pick restore from backup when it offers that choice.
  • Thanks but the database name will change - will there be a problem with that - and do i need to change any config files
  • i have moved the zp installation to a new new server - different domain name - different server (to test) - i just backed up everything and transfered it - changed the database info in zp-config.php and everything seems to be working perfectly - is that all that needs to be done or am i gonna run into trouble later
  • It should work. Maybe you should do a refresh database to be sure that there are no orphan records. There should not be, though.
Sign In or Register to comment.