
Originally Posted by
doodlebee
Hello all :)
I have an odd issue. I've uninstalled IH2 on a site I'm working on (it just turned out to be "more than they needed" - nothing against IH2, I love the plugin!). I first uninstalled through the IH2 admin area, and then I went through and removed all the files I had uploaded for the plugin. Now, I had not made any changes to my template files or anything when I had installed - it was mostly a clean installation of ZenCart, so there was no need for me to "separate" IH2 stuff from my own template files. However, I'm now wondering if someone else *did* do something (there are other people working on the site, although *generally* they leave my stuff alone - but you know that doesn't mean some people cannot stop themselves...) because now, on every Product Info page that has an image in it, the layout is broken.
If the product info page does *not* have an image, it's fine. But there's a certain point where the template just stps loading if there *is* an image for the product. Here is that last line you see in the "view source":
<!--bof Main Product Image -->
After that, the page just abruptly stops. I opened up my tpl_product_info_display.php file, the the next line is this:
<?php if (zen_not_null($products_image)) { ?>
<?php /* display the main product image */
require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
<?php } ?>
<!--eof Main Product Image-->
Now, this is odd to me - it doesn't *seem* like this section should be breaking the site, but it is. This is also not the first time this has happened - while working on the site yesterday, there was another template doing the exact same thing, in the exact same spot, with the exact same code. The only way I could fix it was just by eliminating that entire section. For *that* template file, it was fine, because images really weren't needed. But in this case, they are, and I need this function to work.
I've already tried uploading the default template to override mine, but it's even doing this in the default. The only conclusion I can come to is that I did something wrong when I uninstalled IH2. Is there something else I should be looking for to fix this?
I'd appreciate any help you can give. Thanks!
Bookmarks