When I go to restore the database it appears to be doing something for a second then just displays a blank page with the below link:
/zp-core/utilities/backup_restore.php?XSRFToken=7c52003a52f8cb6375a624a1bdad5f31307455df&backupfile=backup-2013_12_07-16_57_12&restore=true
I can backup the database just fine - but even that backup won't restore.
Current install is 1.4.3.4 (same as backup file) but I also tried with 1.4.5.7 and I was experiencing the same exact thing...
Would like to get back up and running with 1.4.3.4 then I can upgrade...
Any advice?
Comments
Possible causes:
A server timeout (Zenphoto tries to extend the script execution time, but some hosts do not allow this.)
A file/folder permissions issue (not likely if the backup did work, but you never know with some server configurations.)
A problem with the database.
But without the specific error message we are just guessing.
{Thu, 12 Dec 2013 21:12:51 GMT} Zenphoto v1.4.3.4[10988]
Backtrace: USER ERROR: MySql Error: ( SHOW FULL COLUMNS FROM `[prefix]admintoobject` ) failed. MySql returned the error Table 'leadgtr_com._admintoobject' doesn't exist in /hermes/bosoraweb052/b2875/ipg.mikemartinellicom/LeadGTR/zp-core/functions-db-MySQL.php on line 59
trigger_error called
from query (functions-db-MySQL.php [59])
from db_show (functions-db-MySQL.php [267])
from db_list_fields (functions-db-MySQL.php [278])
from backup_restore.php [263]
Thanks
`1.4.5.7 Support builds (GitHub)`
https://github.com/zenphoto/zenphoto/archive/master.zip
Also, is there a support build for 1.4.3.4? I wanted to get going completely with that before I upgrade to the latest.
Thanks
There's no "support build" for 1.4.3.4 but you can download 1.4.3.5 from here:
http://www.zenphoto.org/news/older-versions-archive
Can anyone advise on the actual file that's bad so I can just replace it?
It is really recommended to frequently update your installs. That's called maintainance. That is nothing ZP specific but for all CMS. The longer you wait the more likely you may run into issues. I know this is not popular with some clients a la "It all works so why?".
Once for all: You should and can NEVER replace just one file! Always upgrade the full release because there are most likely dependencies with other changes in other places.
I just upgraded a site straight from 1.3 to 1.4.5.7. The only real issue was a specific jQuery script I gladly found a newer compatible version. All else were some minor theme changes with deprecated functions mainly the theme filters. Gladly the custom theme was a rather uncomplicated one with nearly no plugin use though.