Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 73
  1. #21
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Corrupted product database entry leads to blank product listings

    That is a very good question. I've seen this regularly but never gotten that question answered. No error messages. I think the top image size is about 800kb. This only started with Image Handler 4. Of course any images that large are usually too large anyway so it's the kind of thing that usually crops up when some cart owner has been uploading unoptimized and really large images and then gets upgraded or installs ImageHandler 4.
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #22
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Corrupted product database entry leads to blank product listings

    Does IH contain specific calls to error_reporting() such as error_reporting(0) which tells it to report no errors from that point onward in the code? If so, then that could be what's stopping it from logging any memory errors. Or maybe it's just got logic in it to abort without warning when it encounters images it can't handle, and that might be an area the plugin could improve on.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #23
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Corrupted product database entry leads to blank product listings

    I've never dug into it. Don't see anything right off hand. It's definitely not a php error when this happens. I think I posted about this on that thread to no avail.
    The full-time Zen Cart Guru. WizTech4ZC.com

  4. #24
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Corrupted product database entry leads to blank product listings

    Quote Originally Posted by delia View Post
    face - eggy.

    image handler and too large images - why I didn't go there first I don't know. But this was not what I thought it was.

    Makes for a great thread though!!!

    Thanks everyone for flogging this horse!
    Too big meaning WHAT??? (specifics please..) I don't remember ANYTHING being posted on the IH4 thread about large images causing blank product pages.. ever.. Can you point out your post on this??
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #25
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Corrupted product database entry leads to blank product listings

    Quote Originally Posted by DrByte View Post
    Does IH contain specific calls to error_reporting() such as error_reporting(0) which tells it to report no errors from that point onward in the code?
    Just searched the IH4 code, and the answer here is no..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #26
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Corrupted product database entry leads to blank product listings

    I did not find where I posted it as a problem but have answered posts about it - http://www.zen-cart.com/showthread.p...57#post1137157

    It did start in version 4. That is for sure - and evidenced by the upgrade I just did which included 3 to 4. Since I found no information about it, I assumed then and still assume, most folks don't run into this issue because they don't try to use 1 meg images!

    I don't see that it is necessary to change the mod to accommodate these really large images. But I guess it should be noted somewhere that such large images could cause problems. (and branded on my forehead so that I don't drive me and anyone else crazy looking for answers)
    The full-time Zen Cart Guru. WizTech4ZC.com

  7. #27
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Corrupted product database entry leads to blank product listings

    Quote Originally Posted by delia View Post
    I did not find where I posted it as a problem but have answered posts about it - http://www.zen-cart.com/showthread.p...57#post1137157

    It did start in version 4. That is for sure - and evidenced by the upgrade I just did which included 3 to 4. Since I found no information about it, I assumed then and still assume, most folks don't run into this issue because they don't try to use 1 meg images!

    I don't see that it is necessary to change the mod to accommodate these really large images. But I guess it should be noted somewhere that such large images could cause problems. (and branded on my forehead so that I don't drive me and anyone else crazy looking for answers)
    Thanks for the info.. That post was from two years ago.. I don't see this issue posted often so yeah it's not unlikely that I forgot..

    I suspect this is probably less of an issue with IH4 and possibly in issue because PHP GD - which IH4 relies on for re-sizing/optimizing images - is choking when processing these large images.. I wonder if this is due to memory size limit of the server's PHP processes..

    IMHO it's a poor practice to upload such large images anyway. Perhaps a future enhancement to IH4 could include a method to somehow trap for these extremely large image uploads before they are processed, stop them from being processed, and then display an error message indicating the issue..

    Alas all of this is over my head to execute, but in the upcoming IH4 release (which simply updates the way the images in the IH4 cache are named so they use REAL file names vs the MD5 hash names they have always used..), I will make a double check to make sure that the readme does make a note of this.. (thought it did.. perhaps a more strongly worded message is necessary) Perhaps a note of this on the interface screen as well is in order as a stop-gap measure..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #28
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Corrupted product database entry leads to blank product listings

    Quote Originally Posted by DivaVocals View Post
    Thanks for the info.. That post was from two years ago.. I don't see this issue posted often so yeah it's not unlikely that I forgot..

    I suspect this is probably less of an issue with IH4 and possibly in issue because PHP GD - which IH4 relies on for re-sizing/optimizing images - is choking when processing these large images.. I wonder if this is due to memory size limit of the server's PHP processes..

    IMHO it's a poor practice to upload such large images anyway. Perhaps a future enhancement to IH4 could include a method to somehow trap for these extremely large image uploads before they are processed, stop them from being processed, and then display an error message indicating the issue..

    Alas all of this is over my head to execute, but in the upcoming IH4 release (which simply updates the way the images in the IH4 cache are named so they use REAL file names vs the MD5 hash names they have always used..), I will make a double check to make sure that the readme does make a note of this.. (thought it did.. perhaps a more strongly worded message is necessary) Perhaps a note of this on the interface screen as well is in order as a stop-gap measure..
    Yeah, really poor practice. So many of my customers already have sites so I do a lot of cleanup and training clients. This is more common than one would think.

    And over my head completely. I have never used my brain to figure out why this is happening. Though since I have two servers of my own, it is something we could test out to see if we can overcome it server-wise. (I have may have servers but I'm not a server guru!). Something tells me that we may need a server guru to help!
    The full-time Zen Cart Guru. WizTech4ZC.com

  9. #29
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Corrupted product database entry leads to blank product listings

    But it doesn't happen with imagehandler 3 remember.
    The full-time Zen Cart Guru. WizTech4ZC.com

  10. #30
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Corrupted product database entry leads to blank product listings

    Quote Originally Posted by delia View Post
    But it doesn't happen with imagehandler 3 remember.
    Right.. **dunno** ** shrug**

    I've done some quick research and I believe that the issue is due to some kind of processing limit coming from the GD library.. Over my head to address.. I will add the appropriate text to readme and admin screens..
    Last edited by DivaVocals; 26 Nov 2014 at 03:23 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 3 of 8 FirstFirst 12345 ... LastLast

Similar Threads

  1. v139h Strange blank product listings
    By waterbender in forum General Questions
    Replies: 2
    Last Post: 29 Nov 2013, 04:21 PM
  2. v150 product url seems corrupted
    By alibaba99 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 17 Apr 2012, 09:57 PM
  3. Blank space between product listings
    By tigergirl in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Aug 2007, 08:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR