My ZenPhoto installation is *seriously* corrupted (files in the wrong places, 404s and 500s, etc) and I need to uninstall and start over. However, I don't have copies of my photos anywhere else, and I have too many to upload and sort again anyway. Is there a way to save my photos/albums/photo names/etc and use it in a new installation on the same server? I'm going to uninstall ZP and all ZP files, then reinstall.
What do I need to do to save this (download SQL databases, folders, etc)? I have both FTP and SSH access to this HostGator server.
Thanks!
Comments
Make careful note of all the MySQL details from your configuration file--these are how you connect back to the database without loosing any data. You will provide this information to the setup program when you re-install Zenphoto.
If anything in your file or WEB structure is changing your best bet is to create a Zenphoto backup of your site database via the backup/restore utility. Use FTP to download that and the content of your albums folder. You will still need the above MySQL information for later application. But note that the setting for `mysql_host` may need to be changed if the server configuration is different from the old install location. Ask your host provider.
Install Zenphoto in the new location then FTP your saved albums content back to the albums folder and your saved backup to the backup folder. Run the restore function on the saved backup.
Please note that we recommend that you use the same version of Zenphoto for the re-install as you had when you made the backup. If you intend to upgrade, do that as a later step.
Zenphoto will sync the database with the filesystem. You can request that by using the "refresh database" button on the admin overview.
The database has nothing to do with your file/folder permission issues.
I have already tried refreshing the database. I'll try zipping up each album's images and moving them somewhere else, and then FTPing them back.
Here goes.
`[Sat Aug 03 16:30:03 2013] [error] [client ***.***.***.***] (13)Permission denied: file permissions deny server access: /home3/klikini/public_html/cache/around-the-house/pianohammers_100_cw100_ch100_thumb.png, referer: http://www.snaperturephotos.com/index.php?album=around-the-house/`
Also, my albums keep going away! I check the permissions and nobody has read access. What's up with this?
The pictures don't show up. Clicking on the individual image page doesn't work, either.
Gallery (Broken) http://www.snaperturephotos.com/
Album (Broken) http://www.snaperturephotos.com/index.php?album=around-the-house/
Image (Broken) http://www.snaperturephotos.com/index.php?album=around-the-house&image=12ball.jpg
Unrelated but true: I used to be able to use jQuery upload with PHP 5.2.17, but now I can't because it requires a newer PHP version. What changed, and can I get the old version?
You should not mix issues within one topic (same for tickets on the issue tracker). I was not aware that the php requirements changes. But if you have permission issues you likely cannot use the upload as well.
You can try to use the old version from an older Zenphoto. But that is not tested and can cause other issues.
Now to get it fixed.