Re: Image Handler 2 Support
Quote:
Originally Posted by getyourgameshere.com
whats wrong with it? looks fine to me..
Code:
Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.93x100.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e670cff6e97260a511e6be0c287114d6.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e4126b9a0cc7bd0d3f04969f107a29ad.image.37x40.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e371245a4633dbcdedb9a52b758f92e8.image.100x79.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.32x40.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.57x72.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e.
I appear to have lost files form the bmz_cache directory completely or the permissions are no longer 775 - which they were. I uninstalled FrontPage extensions thinking that it wasn't playing nice with the Linux box the site lives on. But it worked for months - and suddenly it's broken all over the place.
My FTP client doesn't seem to like the Web GUI I get to effect permission changes on the server itself and I am truly at my end with this. Can someone please help me repair Image Handler?
Re: Image Handler 2 Support
Quote:
Originally Posted by getyourgameshere.com
whats wrong with it? looks fine to me..
Code:
Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.93x100.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e670cff6e97260a511e6be0c287114d6.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e4126b9a0cc7bd0d3f04969f107a29ad.image.37x40.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e371245a4633dbcdedb9a52b758f92e8.image.100x79.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.32x40.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.57x72.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e.
Code:
Warning: imagepng(): Unable to open '/hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/0/060c344c412d42e29c179f9fd4fd6a8c.image.32x40.png' for writing in /hsphere/local/home/q1w2e3r4/legendsgallery.net/includes/classes/bmz_image_handler.class.php on line 646
I appear to have lost files form the bmz_cache directory completely or the permissions are no longer 775 - which they were. I uninstalled FrontPage extensions thinking that it wasn't playing nice with the Linux box the site lives on. But it worked for months - and suddenly it's broken all over the place.
My FTP client doesn't seem to like the Web GUI I get to effect permission changes on the server itself and I am truly at my end with this. Can someone please help me repair Image Handler?
Re: Image Handler 2 Support
I set the /images and the /bmz_cache folders to 775 and nothing becomes that when I upload a new product image batch to the site. They all become unwritable and I cannot figure out why. GD this is frustrating.
anyone care to login and find out what's going on?
Re: Image Handler 2 Support
Here's a screenshot of the issue. This shot is of the admin panel side of the problem. whenever the same error appears in the white space above the actual product images within this screenshot, that means that client-side is hosed too. This screenshot shows a product with no client-side consequences, but is still screwed up.
At this point, I cannot use image handler at all on this site - it is simply unusable until this is repaired.
http://netgeared.com/error.JPG
Re: Image Handler 2 Support
Quote:
Originally Posted by BlessIsaacola
Okay, I am confused, can someone that knows what they are doing please verify if \includes\modules\additional_images.php should have ?> at the end of the file or not. I just noticed that Tim's original file is missing the ?> at the end too.
Tim likes to leave the closing ?> out of the file since it's optional and prevents some potential white-space errors that occasionally happen if people edit their files directlyon their webserver or with a junky editor.
Re: Image Handler 2 Support
Your problems are related to permissions.
If the bmz_cache folder and all its subfolders are not read/write, then IH cannot write to them, thus the image-caching functionality will not work for you.
If your host is configured to reset permissions below 777, then you will keep beating your head against the wall every time it auto-resets things on you.
The notes sc0tt made regarding errors deleting by FTP stem from the fact that when Apache creates the cache files, only Apache can delete them, because Apache owns them ... not you. I believe that's one reason why Tim added the cache-purge feature, so that you can have Apache do the deletes for you.
Granted, if your server is resetting permissions so that Apache cannot write or delete, you're still out of luck.
Talk to your host.
Re: Image Handler 2 Support
Thx Doc. Just got off with my hosot and yes, if one (as this customer does) has a shared hosting account, the host will not permit anything to be 777 - so here we are. This is a good note to make for those of us using IH with a shared hosting account. IH, with some hosts, may need dedicated storage and IP.
Re: Image Handler 2 Support
You will find that our Certified Hosts typically don't have this restriction ...
Re: Image Handler 2 Support
my bmz_cache folder is set to 755, but things seem to work fine. host automatically set it
using HostGator here
Re: Image Handler 2 Support
Well last night my host set things to 775 and it's back to normal today. My support guy said he suspects that the topics addressing Apache/Linux in: http://www.zen-cart.com/forum/faq.ph...l&titlesonly=0 are the issue. I don't know what this means well enough, but he said if he changes the owner from my username to httpd - whatever that means - things should repair and work fine.
So last night he did this and it appeared that everything worked again. I check out the site today and I get a pink error header telling me that the /image directory is not writable - YET AGAIN!
I put a call into Sashbox moments ago, but does anyone have any additional feedback for me? Thanks.