@stuff4toys
that's what we like to hear :-)
@diva
Ha ha! you are right. The template files get cleaned up. One 'dumbass idiot point' for me.
So, the way to re-install is definitely to re-install the whole thing!
@stuff4toys
that's what we like to hear :-)
@diva
Ha ha! you are right. The template files get cleaned up. One 'dumbass idiot point' for me.
So, the way to re-install is definitely to re-install the whole thing!
Nick
iszent.com
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I only use IH for resizing and watermarks and upgraded to 1.5 without bothering to implement the admin side. Works fine.
So, if there is no admin page (which contains the IH3 install/uninstall control) how do you uninstall IH3 prior to IH4.?
Answer: with this script, pasted and run in Admin->Install SQL Patches:
Maybe this should be in the readme too!Code:DELETE FROM configuration WHERE configuration_key = 'LARGE_IMAGE_MAX_WIDTH' OR configuration_key = 'LARGE_IMAGE_MAX_HEIGHT' OR configuration_key = 'SMALL_IMAGE_FILETYPE' OR configuration_key = 'SMALL_IMAGE_BACKGROUND' OR configuration_key = 'WATERMARK_SMALL_IMAGES' OR configuration_key = 'ZOOM_SMALL_IMAGES' OR configuration_key = 'ZOOM_IMAGE_SIZE' OR configuration_key = 'SMALL_IMAGE_HOTZONE' OR configuration_key = 'SMALL_IMAGE_QUALITY' OR configuration_key = 'MEDIUM_IMAGE_FILETYPE' OR configuration_key = 'MEDIUM_IMAGE_BACKGROUND' OR configuration_key = 'WATERMARK_MEDIUM_IMAGES' OR configuration_key = 'ZOOM_MEDIUM_IMAGES' OR configuration_key = 'MEDIUM_IMAGE_HOTZONE' OR configuration_key = 'MEDIUM_IMAGE_QUALITY' OR configuration_key = 'LARGE_IMAGE_FILETYPE' OR configuration_key = 'LARGE_IMAGE_BACKGROUND' OR configuration_key = 'WATERMARK_LARGE_IMAGES' OR configuration_key = 'LARGE_IMAGE_QUALITY' OR configuration_key = 'WATERMARK_GRAVITY' OR configuration_key = 'ZOOM_GRAVITY' OR configuration_key = 'IH_RESIZE' OR configuration_key = 'SHOW_UPLOADED_IMAGES';
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Actually if you look at the my post just above to niccol, the auto-install is supposed to take care of this (removing old deprecated IH image settings and properly registering the IH4 menu).. The part of the aut-installer which removes the deprecated image settings is not working right now when you are installing over a previous version of Image Handler and niccol has generously offered to take a looksee to see why that might be.. The auto-installer does install the IH4 menu just fine when you are installing over a previous version of Image Handler.
For now I'd rather leave this tip in the support thread until we can get the auto-installer working. In the meantime if it becomes an issue for folks I can refer them to your thread..
Last edited by DivaVocals; 11 Apr 2012 at 11:03 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
The instructions saythe auto-install is supposed to take care of this (removing old deprecated IH image settings and properly registering the IH4 menu)
I found no mention that the IH4 installer cleans up old db entries.You MUST do a complete uninstall of the hacked up version of Image Handler3
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Just to clarify/please confirm:
1) the install process copies the mod files into the site, overwriting the original files and making no backups.
2) the uninstall process copies vanilla 1.5 files into the site.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
1. False
2. False
The IH4 auto-install process installs IH4 mod files to the cart. Some of those mod files overwrite core files. The auto installer automatically makes backups of those files, which it restores during uninstall.
Regarding Installation - As stated clearly in the readme install instructions...if you or another mod has made any changes to those files (and it lists what those files are), then you must merge those changes into their IH4 counterparts prior to uploading/installing IH4.
In other words, when you install, the auto-installer makes backups of the exact file you have in place at the time of the install, but will not incorporate any changes you've made into it's new IH version. You have to do that manually just as you've always had to do.
Regarding Uninstall - As stated clearly in the readme uninstall instructions...if you or another mod has made any changes to those files since the time that IH4 was installed, then you'll need to make a copy of those changes and put them back in to the file(s) after uninstall.
In other words, the uninstaller will restore the original file you had in place at the time of install. This would only be a vanilla file if the file was vanilla to begin with at the time of install. Further, if you've made changes since, you will need to manually add those changes back into the file after uninstall just as you've always had to.
For example, if you're using both IH4 and Zen Lightbox, you would need to reinstall the Zen Lightbox version of the file these two mods share after uninstalling IH4. (This is also in the readme).
The only thing that has changed with the auto-installer is that the install/uninstall process is done for you (i.e. file are overwritten and the SQL is automatically installed). Everything you used to do manually (file merges and actual uploading) you still will have to do for yourself.
The same rules apply here as have always applied - always make backups of files that you change.
-
The first quote from Diva refers to situations where folks install IH4 into a zc150 store that contains remnants of really old (thus the reference to "deprecated") versions of IH. Sometimes when folks upgrade from an earlier version of ZC, they forget to uninstall their outdated mods first, or do partial uninstalls and miss some of the files, and that is what she was referring to there.The instructions saythe auto-install is supposed to take care of this (removing old deprecated IH image settings and properly registering the IH4 menu)
I found no mention that the IH4 installer cleans up old db entries.You MUST do a complete uninstall of the hacked up version of Image Handler3
The second quote, from the IH4 instructions, refers to a hacked up and totally unsupported version of IH3 (vs. deprecated code from fully supported previous versions of IH).
This instruction was included in the readme so that folks who chose to randomly edit IH3 to make it work with ZC150 without regard to full functionality and/or security would be able to upgrade to IH4 without issue.
Hope that clears it up for you![]()