Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,397

Results 5,781 to 5,800 of 7,094
17 Sep 2010, 11:08 PM
#5781
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Image Handler 2 (for ZC v1.3.8 ONLY) Support

eberrios:

I have the second newest version of Zen cart with the latest image handler.
No idea what you mean by this...

eberrios:

Is there a way to uninstall image handler?
You can uninstall from the admin.. (Same place you would have run the IH2 install) Would be easier to simply restore your site if you have a back up of the site prior to installing IH2..

However it really looks like an incorrect IH2 install is at play.. What is happening on your site would not be caused by IH2 if installed correctly.. Of course since I can't see your site I have not a clue as to what other modules you might have tried to install along with IH2..

17 Sep 2010, 11:08 PM
#5782
eberrios avatar

eberrios

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Meaning that I don't have version 1.39 for zen cart. I have the one before that.

17 Sep 2010, 11:14 PM
#5783
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

eberrios:

Meaning that I don't have version 1.39 for zen cart. I have the one before that.
1.3.8a?? or 1.3.7..

18 Sep 2010, 9:40 AM
#5784
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

i am having a small problem with IH2, i have the latest version available in the downloads section and i am running Zen version 1.3.9e.

When i add additional images it is ok, it allows me to have 3 but no more than that, i can add multiple images BUT it will only show 3 extra images in the product information page. Other than that IH2 works perfectly.

Any suggestions would be very much appreciated.

18 Sep 2010, 11:11 AM
#5785
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

sweetikins:

i am having a small problem with IH2, i have the latest version available in the downloads section and i am running Zen version 1.3.9e.

When i add additional images it is ok, it allows me to have 3 but no more than that, i can add multiple images BUT it will only show 3 extra images in the product information page. Other than that IH2 works perfectly.

Any suggestions would be very much appreciated.
This doesn't appear to be an IH2 issue/bug.. I have client sites with more than 3 additional images, and they all work fine.. My test site also doesn't have this issue.. Perhaps it is something within your template which is limiting the additional image display.. Link to your site MIGHT help..

18 Sep 2010, 2:43 PM
#5786
djfroggie avatar

djfroggie

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler seems to not be working for my site.
http://www.jasoncphotos.com/purchase/

Products are added, and images ARE uploaded. I can find them in the folders on the webhost, and they appear in the product information. Not all of them appear on the catalog though. This means there aren't any links to the products themselves either.

When I go into the image handler tools it doesn't show any images for the products...

Let me know what more information you need.

18 Sep 2010, 11:39 PM
#5787
luidzi_1 avatar

luidzi_1

New Zenner

Join Date:
Jun 2010
Posts:
8
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Hi, I have weird problem with IH.
It worked since some time well. Then I have upgraded ZenCart 1.3.9d and that was probably when it stopped working. The trouble was I realized too late, because it was still showing cashed images, just not resizing and watermarking new ones.

Anyway, I have now upgraded to latest 1.3.9f and IH2 rev8b but it still does now work on my server - weird is, that exactly same files and database copied to my local computer works fine using Wamp (PHP version and MySQL database version are very similar).

If it hasn't been working earlier just fine I would be suspecting some security setting on the server preventing IH resizing images, but it was just fine before I upgraded.

So on my online server it is showing images but not resizing them when on my local server it's resizing well. I can see that all pictures displayed on my online server are served from their standard location in eshop/images/ folder, when locally it is served resized from eshop/bmz_cache folder.

Anyone got idea what could be causing this? I have 777 permission on bmz_cache and images folders...

Thanks a lot for any ideas!
ludek
https://www.armysurplus.cz/eshop

19 Sep 2010, 6:38 AM
#5788
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

luidzi_1:

Hi, I have weird problem with IH.
It worked since some time well. Then I have upgraded ZenCart 1.3.9d and that was probably when it stopped working. The trouble was I realized too late, because it was still showing cashed images, just not resizing and watermarking new ones.

Anyway, I have now upgraded to latest 1.3.9f and IH2 rev8b but it still does now work on my server - weird is, that exactly same files and database copied to my local computer works fine using Wamp (PHP version and MySQL database version are very similar).

If it hasn't been working earlier just fine I would be suspecting some security setting on the server preventing IH resizing images, but it was just fine before I upgraded.

So on my online server it is showing images but not resizing them when on my local server it's resizing well. I can see that all pictures displayed on my online server are served from their standard location in eshop/images/ folder, when locally it is served resized from eshop/bmz_cache folder.

Anyone got idea what could be causing this? I have 777 permission on bmz_cache and images folders...

Thanks a lot for any ideas!
ludek
https://www.armysurplus.cz/eshop

These are just general guesses, you have probably done most of them, but you'd be amazed the amount of people who miss the obvious

having a look at your source code it appears the image handler specific hooks are utterly missing which makes me think some files may have been missed.

  1. did you run the "install image handler" in admin-> tools->Image handler 2 --> then select the image handler admin tab and select install image handler
  2. Did you check to see all files went up and none were "skipped"?, especially the ones in your template folder
  3. you did upload the admin files to your renamed admin folder
  4. did you uninstall the old version
  5. what errors if any are appearing in your /eshop/cache/ folder, as this will hopefully shed some light on it

Cheers

19 Sep 2010, 8:16 PM
#5789
luidzi_1 avatar

luidzi_1

New Zenner

Join Date:
Jun 2010
Posts:
8
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Hi Nigelt,

thanks a lot for reply - you did tell me something very new indeed - did not know that debug files are kept in cache folder! ;) (and yes, I did all steps 1 to 4)

So investigating debug files revealed very interesting error messages:

[19-Sep-2010 22:08:43] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to access /home/usr/www.armysurplus.cz/html/eshop/bmz_cache/e/e81ee866c4ee0327420ef160555bbc56.image.150x187.jpg in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655
[19-Sep-2010 22:08:43] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Invalid filename in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655

Looks like script cannot write images in to bzm_cache folder although it is 777. There is also an error about invalid filename.

Will investigate more, but this is most lileky the reason while it's working on my local server and not on remote one.. :(

Thanks again for your advice! ;)
ludek

nigelt74:

These are just general guesses, you have probably done most of them, but you'd be amazed the amount of people who miss the obvious

having a look at your source code it appears the image handler specific hooks are utterly missing which makes me think some files may have been missed.

  1. did you run the "install image handler" in admin-> tools->Image handler 2 --> then select the image handler admin tab and select install image handler
  2. Did you check to see all files went up and none were "skipped"?, especially the ones in your template folder
  3. you did upload the admin files to your renamed admin folder
  4. did you uninstall the old version
  5. what errors if any are appearing in your /eshop/cache/ folder, as this will hopefully shed some light on it

Cheers

19 Sep 2010, 8:41 PM
#5790
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

luidzi_1:

[19-Sep-2010 22:08:43] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Invalid filename in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655

Are you sure your server supports gd?

19 Sep 2010, 9:13 PM
#5791
luidzi_1 avatar

luidzi_1

New Zenner

Join Date:
Jun 2010
Posts:
8
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

Are you sure your server supports gd?

yes:
gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

plus as I said it worked before. Sent email to hosting company.
Some more errors:
[19-Sep-2010 22:06:37] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: SAFE MODE Restriction in effect. The script whose uid is 1014 is not allowed to access /home/usr/www.armysurplus.cz/html/eshop/bmz_cache/0 owned by uid 81 in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655

So it seems safe mode is affecting this, but I know it was on before as well and it worked... :no:

Also I have tried http://wiki.breakmyzencart.com/zen-cart:safemodehack and it did not help me :cry:

19 Sep 2010, 9:42 PM
#5792
luidzi_1 avatar

luidzi_1

New Zenner

Join Date:
Jun 2010
Posts:
8
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

luidzi_1:

yes:
gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

plus as I said it worked before. Sent email to hosting company.
Some more errors:
[19-Sep-2010 22:06:37] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: SAFE MODE Restriction in effect. The script whose uid is 1014 is not allowed to access /home/usr/www.armysurplus.cz/html/eshop/bmz_cache/0 owned by uid 81 in /home/usr/www.armysurplus.cz/html/eshop/includes/classes/bmz_image_handler.class.php on line 655

So it seems safe mode is affecting this, but I know it was on before as well and it worked... :no:

Also I have tried http://wiki.breakmyzencart.com/zen-cart:safemodehack and it did not help me :cry:

hey problem solved! :clap:
bad part is I don't really know what was it...
What I did was I have removed bmz_cache folder several times for testing (safe mode hack) and I have re-created it again and then re-applied chmod to all folders, subfolders and files as well (well I did it before with no success) and it worked this time...

so no good idea what was the issue...

thanks for the idea with logs in cache, that was the key!:bigups:

19 Sep 2010, 10:07 PM
#5793
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

luidzi_1:

hey problem solved! :clap:
bad part is I don't really know what was it...
What I did was I have removed bmz_cache folder several times for testing (safe mode hack) and I have re-created it again and then re-applied chmod to all folders, subfolders and files as well (well I did it before with no success) and it worked this time...

so no good idea what was the issue...

thanks for the idea with logs in cache, that was the key!:bigups:
Good to Know :)

20 Sep 2010, 10:37 AM
#5794
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

This doesn't appear to be an IH2 issue/bug.. I have client sites with more than 3 additional images, and they all work fine.. My test site also doesn't have this issue.. Perhaps it is something within your template which is limiting the additional image display.. Link to your site MIGHT help..

Sorry here is the link http://www.twilightscraps.com/

20 Sep 2010, 1:28 PM
#5795
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

sweetikins:

Sorry here is the link http://www.twilightscraps.com/
Can you provide a link to a specific product where the issue is seen.. You have a lot of products, and it's easier if you can direct us where to look..

21 Sep 2010, 6:35 AM
#5796
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

Can you provide a link to a specific product where the issue is seen.. You have a lot of products, and it's easier if you can direct us where to look..

Sure ok for example here is 1 of the products affected, it has 3 images showing but 6 added

http://www.twilightscraps.com/index.php?main_page=product_info&cPath=1_173&products_id=8450

21 Sep 2010, 6:46 AM
#5797
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

sweetikins:

Sure ok for example here is 1 of the products affected, it has 3 images showing but 6 added

http://www.twilightscraps.com/index.php?main_page=product_info&cPath=1_173&products_id=8450
It's almost like your IH2 install is incomplete or something..
Did you use IH2 to upload your additional images??
What other mods do you have installed??

21 Sep 2010, 6:54 AM
#5798
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

It's almost like your IH2 install is incomplete or something..
Did you use IH2 to upload your additional images??
What other mods do you have installed??

Yes i done everything as i was told to and followed the instructions lol, i have the basic mods installed, sales report, IH2 rev 8, admin activity, admin profiles and a couple others. They use the pink i to add more images

21 Sep 2010, 6:57 AM
#5799
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

sweetikins:

No i done everything as i was told to and followed the instructions lol, i have the basic mods installed, sales report, IH2 rev 8, admin activity, admin profiles and a couple others
What happens if you go to the admin and un-install IH2?? Do all of your additional images show then??

21 Sep 2010, 7:02 AM
#5800
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

What happens if you go to the admin and un-install IH2?? Do all of your additional images show then??

blah no lol just still shows the 3, should i try reinstalling over again?