Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Blank Screen

    http://thewonderofchrist.com/store/i...ts_add_product

    Whenever, I try to add a product to the shopping cart, the screen goes blank.

    http://thewonderofchrist.com/store/i...ts_add_product

    When I click on a book subcategory, the screen goes blank.

    I don't know where to start with this one.

    Please, advise.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Blank Screen

    Troubleshooting blank pages: https://www.zen-cart.com/tutorials/index.php?article=82 (esp step 2a)
    .

    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
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Blank Page on Add Selected Items to Cart

    I am getting a blank page when I click Add Selected Items to cart on

    http://thewonderofchrist.com/store/i...ts_add_product

    The mydebug output was:

    Code:
    [05-Apr-2008 21:15:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/content/a/d/m/admintwoc/html/store/includes/languages/english.php:1399) in /home/content/a/d/m/admintwoc/html/store/includes/init_includes/init_templates.php on line 78
    [05-Apr-2008 21:15:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/content/a/d/m/admintwoc/html/store/includes/languages/english.php:1399) in /home/content/a/d/m/admintwoc/html/store/includes/functions/functions_general.php on line 44
    Any ideas would be appreciated.


  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Blank Page on Add Selected Items to Cart

    Quote Originally Posted by dejavu View Post
    PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/d/m/admintwoc/html/store/includes/languages/english.php:1399) in ...

    Take a look here for possible solutions

  5. #5
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Blank Page on Add Selected Items to Cart

    I looked in the files. There is no code on the line numbers specified. Also, I have not modified those files, so I don't know why they are not working.

    I thought if was a bug in Zen Cart, but they dismissed it as a bug.

  6. #6
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Blank Page on Add Selected Items to Cart

    Duh. Ok. I missed the part in parenthesis. Thank you. I'll take a look at English.php.

    I was tired. It had been a long, but productive day.

  7. #7
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Blank Page on Add Selected Items to Cart

    Cool. So, I did a clean install on a free hosting server I have. Backed up my english.php. Then I copied over the new english.php. Bug was gone. But, I can't remember everything I did in English.php, so I'm going to do a file comparison on my virtual dedicated server and nail down that pesky bug/typo, because the error indicated was eof.

    Thank you for pointing out to me that I was misreading the error messages.

  8. #8
    Join Date
    Mar 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Blank Page on Add Selected Items to Cart

    I found the problem in my English.php file and checkout_shipping.php. I couldn't modify strings and got errors about EOF.

    Well, turns out there was garage in the bottom of the file after ?>. I just deleted the last line in the file.

    Problem solved.

 

 

Similar Threads

  1. v139h custom 'add selected items to cart' button
    By skylab001 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Apr 2012, 02:29 AM
  2. Getting rid of add selected items to cart
    By scastro in forum Customization from the Admin
    Replies: 9
    Last Post: 2 Jul 2010, 04:25 AM
  3. Replies: 4
    Last Post: 14 Dec 2007, 01:04 AM
  4. Remove "Add Selected Items to Cart" button at top of page & Disabling links
    By ahuacatlan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jul 2007, 04:04 AM

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