Page 1 of 2 12 LastLast
Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by weber View Post
    well. i find the problem. the "images" menu not the same in spainish.
    I asume this is a language related problem...

    Quote Originally Posted by weber View Post
    the way that ih4 install, well once i had installed ih4. then i re-install the zen cart, the ih4 install will never start....
    So you managed to install IH4 succesfully? Or not?

    From what I understand you did install IH4, and then re-installed Zen-Cart? Why? If you reinstall ZC you should also re-install modules... I think you need to explain more or give more details.

  2. #2
    Join Date
    Nov 2005
    Posts
    157
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by Gerjan View Post
    I asume this is a language related problem...


    So you managed to install IH4 succesfully? Or not?

    From what I understand you did install IH4, and then re-installed Zen-Cart? Why? If you reinstall ZC you should also re-install modules... I think you need to explain more or give more details.
    YES. the ih installer locate the images menu, change to your languages. or like me, just set the groud id=4. or if you don't want to modify the ih4 files. just change the spainish.php, set the menu title to "images", after IH4 install, change it back.

    One bug: once i install IH4 and then re-install the zen cart, the installer will never activate....i had to re-upload ih4 even they are right there. any way to let the install re-install?

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by weber View Post
    One bug: once i install IH4 and then re-install the zen cart, the installer will never activate....i had to re-upload ih4 even they are right there. any way to let the install re-install?
    NOT a bug at all.. this is by design.. If you want to re-install IH4 you need to reload the whole kit and caboodle.. IH4's install does some cleanup after the install.. I'm not gonna "fix" this because it's not broken..
    Last edited by DivaVocals; 11 Apr 2012 at 03:46 AM.
    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.

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Image Handler 4 Support Thread

    @weber
    Nice one. Yes that is a good work around. The IH code will be updated next time round I am sure. For the time being people installing in a language other than english can make a small alteration to the file includes/init_includes/init_image_handler.php. Find where it says:

    Code:
        /* Find Config ID of Images */
        $sql = "SELECT configuration_group_id FROM ".TABLE_CONFIGURATION_GROUP." WHERE configuration_group_title='".BOX_CONFIGURATION_IMAGES."' LIMIT 1";
        $result = $db->Execute($sql);
            $im_configuration_id = $result->fields['configuration_group_id'];
    and change this to:

    Code:
           /* Find Config ID of Images */
        $sql = "SELECT configuration_group_id FROM ".TABLE_CONFIGURATION_GROUP." WHERE configuration_group_title='Images' LIMIT 1";
        $result = $db->Execute($sql);
            $im_configuration_id = $result->fields['configuration_group_id'];
    	if($im_configuration_id == '') $im_configuration_id = 4;
    This is an error in the code.

    For those of you who are going to ask 'why not just set it to 4 in the first place?' the aim was to cover the rare occurence that someone had changed the configuration id of images. It was meant well but was an error.

    Finally, if you find yourself in a position where you cannot get into admin because this error is always stopping you then you need to delete a single file which is includes/auto_loaders/config.image_handler.php . That will stop the installer trying to run every time and allow you to make the changes detailed above and solve the problem.

    Finally, finally, for those who are saying that the auto-installer is a bad idea the thought is that it just does exactly what you would do if you installed manually. It doesn't do anything new or different. It finds the active template and installs into that. In the same way as one would do by manually. The only difference between this installer and installing manually is that it always creates back-ups of overwriten files. Which has been a source of many many problems on the support threads.

  5. #5
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Image Handler 4 Support Thread

    @weber
    Sorry, to disagree with Diva just a little bit, but you can get the installer to run again just by re-uploading the includes/auto_loaders/config.image_handler.php file.

    This file is deleted after a successful install. Which stops the installer running again and again and again. It is this file that triggers the installation process. (Which is why if you get into problems with the installer it is the one to delete to stop the process)

    If you re-upload it and all the other files are in the right place then the installer will run again. It will overwrite the core files again and create new back-ups.

    BUT

    what Diva says is still the best way of proceeding. Upload the whole thing again and off you go.
    Last edited by niccol; 11 Apr 2012 at 07:19 PM.

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 4 Support Thread

    Actually niccol just re-uploading the includes/auto_loaders/config.image_handler.php file alone doesn't work.. The install fails at the point where the install function attempts to create the backup files.. (hence the reason for my advice to weber)

    The errors seem to indicate that the install function can't find some of the files needed during the install. I assume this is because of the cleanup that happens during the initial auto-install..
    Quote Originally Posted by niccol View Post
    @weber
    Sorry, to disagree with Diva just a little bit, but you can get the installer to run again just by re-uploading the includes/auto_loaders/config.image_handler.php file.

    This file is deleted after a successful install. Which stops the installer running again and again and again. It is this file that triggers the installation process. (Which is why if you get into problems with the installer it is the one to delete to stop the process)

    If you re-upload it and all the other files are in the right place then the installer will run again. It will overwrite the core files again and create new back-ups.

    BUT

    what Diva says is still the best way of proceeding. Upload the whole thing again and off you go.
    Last edited by DivaVocals; 11 Apr 2012 at 07:43 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.

  7. #7
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Image Handler 4 Support Thread

    I'll check that.

  8. #8
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    how long to the image files stay in cache?? a review of my site told us that we should specify an expiration of the files in the bmz_cache directory. i see where i can manually clear the cache in admin but it there a place to specify how long i want to keep them?

  9. #9
    Join Date
    Apr 2014
    Location
    los angeles, ca
    Posts
    6
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Image Handler 4 on v1.5.0
    On the main product page, the additional image is on the top, then on the next row, the main product image and descripition are followed.
    It is supposed to be the other way around.
    And it is happeneing with Chrome only.
    Any advice will be greatly appreciated.

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 4 Support Thread

    IH4 does not modify the appearance of the product info page.. This is template/layout issue not an IH4 issue..

    Quote Originally Posted by johnnystone View Post
    Image Handler 4 on v1.5.0
    On the main product page, the additional image is on the top, then on the next row, the main product image and descripition are followed.
    It is supposed to be the other way around.
    And it is happeneing with Chrome only.
    Any advice will be greatly appreciated.
    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v158 Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 749
    Last Post: 20 May 2026, 03:47 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 176
    Last Post: 14 Dec 2025, 12:55 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg