Hi,
I'm using a very old version of ZenPhoto, version 1.2.1. I want to upgrade to the latest version. I am fine with going version by version but PHP has not been playing nice with me. That said, I decided to install a separate ZenPhoto, version 1.4.7. All I actually need are my album names, since I have many thousands. I don't care about tags, or anything like that. Is there anyway to import just zp_albums from the 1.2.1 database into the new 1.4.7 database without causing errors? Then I can just move the album folders over to the new install.
Thank you.
Comments
Since Zenphoto's albums are file system based, you can always just move the `albums` folder as long as you don't care about database info you may have entered later on.
If you do, you will also need to import the `images` table with the `albums` table. But this kind of separate update has not been tested since the database table saw changes over the years, too.
Btw, here you have a good reason why frequent updates are a good idea ;-)
If you have a simple gallery Zenphoto site without any specific extras used you could still try a direct update. Running setup is required in any case and that will update the tables to the current version, no matter if you imported them or just used the existing one. Which is basically the part that has not been tested specifially.
That did work for me on the sites I tried but it may also fail. But having a database backup in case it fails is of course mandatory if you need to re-setup the old site.
I'll try this albums and images import now and report my results.
Looking forward to your results and hope it works out.
So I imported the two tables (I had to add drop statements in the custom settings, phpMyAdmin was giving me errors on the upload otherwise), and copied over a single folder (with a sub-folder, and a set of five images in that sub-folder) from the albums folder into my new version test install. While the album names and description and such seem to be in tact, I get this error:
http://i.imgur.com/8fYz1JR.jpg
Not sure what to do from here. =/
If we're not able to resolve this, can I enlist you for some paid support, Acrylian?
Edit: Tried changing the name. The errors are gone, but all the images are broken.
Anyway, after importing you should in any case run the setup script. That also should update the old tables.
Now to begin reworking my theme. *wahh*