If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Started by lat9 on 15 Oct 2017, 3:54 PM · Views: 160,515

Results 721 to 740 of 774
25 Aug 2025, 2:44 PM
#721
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

diamond1:

Good morning, j'ai le jscript_imagehover.js which is loaded into the header, is it possible to load the footer pages? how is he called back? since the file jscript/jscript_imagehover.js does not exist on my template.

<script src="includes/templates/wokiee/jscript/jscript_imagehover.js"></script> <script title="zcJS.ajax"> if (typeof zcJS == "undefined" || !zcJS) { window.zcJS = { name: 'zcJS', version: '0.1.0.0' }; } zcJS.ajax = function (options) { options.url = options.url.replace("&", unescape("&")); var deferred = jQuery.Deferred(function (d) { var securityToken = 'e9c348756954e247aa6b6d66d62bea2d'; var defaults = { cache: false, type: 'POST', traditional: true, dataType: 'json', timeout: 5000, data: jQuery.extend(true,{ securityToken: securityToken }, options.data) }, settings = jQuery.extend(true, {}, defaults, options); if (typeof(console.log) == 'function') { console.log( settings ); } d.done(settings.success); d.fail(settings.error); d.done(settings.complete); var jqXHRSettings = jQuery.extend(true, {}, settings, { success: function (response, textStatus, jqXHR) { d.resolve(response, textStatus, jqXHR); }, error: function (jqXHR, textStatus, errorThrown) { if (window.console) { if (typeof(console.log) == 'function') { console.log(jqXHR); } } d.reject(jqXHR, textStatus, errorThrown); }, complete: d.resolve }); jQuery.ajax(jqXHRSettings); }).fail(function(jqXHR, textStatus, errorThrown) { var response = jqXHR.getResponseHeader('status'); var responseHtml = jqXHR.responseText; var contentType = jqXHR.getResponseHeader("content-type"); switch (response) { case '403 Forbidden': var jsonResponse = JSON.parse(jqXHR.responseText); var errorType = jsonResponse.errorType; switch (errorType) { case 'ADMIN_BLOCK_WARNING': break; case 'AUTH_ERROR': break; case 'SECURITY_TOKEN': break; default: alert('An Internal Error of type '+errorType+' was received while processing an ajax call. The action you requested could not be completed.'); } break; default: if (jqXHR.status === 200) { if (contentType.toLowerCase().indexOf("text/html") >= 0) { document.open(); document.write(responseHtml); document.close(); } } } }); var promise = deferred.promise(); return promise; }; zcJS.timer = function (options) { var defaults = { interval: 10000, startEvent: null, intervalEvent: null, stopEvent: null }, settings = jQuery.extend(true, {}, defaults, options); var enabled = new Boolean(false); var timerId = 0; var mySelf; this.Start = function() { this.enabled = new Boolean(true); mySelf = this; mySelf.settings = settings; if (mySelf.enabled) { mySelf.timerId = setInterval( function() { if (mySelf.settings.intervalEvent) { mySelf.settings.intervalEvent(mySelf); } }, mySelf.settings.interval); if (mySelf.settings.startEvent) { mySelf.settings.startEvent(mySelf); } } }; this.Stop = function() { mySelf.enabled = new Boolean(false); clearInterval(mySelf.timerId); if (mySelf.settings.stopEvent) { mySelf.settings.stopEvent(mySelf); } }; }; </script>
The jscript_imagehover.js file hasn't been part of the Image Handler distribution for many years now.
25 Aug 2025, 4:00 PM
#722
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Thank you for replying, unfortunately I still have this script, can you tell me how to move it down?

Giovanni,
Zen Cart V2.1

25 Aug 2025, 5:13 PM
#723
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

diamond1:

Thank you for replying, unfortunately I still have this script, can you tell me how to move it down?

Just delete the file from /includes/templates/wikiee/jscript

25 Aug 2025, 6:56 PM
#724
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Sorry Lat, I translate with google and sometimes it doesn't correspond to what I want to say, I have to keep this part of script that I put on my initial request, I want it to load on the footer instead of being displayed at the top in the header

<script title="zcJS.ajax">
if (typeof zcJS == "undefined" || !zcJS) {
  window.zcJS = { name: 'zcJS', version: '0.1.0.0' };
}

zcJS.ajax = function (options) {
  options.url = options.url.replace("&", unescape("&"));
  var deferred = jQuery.Deferred(function (d) {
      var securityToken = 'ebc9bace87153cdffdcddfcbb8022a50';
      var defaults = {
          cache: false,
          type: 'POST',
          traditional: true,
          dataType: 'json',
          timeout: 5000,
          data: jQuery.extend(true,{
            securityToken: securityToken
        }, options.data)
      },
      settings = jQuery.extend(true, {}, defaults, options);
      if (typeof(console.log) == 'function') {
          console.log( settings );
      }

      d.done(settings.success);
      d.fail(settings.error);
      d.done(settings.complete);
      var jqXHRSettings = jQuery.extend(true, {}, settings, {
          success: function (response, textStatus, jqXHR) {
            d.resolve(response, textStatus, jqXHR);
          },
          error: function (jqXHR, textStatus, errorThrown) {
              if (window.console) {
                if (typeof(console.log) == 'function') {
                  console.log(jqXHR);
                }
              }
              d.reject(jqXHR, textStatus, errorThrown);
          },
          complete: d.resolve
      });
      jQuery.ajax(jqXHRSettings);
   }).fail(function(jqXHR, textStatus, errorThrown) {
   var response = jqXHR.getResponseHeader('status');
   var responseHtml = jqXHR.responseText;
   var contentType = jqXHR.getResponseHeader("content-type");
   switch (response)
     {
       case '403 Forbidden':
         var jsonResponse = JSON.parse(jqXHR.responseText);
         var errorType = jsonResponse.errorType;
         switch (errorType)
         {
           case 'ADMIN_BLOCK_WARNING':
           break;
           case 'AUTH_ERROR':
           break;
           case 'SECURITY_TOKEN':
           break;

           default:
             alert('An Internal Error of type '+errorType+' was received while processing an ajax call. The action you requested could not be completed.');
         }
       break;
       default:
        if (jqXHR.status === 200) {
            if (contentType.toLowerCase().indexOf("text/html") >= 0) {
                document.open();
                document.write(responseHtml);
                document.close();
            }
         }
     }
   });

  var promise = deferred.promise();
  return promise;
};
zcJS.timer = function (options) {
  var defaults = {
    interval: 10000,
    startEvent: null,
    intervalEvent: null,
    stopEvent: null

},
  settings = jQuery.extend(true, {}, defaults, options);

  var enabled = new Boolean(false);
  var timerId = 0;
  var mySelf;
  this.Start = function()
  {
      this.enabled = new Boolean(true);

      mySelf = this;
      mySelf.settings = settings;
      if (mySelf.enabled)
      {
          mySelf.timerId = setInterval(
          function()
          {
              if (mySelf.settings.intervalEvent)
              {
                mySelf.settings.intervalEvent(mySelf);
              }
          }, mySelf.settings.interval);
          if (mySelf.settings.startEvent)
          {
            mySelf.settings.startEvent(mySelf);
          }
      }
  };
  this.Stop = function()
  {
    mySelf.enabled = new Boolean(false);
    clearInterval(mySelf.timerId);
    if (mySelf.settings.stopEvent)
    {
      mySelf.settings.stopEvent(mySelf);
    }
  };
};

</script>

This script is located on includes/templates/template_default/jscript/jscript_framework.php
I would like to move it to the footer.

Giovanni,
Zen Cart V2.1

25 Aug 2025, 9:02 PM
#725
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

diamond1:

Sorry Lat, I translate with google and sometimes it doesn't correspond to what I want to say, I have to keep this part of script that I put on my initial request, I want it to load on the footer instead of being displayed at the top in the header

<script title="zcJS.ajax"> if (typeof zcJS == "undefined" || !zcJS) { window.zcJS = { name: 'zcJS', version: '0.1.0.0' }; } zcJS.ajax = function (options) { options.url = options.url.replace("&", unescape("&")); var deferred = jQuery.Deferred(function (d) { var securityToken = 'ebc9bace87153cdffdcddfcbb8022a50'; var defaults = { cache: false, type: 'POST', traditional: true, dataType: 'json', timeout: 5000, data: jQuery.extend(true,{ securityToken: securityToken }, options.data) }, settings = jQuery.extend(true, {}, defaults, options); if (typeof(console.log) == 'function') { console.log( settings ); } d.done(settings.success); d.fail(settings.error); d.done(settings.complete); var jqXHRSettings = jQuery.extend(true, {}, settings, { success: function (response, textStatus, jqXHR) { d.resolve(response, textStatus, jqXHR); }, error: function (jqXHR, textStatus, errorThrown) { if (window.console) { if (typeof(console.log) == 'function') { console.log(jqXHR); } } d.reject(jqXHR, textStatus, errorThrown); }, complete: d.resolve }); jQuery.ajax(jqXHRSettings); }).fail(function(jqXHR, textStatus, errorThrown) { var response = jqXHR.getResponseHeader('status'); var responseHtml = jqXHR.responseText; var contentType = jqXHR.getResponseHeader("content-type"); switch (response) { case '403 Forbidden': var jsonResponse = JSON.parse(jqXHR.responseText); var errorType = jsonResponse.errorType; switch (errorType) { case 'ADMIN_BLOCK_WARNING': break; case 'AUTH_ERROR': break; case 'SECURITY_TOKEN': break; default: alert('An Internal Error of type '+errorType+' was received while processing an ajax call. The action you requested could not be completed.'); } break; default: if (jqXHR.status === 200) { if (contentType.toLowerCase().indexOf("text/html") >= 0) { document.open(); document.write(responseHtml); document.close(); } } } }); var promise = deferred.promise(); return promise; }; zcJS.timer = function (options) { var defaults = { interval: 10000, startEvent: null, intervalEvent: null, stopEvent: null }, settings = jQuery.extend(true, {}, defaults, options); var enabled = new Boolean(false); var timerId = 0; var mySelf; this.Start = function() { this.enabled = new Boolean(true); mySelf = this; mySelf.settings = settings; if (mySelf.enabled) { mySelf.timerId = setInterval( function() { if (mySelf.settings.intervalEvent) { mySelf.settings.intervalEvent(mySelf); } }, mySelf.settings.interval); if (mySelf.settings.startEvent) { mySelf.settings.startEvent(mySelf); } } }; this.Stop = function() { mySelf.enabled = new Boolean(false); clearInterval(mySelf.timerId); if (mySelf.settings.stopEvent) { mySelf.settings.stopEvent(mySelf); } }; }; </script>
> 
> This script is located on includes/templates/template_default/jscript/jscript_framework.php  
> I would like to move it to the footer.
Moving that script to the footer could result in issues, since that's a core Zen Cart script that loads on every page.  Before I go to the effort of describing how that could be done (although not recommended), I need to understand what problem you're trying to solve with that movement.

Note, too, that this discussion has nothing to do with the Image Handler plugin so I'll ask that you re-post your original question and my comment above to another separate forum thread.
25 Aug 2025, 9:23 PM
#726
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Sorry Lat, I translate with google and sometimes it doesn't correspond to what I want to say, I have to keep this part of script that I put on my initial request, I want it to load on the footer instead of being displayed at the top in the header

<script title="zcJS.ajax">
if (typeof zcJS == "undefined" || !zcJS) {
  window.zcJS = { name: 'zcJS', version: '0.1.0.0' };
}

zcJS.ajax = function (options) {
  options.url = options.url.replace("&", unescape("&"));
  var deferred = jQuery.Deferred(function (d) {
      var securityToken = 'ebc9bace87153cdffdcddfcbb8022a50';
      var defaults = {
          cache: false,
          type: 'POST',
          traditional: true,
          dataType: 'json',
          timeout: 5000,
          data: jQuery.extend(true,{
            securityToken: securityToken
        }, options.data)
      },
      settings = jQuery.extend(true, {}, defaults, options);
      if (typeof(console.log) == 'function') {
          console.log( settings );
      }

      d.done(settings.success);
      d.fail(settings.error);
      d.done(settings.complete);
      var jqXHRSettings = jQuery.extend(true, {}, settings, {
          success: function (response, textStatus, jqXHR) {
            d.resolve(response, textStatus, jqXHR);
          },
          error: function (jqXHR, textStatus, errorThrown) {
              if (window.console) {
                if (typeof(console.log) == 'function') {
                  console.log(jqXHR);
                }
              }
              d.reject(jqXHR, textStatus, errorThrown);
          },
          complete: d.resolve
      });
      jQuery.ajax(jqXHRSettings);
   }).fail(function(jqXHR, textStatus, errorThrown) {
   var response = jqXHR.getResponseHeader('status');
   var responseHtml = jqXHR.responseText;
   var contentType = jqXHR.getResponseHeader("content-type");
   switch (response)
     {
       case '403 Forbidden':
         var jsonResponse = JSON.parse(jqXHR.responseText);
         var errorType = jsonResponse.errorType;
         switch (errorType)
         {
           case 'ADMIN_BLOCK_WARNING':
           break;
           case 'AUTH_ERROR':
           break;
           case 'SECURITY_TOKEN':
           break;

           default:
             alert('An Internal Error of type '+errorType+' was received while processing an ajax call. The action you requested could not be completed.');
         }
       break;
       default:
        if (jqXHR.status === 200) {
            if (contentType.toLowerCase().indexOf("text/html") >= 0) {
                document.open();
                document.write(responseHtml);
                document.close();
            }
         }
     }
   });

  var promise = deferred.promise();
  return promise;
};
zcJS.timer = function (options) {
  var defaults = {
    interval: 10000,
    startEvent: null,
    intervalEvent: null,
    stopEvent: null

},
  settings = jQuery.extend(true, {}, defaults, options);

  var enabled = new Boolean(false);
  var timerId = 0;
  var mySelf;
  this.Start = function()
  {
      this.enabled = new Boolean(true);

      mySelf = this;
      mySelf.settings = settings;
      if (mySelf.enabled)
      {
          mySelf.timerId = setInterval(
          function()
          {
              if (mySelf.settings.intervalEvent)
              {
                mySelf.settings.intervalEvent(mySelf);
              }
          }, mySelf.settings.interval);
          if (mySelf.settings.startEvent)
          {
            mySelf.settings.startEvent(mySelf);
          }
      }
  };
  this.Stop = function()
  {
    mySelf.enabled = new Boolean(false);
    clearInterval(mySelf.timerId);
    if (mySelf.settings.stopEvent)
    {
      mySelf.settings.stopEvent(mySelf);
    }
  };
};

</script> 

This script is located on includes/templates/template_default/jscript/jscript_framework.php
I would like to move it to the footer, **for SEO reasons, from experience it is better to show more text than scripts as possible. **

Lat
Moving that script to the footer could result in issues, since that's a core Zen Cart script that loads on every page. Before I go to the effort of describing how that could be done (although not recommended), I need to understand what problem you're trying to solve with that movement.

Giovanni,
Zen Cart V2.1

25 Aug 2025, 9:25 PM
#727
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Merci beaucoup.

Giovanni,
Zen Cart V2.1

27 Sep 2025, 12:15 AM
#728
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I have all 3 image type set to .webp in IH configuration.

However, the product images displayed in product listing are in .jpg.

Product info and large image are in the correct .webp format.

I cleared the image cache but no luck

Why would the image be in .jpg on product listing?

Thank you for the assist

24 Oct 2025, 9:18 PM
#729
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Hi All,

Modules Installed
Zencart Version 1.5.8a / Simple Popup
Bootstrap Template Version 3.7.4 / Square_Webpay
TY Tracker Version 1.0.1 / PayPal
Sitemap Version 3.9.9 / Changed Files Report
CEON Mappings Version 2.2.0 / Product Review Reminder
Quick Update Version 2.10 / Numinix Product Fields 3.1.3
Printable Price List Version 4.0.1 / Order Comment Boilmaker
Easy Populate Version 7.039ZC / Email Archive Manager Version 3.0
Handling Fee Version 1.2.0

Getting this error message below and just wanting to know how I find the corrupt image that is causing the issue.

PHP Warning: getimagesize(): Corrupt JPEG data: 67 extraneous bytes before marker in /includes/classes/bmz_image_handler.class.php on line 511.

Any assistance would be a great help.

Outdoorking
Live Site https://www.outdoorking.com.au

8 Jan 2026, 4:47 PM
#731
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Is it possible to use ImageMagick with IH 5?
The only information I could find is :

if you want to use ImageMagick, you must specify the convert binary here (e.g. '/usr/bin/convert') in bmz_image_handler_conf.php file.
And I have no idea what this 'convert binary' is.
ImageMagick and PHP Imagick extension are installed on my server and working.
Looking at IH code, I did not find any code that could use Imagick either... The answer to my question is probably no, but I ask anyway, in case of...

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

8 Jan 2026, 6:16 PM
#732
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

pilou2:

Is it possible to use ImageMagick with IH 5?
The only information I could find is :
in bmz_image_handler_conf.php file.
And I have no idea what this 'convert binary' is.
ImageMagick and PHP Imagick extension are installed on my server and working.
Looking at IH code, I did not find any code that could use Imagick either... The answer to my question is probably no, but I ask anyway, in case of...
No idea, I've never tried the mixture. That comment might (?) refer to what needs to be set in the ImageMagik configuration.

24 Jan 2026, 2:34 PM
#733
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I think this comment might be very old from the time ImageMagick was a set of executables for different tasks... more than 10 years ago.

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

24 Jan 2026, 4:53 PM
#734
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Well, it seems that if I put the full path for the Magick executable, "$ihConf['im_convert'] = '...magick convert';", then ImageMagick is used. As all parameters in the script for the convert command are deprecated since version 7 of Magick.exe, adding "* convert*" after the magick executable provides some backward compatibilty.
It seems to work as images from different size are created when necessary.
I just get a log file each time these images are created:

[25-Jan-2026 01:09:00 Asia/Tokyo] Request URI: /admin/index.php?cmd=image_handler&ih_page=manager&current_category_id=62&products_filter=1662, IP address: ---.---.---.---, Language id 1
#0 ...\includes\classes\bmz_image_handler.class.php(638): zen_debug_error_handler()
#1 ...\includes\classes\bmz_image_handler.class.php(442): ih_image->resize_imageIM()
#2 ...\includes\classes\bmz_image_handler.class.php(286): ih_image->get_resized_image()
#3 ...\admin\image_handler.php(384): ih_image->get_local()
#4 ...\admin\index.php(16): require('...')
--> PHP Warning: Array to string conversion in ...\includes\classes\bmz_image_handler.class.php on line 638.

It is due to the $color variable. It is an array and need to be converted to string.
Replacing line 638:

        $this->ihLog("resize_imageIM($file_ext, $dest_name, $bg, $quality), size = $size, bg = $bg, color = $color, transparent ((string)$transparent), gif_treatment ($gif_treatment), temp_name = $temp_name");

by

        $this->ihLog("resize_imageIM($file_ext, $dest_name, $bg, $quality), size = $size, bg = $bg, color = (" . implode(', ', $color) . "), transparent (" . (string)$transparent . "), gif_treatment (" . (string)$gif_treatment . "), temp_name = $temp_name");

fixed it.

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

5 Feb 2026, 6:27 PM
#735
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I'm running v2.0.1 with GD version bundled (2.1.0 compatible), responsive classic template, UPS v1.3.6 and DPU

I just installed Image Handler 5. Issue I am having is with any products which I have more that one product image everything besides the main image disappears (product information, attributes, etc.) Any product with only 1 product image is displaying normal. I tested 2 different products by deleting those 2 products additional images and when I do the page functions normally. Add even 1 additional image back to it and product descriptions and attributes disappear again. Image handler is renaming the images properly i.e. image, image_01, image_02

I looked through the new settings under Images for Image Handler 5 and I don't see anything configured that would cause this.

I am stumped

Best,
Goldbuckle

6 Feb 2026, 1:02 PM
#736
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

GoldBuckle:

I'm running v2.0.1 with GD version bundled (2.1.0 compatible), responsive classic template, UPS v1.3.6 and DPU

I just installed Image Handler 5. Issue I am having is with any products which I have more that one product image everything besides the main image disappears (product information, attributes, etc.) Any product with only 1 product image is displaying normal. I tested 2 different products by deleting those 2 products additional images and when I do the page functions normally. Add even 1 additional image back to it and product descriptions and attributes disappear again. Image handler is renaming the images properly i.e. image, image_01, image_02

I looked through the new settings under Images for Image Handler 5 and I don't see anything configured that would cause this.

I am stumped
That "disappearance" of a product's description and attributes is called a partial-whitescreen, implying that there's a PHP error recorded in a myDEBUG*.log file present in the site's /logs directory.

I'll suggest that you install the "Display Logs" plugin if you haven't already (via the admin's Modules :: Plugin Manager) and then use the Tools :: Display Logs tool to display the current debug logs.

If you're not able to determine the source of your issue, you can post the contents of the log back here.

11 Feb 2026, 11:35 AM
#737
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

This is the warning log I am getting, I don't have zen_colorbox installed

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303,Language id 1
#0 /includes/classes/observers/ColorBoxObserver.php(42): zen_debug_error_handler()
#1 /includes/classes/observers/ColorBoxObserver.php(42): require()
#2 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#3 /includes/modules/additional_images.php(150): base->notify()
#4 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#5 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#6 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#7 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#8 /index.php(94): require('...')
--> PHP Warning: require(includes/modules/zen_colorbox.php): Failed to open stream: No such file or directory in /includes/classes/observers/ColorBoxObserver.php on line 42.

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303, Language id 1
#0 /includes/classes/observers/ColorBoxObserver.php(42): zen_debug_error_handler()
#1 /includes/classes/observers/ColorBoxObserver.php(42): require()
#2 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#3 /includes/modules/additional_images.php(150): base->notify()
#4 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#5 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#6 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#7 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#8 /index.php(94): require('...')
--> PHP Warning: require(includes/modules/zen_colorbox.php): Failed to open stream: No such file or directory in /includes/classes/observers/ColorBoxObserver.php on line 42.

[11-Feb-2026 06:16:56 America/New_York] PHP Fatal error: Uncaught Error: Failed opening required 'includes/modules/zen_colorbox.php' (include_path='.:/usr/local/php83/lib/php') in /includes/classes/observers/ColorBoxObserver.php:42
Stack trace:
#0 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#1 /includes/modules/additional_images.php(150): base->notify()
#2 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#3 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#4 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#6 /index.php(94): require('...')
#7 {main}
thrown in /includes/classes/observers/ColorBoxObserver.php on line 42

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303,
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/modules/zen_colorbox.php' (include_path='.:/usr/local/php83/lib/php') in /includes/classes/observers/ColorBoxObserver.php:42
Stack trace:
#0 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#1 /includes/modules/additional_images.php(150): base->notify()
#2 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#3 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#4 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#6 /index.php(94): require('...')
#7 {main}
thrown in /includes/classes/observers/ColorBoxObserver.php on line 42.

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303,
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/modules/zen_colorbox.php' (include_path='.:/usr/local/php83/lib/php') in /includes/classes/observers/ColorBoxObserver.php:42
Stack trace:
#0 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#1 /includes/modules/additional_images.php(150): base->notify()
#2 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#3 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#4 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#6 /index.php(94): require('...')
#7 {main}
thrown in /includes/classes/observers/ColorBoxObserver.php on line 42.

Best,
Goldbuckle

11 Feb 2026, 12:02 PM
#738
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

GoldBuckle:

This is the warning log I am getting, I don't have zen_colorbox installed

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303,Language id 1
#0 /includes/classes/observers/ColorBoxObserver.php(42): zen_debug_error_handler()
#1 /includes/classes/observers/ColorBoxObserver.php(42): require()
#2 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#3 /includes/modules/additional_images.php(150): base->notify()
#4 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#5 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#6 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#7 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#8 /index.php(94): require('...')
--> PHP Warning: require(includes/modules/zen_colorbox.php): Failed to open stream: No such file or directory in /includes/classes/observers/ColorBoxObserver.php on line 42.

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303, Language id 1
#0 /includes/classes/observers/ColorBoxObserver.php(42): zen_debug_error_handler()
#1 /includes/classes/observers/ColorBoxObserver.php(42): require()
#2 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#3 /includes/modules/additional_images.php(150): base->notify()
#4 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#5 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#6 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#7 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#8 /index.php(94): require('...')
--> PHP Warning: require(includes/modules/zen_colorbox.php): Failed to open stream: No such file or directory in /includes/classes/observers/ColorBoxObserver.php on line 42.

[11-Feb-2026 06:16:56 America/New_York] PHP Fatal error: Uncaught Error: Failed opening required 'includes/modules/zen_colorbox.php' (include_path='.:/usr/local/php83/lib/php') in /includes/classes/observers/ColorBoxObserver.php:42
Stack trace:
#0 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#1 /includes/modules/additional_images.php(150): base->notify()
#2 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#3 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#4 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#6 /index.php(94): require('...')
#7 {main}
thrown in /includes/classes/observers/ColorBoxObserver.php on line 42

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303,
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/modules/zen_colorbox.php' (include_path='.:/usr/local/php83/lib/php') in /includes/classes/observers/ColorBoxObserver.php:42
Stack trace:
#0 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#1 /includes/modules/additional_images.php(150): base->notify()
#2 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#3 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#4 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#6 /index.php(94): require('...')
#7 {main}
thrown in /includes/classes/observers/ColorBoxObserver.php on line 42.

[11-Feb-2026 06:16:56 America/New_York] Request URI: /test3/index.php?main_page=product_info&cPath=107&products_id=303,
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/modules/zen_colorbox.php' (include_path='.:/usr/local/php83/lib/php') in /includes/classes/observers/ColorBoxObserver.php:42
Stack trace:
#0 /includes/classes/traits/NotifierManager.php(87): ColorBoxObserver->update()
#1 /includes/modules/additional_images.php(150): base->notify()
#2 /includes/templates/responsive_classic/templates/tpl_modules_additional_images.php(11): require('...')
#3 /includes/templates/responsive_classic/templates/tpl_product_info_display.php(66): require('...')
#4 /includes/modules/pages/product_info/main_template_vars.php(140): require('...')
#5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('...')
#6 /index.php(94): require('...')
#7 {main}
thrown in /includes/classes/observers/ColorBoxObserver.php on line 42.
You have some remnants of the ColorBox plugin still installed; see above.

12 Feb 2026, 1:31 PM
#739
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I removed the file "/includes/classes/observers/ColorBoxObserver.php" and now the store side is error 500, admin still fuctions.

Log file now shows:

[12-Feb-2026 08:20:08 America/New_York] PHP Fatal error: Uncaught Error: Class "ColorBoxObserver" not found in /includes/autoload_func.php:47
Stack trace:
#0 /includes/application_top.php(253): require()
#1 /index.php(25): require('...')
#2 {main}
thrown in /includes/autoload_func.php on line 47

[12-Feb-2026 08:20:08 America/New_York] Request URI: /test3/,
--> PHP Fatal error: Uncaught Error: Class "ColorBoxObserver" not found in /includes/autoload_func.php:47
Stack trace:
#0 /includes/application_top.php(253): require()
#1 /index.php(25): require('...')
#2 {main}
thrown in /includes/autoload_func.php on line 47.

[12-Feb-2026 08:20:08 America/New_York] Request URI: /test3/,
--> PHP Fatal error: Uncaught Error: Class "ColorBoxObserver" not found in /includes/autoload_func.php:47
Stack trace:
#0 /includes/application_top.php(253): require()
#1 /index.php(25): require('...')
#2 {main}
thrown in /includes/autoload_func.php on line 47.

This is lines 43-48 of autoload_func.php
case 'class':
if ($debugAutoload) echo 'case "class": ' . $entry['class'] . "<br>\n";
$objectName = $entry['object'];
$className = $entry['class'];
$$objectName = new $className();
break;

Best,
Goldbuckle

12 Feb 2026, 2:13 PM
#740
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

GoldBuckle:

I removed the file "/includes/classes/observers/ColorBoxObserver.php" and now the store side is error 500, admin still fuctions.

Log file now shows:

[12-Feb-2026 08:20:08 America/New_York] PHP Fatal error: Uncaught Error: Class "ColorBoxObserver" not found in /includes/autoload_func.php:47
Stack trace:
#0 /includes/application_top.php(253): require()
#1 /index.php(25): require('...')
#2 {main}
thrown in /includes/autoload_func.php on line 47

[12-Feb-2026 08:20:08 America/New_York] Request URI: /test3/,
--> PHP Fatal error: Uncaught Error: Class "ColorBoxObserver" not found in /includes/autoload_func.php:47
Stack trace:
#0 /includes/application_top.php(253): require()
#1 /index.php(25): require('...')
#2 {main}
thrown in /includes/autoload_func.php on line 47.

[12-Feb-2026 08:20:08 America/New_York] Request URI: /test3/,
--> PHP Fatal error: Uncaught Error: Class "ColorBoxObserver" not found in /includes/autoload_func.php:47
Stack trace:
#0 /includes/application_top.php(253): require()
#1 /index.php(25): require('...')
#2 {main}
thrown in /includes/autoload_func.php on line 47.

This is lines 43-48 of autoload_func.php
case 'class':
if ($debugAutoload) echo 'case "class": ' . $entry['class'] . "<br>\n";
$objectName = $entry['object'];
$className = $entry['class'];
$$objectName = new $className();
break;
There's apparently a file in /includes/auto_loaders that's attempting to load that observer file, most likely with a filename that includes "colorbox".