Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2009
    Posts
    24
    Plugin Contributions
    0

    Default Blank pages when adding tot he cart and checkout?

    Problem: When I add only one product to a Category. If I click on the category in the front end, I get a blank screen. Now if I add 2 products to a category, I can click on the category in the front end and it will bring me to my category listing with the 2 products.

    If I were to add a product to the SHopping Cart, I get the blank screen again.

    Now, if I click the back button, I can click on the Shopping Cart sidebox with the newly added product and get to my Shopping cart.

    Now, if I were to click Checkout, I get the same blank page.

    Is there a way to fix this? I am probably staring at the problem in my Admin settings somewhere and i am just grinding my wheels with an easy fix.

    Please, any help will be greatly appreciated.

    To see this in action: Console-Mods

    ZC Version: 1.3.8a
    pHp Version: 5.2.8
    MYSQL Version: 5.0.67

    No upgrades, straight install to 1.3.8a

    No addons.

    Have only changed the CSS, and english.php (No bad syntax errors)

    I have searched the FAQs for about 2 hours now trying to find the fix, so i wouldnt have to clutter up the boards, but this is my last hope.

    I have also searched on the forums, but I am seeming to have no luck finding this answer. Sorry...

    First Store: This was tested 3 times and payments went through if the product had no description or weight or anything, as if it were "air" I was selling.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank pages when adding tot he cart and checkout?

    Could you make another category and add just one product to it so we can see this?

    Right now, you have just the 1 Category with 2 Products in it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Blank pages when adding tot he cart and checkout?

    There you go. New category with 1 product. Sorry, forgot to include that! Thanks for your reply.

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

    Default Re: Blank pages when adding tot he cart and checkout?

    You can also try the debug utility mentioned in step 2a of this article: https://www.zen-cart.com/tutorials/index.php?article=82
    .

    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.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank pages when adding tot he cart and checkout?

    It does look like a bad file loading ... as it is suppose to jump right to the Product on a Category with 1 product based on the Skip Product Listing setting ...

    And your site is not doing this ...

    The debugger DrByte posted would be a help here ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Blank pages when adding tot he cart and checkout?

    1) Ok, so i ran the Debug for the 1 product category and I got this:

    Code:
    [07-Jan-2009 12:09:01] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home1/mysite/public_html/includes/languages/english.php:1401) in /home1/mysite/public_html/includes/init_includes/init_templates.php on line 78
    [07-Jan-2009 12:09:03] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home1/mysite/public_html/includes/languages/english.php:1401) in /home1/mysite/public_html/includes/functions/functions_general.php on line 44
    1401 has no code on the line.

    Line 78= No code.

    Line 44= No code.


    2) For adding to the Shopping Cart
    &
    3) For the Checkout

    They are the same debugging reports. Anyway to fix this? I think i see that it is getting lost in the mix, from one file to the other. Should I post the lines of code so that you could see?

    Thanks for your help so far.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank pages when adding tot he cart and checkout?

    It probably has space(s) or blank line(s) after the closing php bracket ?> at the end of the file ...

    Try removing them ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jan 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Blank pages when adding tot he cart and checkout?

    Site fixed! thanks guys. Figured it out... there were 2 lines at the bottom of the /english.php, I deleted line 1400 and 1401. The cart is smokin' again!

    Thanks for all your help and the debug tool. How I missed it, i have no clue!

    Thanks again!

    Edit: Just did Ajeh. Thank you!

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank pages when adding tot he cart and checkout?

    Thanks for the update that it was just spaces and blank lines issue on the bottom of a php file following the closing ?> php bracket ... hate those ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. blank pages with some categories and when in cart
    By bobmeetin in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2013, 08:23 AM
  2. Replies: 1
    Last Post: 16 Mar 2011, 12:12 AM
  3. Blank Pages when adding items or going to cart?
    By Nordy in forum General Questions
    Replies: 12
    Last Post: 13 Apr 2009, 08:02 PM
  4. Blank pages when adding items to cart?
    By uberwench in forum General Questions
    Replies: 2
    Last Post: 13 Sep 2008, 03:08 PM
  5. Blank page when add to cart and checkout??! HELP PLEASE!
    By titantechs in forum General Questions
    Replies: 2
    Last Post: 31 Oct 2007, 06:01 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