Re: IH2 - uninstall breaks site
Quote:
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!
Did you clear the bmz_cache folder?
Have you tried uploading a fresh copy of the image?
M
Re: IH2 - uninstall breaks site
Quote:
Originally Posted by
tophand
Did you clear the bmz_cache folder?
Have you tried uploading a fresh copy of the image?
M
Yep and yep. Still breaks everything.
Re: IH2 - uninstall breaks site
Okay, so I finally found the error logs (woo-hoo!) and this is the error message I'm getting (sitename and stuff changed to protect the innocent):
[Mon Nov 03 12:00:50 2008] [error] [client 26.128.137.054] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/modules/main_product_image.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/includes/templates/template_default/templates/tpl_modules_main_product_image.php on line 12, referer: http://www.somesite.com/breakfast-goodies-c-2_6.html
I've checked, and the files *are* in place, just as they should be. I dont understand why it "failed to open" the file when it's right there.
Oh crap! it's NOT there! LOL Whoa - how bizarre! I have a localhost installation, and it's there - but for some reason, it's not in the filesystem on the live server. WTH? how weird! OMG - I'm such an idiot. Okay, you can chalk one up to being plain stupid. I had 'ported over all the files from my localhost installation, and it must have "burped" over this one.
lesson learned people: find your error logs - they'll tell you exactly what's going on! I will now shamefully skulk away LOL
Re: IH2 - uninstall breaks site
Quote:
Originally Posted by
doodlebee
You are also using redirection, some SEO contrib., check that one too.
Re: Image Handler 2 Support
Quote:
Originally Posted by
andy1234
Hi everybody,
I have just installed IH2 on zen cart 1.3.5 and everything seems to be working fine except zooming on mouseover. Nothing is happening when I hover over the smal product image. What is wrong?
Plrase, help
Thanks
Andy
I am having the same trouble, seems to be in the Jscript file causing the problems. Anyone fixed this?
Re: Image Handler 2 Support
Quote:
Originally Posted by
tech9
I am having the same trouble, seems to be in the Jscript file causing the problems. Anyone fixed this?
Ok, i fixed this problem.
Put both of the JSCRIPT files in the includes/templates/YOURTEMPLATE/jscript folder not in the includes/templates/template_default/jscript folder.
Re: Image Handler 2 Support
i have Zen Cart v1.3.8a
what the last version to install ?
Thank you.
Re: Image Handler 2 Support
I hope you don't mind I didn't read all the 300 pages here, but I want to get some insight of what's happening here.
I've installed IH2 and it works....so far...
When I go with my mouse over the + my pop-up will be at the top of my page and my additional images are at the bottom, so I only see the bottom of the pop-up
Sometimes it displays next to the image so it can do it right but most of the time it's at the top
http://i36.tinypic.com/72untj.jpg
Where and how can I change this?
Re: Image Handler 2 Support
Quote:
Originally Posted by
dmagic
i have Zen Cart v1.3.8a
what the last version to install ?
Thank you.
http://www.zen-cart.com/index.php?ma...ort=20a&page=4
Re: Image Handler 2 Support
Quote:
Originally Posted by
MoonCatcher
I hope you don't mind I didn't read all the 300 pages here, but I want to get some insight of what's happening here.
I've installed IH2 and it works....so far...
When I go with my mouse over the + my pop-up will be at the top of my page and my additional images are at the bottom, so I only see the bottom of the pop-up
Sometimes it displays next to the image so it can do it right but most of the time it's at the top
Where and how can I change this?
A link helps us help you.