Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Location
    Montreal, Qc
    Posts
    51
    Plugin Contributions
    0

    Default Blank page issue: I can't debug

    Hi, I'm having problem with the test version of my website. It seems like the common problem people have with blank pages: everything looks fine except when they log, add to the cart, etc... That problem appeared months ago but since it was only the test version, I let it go and worked on the real website directly instead.

    The problem is that now we're changing template and I really need the test version. I found the FAQ (https://www.zen-cart.com/tutorials/index.php?article=82) and tried 2a and 2b but I can't get any error messages for either.

    Does anyone has any ideas why the messages wouldn't appear?

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

    Default Re: Blank page issue: I can't debug

    Did you set folder permissions so that the debug logs could be generated?
    .

    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. #3
    Join Date
    Nov 2007
    Location
    Montreal, Qc
    Posts
    51
    Plugin Contributions
    0

    Default Re: Blank page issue: I can't debug

    I knew this was going to be something basic like that but I was so deep into it, I couldn't see anything.

    Thank you very much! Now, that explains one issue but still doesn't explain why I couldn't see errors on screen. Still, I now have a place to start my research for the bug so that might not be necessary.

  4. #4
    Join Date
    Nov 2007
    Location
    Montreal, Qc
    Posts
    51
    Plugin Contributions
    0

    Default Re: Blank page issue: I can't debug

    Quick update, I did find the problem so everything's cool!

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Blank page issue: I can't debug

    Care to share?

    No doubt others will run into the same problem(s) you did and knowing how you fixed it may help them also.

  6. #6
    Join Date
    Nov 2007
    Location
    Montreal, Qc
    Posts
    51
    Plugin Contributions
    0

    Default Re: Blank page issue: I can't debug

    The root of all my problems seems to lie within the file transfers. I don't think my FTP program is all that good because the file doesn't always transfer ok. Anyway, after changing my folder permissions, I checked one of the debug file and read that my bug was in the file configure.php at the line 67. I opened the file and saw that my code ended at line 65 and had two blank lines. I deleted both and voilą!

    My theory is that a faulty file transfer created one or more invisible characters which somehow prevented the file to work properly. So my recommandations are these:

    1- Make sure you have a good FTP program to avoid all of this.
    2- Use the Error Logging Utility
    3- If the utility doesn't work, pray to a god that knows PHP because if bug can be a blank line, debugging just got a whole lot harder!

 

 

Similar Threads

  1. Iridium Module - Blank Page - Debug Error
    By katea in forum Addon Payment Modules
    Replies: 3
    Last Post: 11 Jun 2010, 08:49 PM
  2. Blank Page Error - Debug Result. Help?
    By avastyebucs in forum General Questions
    Replies: 4
    Last Post: 27 Aug 2009, 08:43 PM
  3. Blank page debug also blank!
    By juliavdw in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 19 May 2009, 01:54 AM
  4. Blank page, debug not working
    By gothstone in forum General Questions
    Replies: 1
    Last Post: 6 Feb 2009, 11:01 PM
  5. Please see my debug error - blank page
    By paigesjewelry in forum General Questions
    Replies: 1
    Last Post: 4 Jan 2009, 02:32 AM

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