Forums / Templates, Stylesheets, Page Layout / Blank Page on Add Selected Items to Cart

Blank Page on Add Selected Items to Cart

Locked

Views: 1,757

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
5 Apr 2008, 5:21 PM
#1
dejavu avatar

dejavu

New Zenner

Join Date:
Mar 2008
Posts:
76
Plugin Contributions:
0

Blank Page on Add Selected Items to Cart

http://thewonderofchrist.com/store/index.php?main_page=index&cPath=7&sort=20a&action=multiple_products_add_product

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

http://thewonderofchrist.com/store/index.php?main_page=index&cPath=7&sort=20a&action=multiple_products_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.

5 Apr 2008, 5:27 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Blank Page on Add Selected Items to Cart

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.

6 Apr 2008, 2:35 AM
#3
dejavu avatar

dejavu

New Zenner

Join Date:
Mar 2008
Posts:
76
Plugin Contributions:
0

Re: 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/index.php?main_page=index&cPath=1_6&sort=20a&action=multiple_products_add_product

The mydebug output was:

[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.

:frusty:

6 Apr 2008, 2:44 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Blank Page on Add Selected Items to Cart

dejavu:

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Apr 2008, 1:10 AM
#5
dejavu avatar

dejavu

New Zenner

Join Date:
Mar 2008
Posts:
76
Plugin Contributions:
0

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.

7 Apr 2008, 1:13 AM
#6
dejavu avatar

dejavu

New Zenner

Join Date:
Mar 2008
Posts:
76
Plugin Contributions:
0

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 Apr 2008, 12:52 PM
#7
dejavu avatar

dejavu

New Zenner

Join Date:
Mar 2008
Posts:
76
Plugin Contributions:
0

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.

15 Apr 2008, 8:54 PM
#8
dejavu avatar

dejavu

New Zenner

Join Date:
Mar 2008
Posts:
76
Plugin Contributions:
0

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.