Forums / Templates, Stylesheets, Page Layout / when adding item to cart, screen goes blank

when adding item to cart, screen goes blank

Locked

Views: 2,292

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Nov 2008, 2:23 AM
#1
kurvemedia avatar

kurvemedia

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

when adding item to cart, screen goes blank

I'm developing a store and im having a major problem. when i click on the add to my cart button, instead of showing the cart with the item in it, it goes to a blank page. but if you hit the back button in the browser, it shows up in the cart in the sidebar of the site. if you go to the following link and add an item to the cart you will be able to see what i mean.

http://blockstaronline.com/shop/

Thanks in advance.

Mike

19 Nov 2008, 2:24 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: when adding item to cart, screen goes blank

FAQ on blank pages: https://www.zen-cart.com/tutorials/index.php?article=82 -- see the Debug Logging utility mentioned there.

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

19 Nov 2008, 4:24 AM
#3
kurvemedia avatar

kurvemedia

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: when adding item to cart, screen goes blank

i installed hte debug utility, and the error log i get is

[18-Nov-2008 18:55:18] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/n/g/angelperez/html/shop/includes/languages/english.php:1401) in /home/content/a/n/g/angelperez/html/shop/includes/init_includes/init_templates.php on line 78
[18-Nov-2008 18:55:18] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/n/g/angelperez/html/shop/includes/languages/english.php:1401) in /home/content/a/n/g/angelperez/html/shop/includes/functions/functions_general.php on line 4

what i don't understand is i didn't make any abnormal changes to the english.php, i didn't change any of the code and i have never touched the functions_general.php file.

Thanks
Mike

19 Nov 2008, 8:39 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: when adding item to cart, screen goes blank

KurveMedia:

[18-Nov-2008 18:55:18] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/n/g/angelperez/html/shop**/includes/languages/english.php:1401**) in ...Searching for that error message in the FAQ area brings up this article: https://www.zen-cart.com/tutorials/index.php?article=87

KurveMedia:

what i don't understand is i didn't make any abnormal changes to the english.php,
"abnormal changes" ... perhaps you didn't intentionally do anything abnormal, but it seems your editor did.
As per the FAQ article, you've likely got extra blank lines at the end of the file.

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

20 Nov 2008, 12:34 AM
#5
kurvemedia avatar

kurvemedia

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: when adding item to cart, screen goes blank

Thanks DrByte

found that empty space.

Mike