ZenphotoCMS Forum
help! zenphoto database can not be restored - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: help! zenphoto database can not be restored (/thread-8928.html)



help! zenphoto database can not be restored - dierziran - 2011-07-30

備份與還原資料庫
還原時發生異常

下列資料表已經不存在了,因此無法還原:

* zenpage_news
* zenpage_news2cat

下列欄位已經不存在了,因此無法還原:

* images->EXIFFocalLength35mm

資料庫系統 MySql
資料庫名稱 C338178zenphpto
資料表前綴 zp

備份資料庫 Compression level

請選擇資料庫還原檔:




help! zenphoto database can not be restored - acrylian - 2011-07-30

So and what does the Chinese(?) mean? What about more basic info?




help! zenphoto database can not be restored - dierziran - 2011-07-30

I am sorry

"
Backup and Restore your Database
Restore encountered exceptions

The following tables were not restored because the table no longer exists:

* zenpage_news
* zenpage_news2cat

The following fields were not restored because the field no longer exists:

* images->EXIFFocalLength35mm

Database software MySql
Database name C338178zenphpto
Tables prefix zp
"

I thought it was a very simple question.
Can be set for each album ended up configuration files?
Stored in the appropriate folder?
This transfer would be more convenient. And can operate through a configuration file.




help! zenphoto database can not be restored - acrylian - 2011-07-30

You apparently tried to restore the database of an older Zenphoto version to a newer one (you did not provide that basic info...). That is not recommend as things change as you just experienced.

  • zenpage_news
  • zenpage_news2cat

Those still exist but lost the "zenpage_" part of their some time ago (might have been 1.3.x already) . About the exif one I can't answer. But there is not much we can do.

Recommended read for upgrades or server moves:
http://www.zenphoto.org/news/troubleshooting-guide#troubleshooting-installation
http://www.zenphoto.org/news/installation-and-upgrading#2




help! zenphoto database can not be restored - dierziran - 2011-07-31

I try 1.3.x but

The following fields were not restored because the field no longer exists:

  • images->EXIFFocalLength35mm

I want ad EXIFFocalLength35mm in phpadmin ,Can you tell me how to do it?

in zdb like this :
....."EXIFFocalLength35mm";N;s:19:"EXIFISOSpeedRatings"....




help! zenphoto database can not be restored - acrylian - 2011-07-31

If you have a database backup from an older version you need to install that version to restore to be sure it works. Then you can upgrade that installation.

Since this is EXIF info you can let Zenphote refetch the info by refreshing the meta.

How to add fields to a database please see the MySQL and phpmyadmin documentions.