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.
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...
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![]()
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.
-
All of what she said just above this post..
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.
Sometimes I get the impression that the word "backup" for some people means a lot of work... When it's actually quit easy if you just have to deal with some files. Just copy/rename them from eg. my_file.php to my_file_ORIGINAL.bak or something like that and leave it in the server/folder. Than you always have a backup and you always know where to find it. Works great for me.
And from what I have seen and understand, this is what the auto-installer is exactly doing the same when files get overwritten![]()
Precisely, the installer just does what a human being would do if they were doing the install.
-- it finds the current template and does that appropriate renaming
-- if it is going to overwrite a file then it creates a separate version of the overwritten file on the server with a different name.
-- it runs some sql statements that used to be run when you clicked 'install' ( it needs to do this without a 'install' button because of the changes in the structure of 1.5)
The uninstaller is a bit different in that reverting to versions of core files is hard to manage when subsequent changes have been made. There is some discussion about how best to do this. Until Zen has a proper plugin architecture then this is going to be an issue. I am not speaking out of turn here because I know that the developers, more than anyone, know that this is needed and are working on it.
In most cases the uninstaller will work just fine. In cases where there have been other changes to those three core files then some thought may be necessary. In this case we are effectively talking about lightbox mods that interact with IH so have basically created a 'joint' package with IH. Removing a section of that 'joint' package is always going to be a bit interesting. Kind of like making a chocolate chip cookie and then taking the chips out without messing with the rest of the cookie.
Nick
iszent.com
Hi Guys,
I get this in the message stack....I think I followed the instructions but I can't find reference to these errors in the readme. I think I need to manually do stuff that the auto installer missed???Code:Image Handler files all exist in correct positions in the directory structure. CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/modules/category_product_listing.php was NOT overwritten. CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image/header_php.php was NOT overwritten. CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.php was NOT overwritten. TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/strong/additional_images.phpwas NOT created. TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/strong/main_product_image.phpwas NOT created. TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/strong/css/style_imagehover.csswas NOT created. TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/strong/jscript/jscript_imagehover.jswas NOT created. TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/strong/popup_image_additional/tpl_main_page.phpwas NOT created. The auto-loader YOURADMIN/includes/auto_loaders/config.image_handler.php has not been deleted. For Image Handler to work you must delete this file manually. Image Handler has been successfully installed
@gruntree
Yes, in principle. I would really like to see the site if that is possible. Can you message me with the URL?
And I'll talk you through how to get this to work.
Nick
iszent.com
I've just tried to do an uninstall and get the following. But I'll PM you the site details.
I tried unistalling and I get more message stack errors.
Makes me think there is some permission or cofig problem because the installer doesn't appear to be working...
I'm working on a test version of this site which is pretty much a newly launched 1.5 installCode:ROLLBACK : /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/modules/category_product_listing.php was NOT rolled back. ROLLBACK : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image/header_php.php was NOT rolled back. ROLLBACK : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.php was NOT rolled back. not deleted - /hsphere/local/home/wctest/test-waycool.com.au/bmz_cache/.htaccess not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/classes/bmz_gif_info.class.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/classes/bmz_image_handler.class.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/extra_configures/bmz_image_handler_conf.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/extra_configures/bmz_io_conf.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/functions/extra_functions/functions_bmz_image_handler.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/functions/extra_functions/functions_bmz_io.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/image_handler.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/ih_manager.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/init_includes/init_image_handler.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/checkpattern.gif not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/icon_image_handler.gif not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/ih-test.gif not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/ih-test.jpg not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/ih-test.png not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/extra_configures/bmz_image_handler_conf.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/extra_configures/bmz_io_conf.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/extra_datafiles/image_handler.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/functions/extra_functions/functions_bmz_image_handler.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/functions/extra_functions/functions_bmz_io.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/languages/english/extra_definitions/bmz_image_handler.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/languages/english/extra_definitions/bmz_language_admin.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/modules/category_product_listing.DEFAULT.php.bak not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image/header_php.DEFAULT.php.bak not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.DEFAULT.php.bak not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/IH_INSTALL/additional_images.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/IH_INSTALL/main_product_image.php not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/css/style_imagehover.css not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/css/style_imagehover.css not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/jscript/jscript_imagehover.js not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/jscript/jscript_imagehover.js not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/popup_image_additional/tpl_main_page.php Image Handler has been uninstalled. Image Handler creates back up versions of certain files when it is installed before overwriting them. These files have been left in position for reference. They may be deleted but will not effect the functioning of the shop if you leave them in place.
I have emailed you. Once we sort this out then I'll post again with a solution.
Nick
iszent.com
Bookmarks