Re: Image Handler 2 Support
Has anybody been able to get IH2 working on 1.3.6 after upgrading from 1.3.5?
I am trying to upgrade but for some reason none of my old product images are showing up. I uploaded the bmz cache folder that contained all the images, I uploaded all the IH2 files, and imported my database.
IH2 itself seem sot be working ok. I was able to add images to a couple of test products I created.
However, I can't get the old images I had on the 1.3.5 version of the store to display. If I go to IH2 Manager I don't see any images assigned to the products.
help :(
Re: Image Handler 2 Support
Re: Image Handler 2 Support
I'm having the same problem as alexblom, where all the images are being created as user apache and group apache, a non-existant user and group on my server. As a result of this, the premissions are restricted on the cache files, and Image Handler can't write to them or delete them once they have been written for the first time. This is causing all sorts of errors, with Image Handler recreating each cache image on every page view, with some images never showing up and other pages just refusing to parse.
My host is a quality one and has very low cpu/bandwidth use, so that isn't the issue.
Is there any way to force image handler to write with the correct user and group? We have that php extension installed that forces programs to write with the correct user and group, but Image Handler seems to make an exception to that.
Failing that, is there another mod with the 'automatically resize images' function? I can deal with one dependent on GD or ImageMagick.
Many thanks.
Re: Image Handler 2 Support
Also, forgot to mention that I'm runnning a Plesk control panel on CentOS.
Re: Image Handler 2 Support
Hi everyone.
I have a problem with IH. I upgraded to 1.3.6, made sure all my permissions for images and bmz_cashe folders were correct and corresponding with each other and came up with this prob.
Code:
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/b/b86296bbaa236efe649500691a3135fc.image.44x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/4/418fead62bb78eb5521701c6c5c2a306.image.59x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/9/9eb10a9a007ca23ae7c90d6f7c652914.image.73x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/2/2b2762445b2407b8421481f8087b030b.image.40x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/b/b8f18a290f5f5e77c3920c3fabc5ec28.image.39x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/4/445e0202529f1d2529e686803b7c2989.image.53x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/f/f2a50cd8b3858f80b8b5762c4b4faa2d.image.50x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/2/2b0ca90e7ce5abba1b1d3d8cc51667a5.image.42x110.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/8/8920da66b7ba644bea2dc59db63ed24f.image.90x108.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/5/5be3bc43731790e42480ddf8cde1b2c9.image.90x72.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
Warning: imagejpeg(): Unable to open '/home/showgirl/public_html/bmz_cache/c/ce0bf956b8fcf753d7e6a5d2bbbb18f2.image.90x90.jpg' for writing in /home/showgirl/public_html/includes/classes/bmz_image_handler.class.php on line 652
so I unistalled, cleared cache then reinstalled and still have this problem.
The corresponding line these warnings refer too in the bmz_image_handler.class.php file is as below.
Code:
$ok = imagejpeg($image, $dest_name, $quality);
BTW - I did notice this issue mentioned earlier in the thread, but this didn't help me in any way.
does anyone have any ideas on how to fix!!
TIA
Re: Image Handler 2 Support
make sure you changed the file permissions on ALL the subdirectories inside the bmz_cache folder.
Re: Image Handler 2 Support
Quote:
Originally Posted by
polarduality
make sure you changed the file permissions on ALL the subdirectories inside the bmz_cache folder.
Thanks polarduality but did that prior to posting!!
Re: Image Handler 2 Support
UPDATE:
ok, not sure why it happened in the first place, but after thinking about for a while, I managed to fix it.
THE FIX for anyone else who might come across this prob.
I decided to re-unistall IH2 and clear the cache. After I did this in the Zen admin, I then checked the bmz_cache folder on the server to make sure it was cleared and low and behold it was'nt. (not sure why this did not work when clearing IH cache in zen admin)
I then manually cleared each and every sub directory under the bmz_cache folder on my server.
I then went back into my admin >>> tools >>>> IH2 >>> admin and re-installed the IH.
Presto - PROBLEM FIXED :D
Hope this helps if anyone else has this problem, but before doing this fix, first check that your permissions in your images and bmz-cache folders are both set to 777 as you don't want to un-necessarily do this if your problem is that of inconsistant permissions.
Re: Image Handler 2 Support
Hmmm....tried that...still didn't work.....