Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    8
    Plugin Contributions
    0

    Default 2 Blank Pages? - Debug not reporting errors

    Hi,

    I have a weird problem which I can't seem to be able to debug.

    I installed the Debug Error Logging Utility and set the Cache folder to writeable but there is no log so I assume no error is being triggered.

    There are no errors in the server log and also no fatal errors when I created a configure.php file.

    The blank pages are

    http://www.prbooks.co.uk/index.php?m...rt=20a&page=19

    AND

    http://www.prbooks.co.uk/index.php?m...rt=20a&page=20

    As you can see the pages which don't show are 19 and 20. 1 -18 and 21-onwards all seem to work fine.

    Can anyone give me any advice on how to find the error or sort this problem.

    Thanks very much

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: 2 Blank Pages? - Debug not reporting errors

    Looks like you're doing what I was going to suggest - disable the products starting at the top of page 19 until the page comes back. Page 20 works now.

  3. #3
    Join Date
    Oct 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: 2 Blank Pages? - Debug not reporting errors

    Hi Steve,

    Yes - I am disabling products until it works correctly.

    I have identified 6 products where, if I disable them, it works correctly?!

    They are all in a group, if I enable the first, or the 6th, or any in between, then it falls over again.

    I am guessing it's something to do with the images linked to them? - At least I've got something to be going on now.

    Thanks for taking the time to look

  4. #4
    Join Date
    Oct 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: 2 Blank Pages? - Debug not reporting errors

    Just a quick update.

    I haven't checked the other 5 images yet but the first one I looked at was 2.36mb!

    So looks like it was to do with having images linked to the products which were larger than 'x'

    Does anyone know what 'x' is? - Or is it to do with my 'Image Handler 2' mod?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: 2 Blank Pages? - Debug not reporting errors

    Probably your image-handler addon is having trouble processing the images for you, likely because they're huge and it's blowing out the available memory configured by your server.
    IH errors won't be recorded in debug logs.
    The solution is almost certainly to use sane size images.

    If there's an option, you could try turning IH off briefly to see whether all your products show properly without having to be disabled.
    .

    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.

  6. #6
    Join Date
    Oct 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: 2 Blank Pages? - Debug not reporting errors

    Now I know what the problem was, I have been doing a bit more research in to this issue.

    There is actually a thread at http://www.zen-cart.com/forum/showth...=110051&page=2 which talks about pretty much the issue I was having.

    To summarise for anyone who happens to stumble upon this thread in the future - it appears Image Handler fails on Image Size rather than Image Resolution

    Quote Originally Posted by beasleybub View Post
    I cranked down the image dimensions with irfranview bit by bit until everything started working again.

    I went from a height and width of 2048 X 3072 down to 1900 X 2850 and volia.
    I haven't tested this but I will assume it to be correct.

    Thanks for your time DrByte and Steve
    Last edited by WayOnHigh; 15 Mar 2010 at 09:17 PM.

 

 

Similar Threads

  1. Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found
    By JacobBushnell in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Jun 2011, 06:34 PM
  2. Tried Debug Error Logging- no results, Blank Pages
    By pointwise in forum General Questions
    Replies: 16
    Last Post: 21 Oct 2009, 04:45 PM
  3. Getting a blank page, debug error-logging not working
    By credenscel in forum General Questions
    Replies: 7
    Last Post: 26 Jul 2009, 07:32 PM
  4. Blank page, debug not working
    By gothstone in forum General Questions
    Replies: 1
    Last Post: 6 Feb 2009, 11:01 PM

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