Forums / General Questions / Add to cart button shows blank page

Add to cart button shows blank page

Locked

Views: 20,255

Results 21 to 38 of 38
This thread is locked. New replies are disabled.
21 Apr 2008, 7:54 PM
#21
robo26 avatar

robo26

New Zenner

Join Date:
Feb 2008
Posts:
20
Plugin Contributions:
0

Add to cart button shows blank page

try looking at the end of the four files mentioned in your post for any blank links. The best way to do this is to use an editor that shows line numbers.

21 Apr 2008, 9:28 PM
#22
itzthepitz avatar

itzthepitz

New Zenner

Join Date:
Apr 2008
Location:
Boise, Idaho
Posts:
18
Plugin Contributions:
0

Re: Add to cart button shows blank page

Hmmm...similar situation here:

[21-Apr-2008 17:06:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/t/z/itzthepitz/html/store/includes/languages/english.php:1161) in /home/content/i/t/z/itzthepitz/html/store/includes/init_includes/init_templates.php on line 78

[21-Apr-2008 17:06:34] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/t/z/itzthepitz/html/store/includes/languages/english.php:1161) in /home/content/i/t/z/itzthepitz/html/store/includes/init_includes/init_templates.php on line 78

[21-Apr-2008 17:06:34] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/t/z/itzthepitz/html/store/includes/languages/english.php:1161) in /home/content/i/t/z/itzthepitz/html/store/includes/functions/functions_general.php on line 44

Oddly enough I went in and removed whitespace on the lines in question and although the errors aren't reporting via the debugger, the problem persists.

Any ideas? :dontgetit

Thank you! :smile:

~ k a t h y ~
**ItzThePitz**
handmade body wraps and beyond...

22 Apr 2008, 12:26 PM
#23
robo26 avatar

robo26

New Zenner

Join Date:
Feb 2008
Posts:
20
Plugin Contributions:
0

Re: Add to cart button shows blank page

ItzThePitz:

Hmmm...similar situation here:

[21-Apr-2008 17:06:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/t/z/itzthepitz/html/store/includes/languages/english.php:1161) in /home/content/i/t/z/itzthepitz/html/store/includes/init_includes/init_templates.php on line 78

[21-Apr-2008 17:06:34] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/t/z/itzthepitz/html/store/includes/languages/english.php:1161) in /home/content/i/t/z/itzthepitz/html/store/includes/init_includes/init_templates.php on line 78

[21-Apr-2008 17:06:34] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/t/z/itzthepitz/html/store/includes/languages/english.php:1161) in /home/content/i/t/z/itzthepitz/html/store/includes/functions/functions_general.php on line 44

Oddly enough I went in and removed whitespace on the lines in question and although the errors aren't reporting via the debugger, the problem persists.

Any ideas? :dontgetit

Thank you! :smile:

Not sure without seeing the actual files, but it wasn't so much whitespace removal that worked for me, it was additional blank lines at the end of the files, have you checked for this?

If you still have trouble, send me the files mentioned and I will have a look for you.

regards

Jon
https://www.jnkservices.co.uk
https://www.jnkhosting.co.uk

29 Apr 2008, 6:49 AM
#24
gabbytwin avatar

gabbytwin

Zen Follower

Join Date:
Jun 2005
Posts:
94
Plugin Contributions:
0

Re: Add to cart button shows blank page

Thankyou so much I was able to fix my shop
the problem was
includes/languages/english.php
at the very bottom of the file there were 2 blank lines once i deleted them so the last line in the file was only had
?>

it now works !!

6 Aug 2008, 3:09 PM
#25
feesworld avatar

feesworld

New Zenner

Join Date:
Oct 2006
Posts:
2
Plugin Contributions:
0

Re: Add to cart button shows blank page

I just wanted to add to this thread, as I came across it while looking for a possible solution.

My system was working absolutely fine, until I changed the english.php file (unfortunately, I had done several modifications at the same time, without feeling the need to recheck the shop). I'm not sure how but I must have done something. When I clicked on Add to Cart, Add Review or Checkout (from the shopping basket), I was sent to a blank page.

I ran the Debug tool, and got a headers already sent error for my languages/mytemplate/english.php.

I removed the english.php from includes/languages/mytemplate, so that it went back to use the default, and all works fine again.

I'm figuring I've deleted or added something somewhere in there, will go and see when I get the chance, but for now it's working, so it can stay that way until I get more time!

:clap:

6 Aug 2008, 4:36 PM
#26
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add to cart button shows blank page

Thanks for the update ... let us know what you discover the problem is as it really helps others to see real life examples on these errors ... :smile:

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!]
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!

28 Oct 2008, 9:51 AM
#27
evotactical avatar

evotactical

New Zenner

Join Date:
Dec 2007
Posts:
25
Plugin Contributions:
0

Re: Add to cart button shows blank page

Hello everyone! I had the EXACT SAME PROBLEM and did what the gentlemen quoted below and fixed the problem, thank you so much! I hope this helps someone else cause this problem is just outright scary and annoying but easy to fix!

robo26:

I had exactly the same problem, I followed the various advice here and was about to give up. But finally found a couple of extra lines at the end of includes/languages/english.php if that is any help, once removed the site worked again!

Thanks to all for the advice, great to see professionals prepared to help us mere mortals!:yes:

29 Oct 2008, 3:40 AM
#28
awhfy99 avatar

awhfy99

Zen Follower

Join Date:
Feb 2007
Location:
Burleson. Texas
Posts:
196
Plugin Contributions:
0

Re: Add to cart button shows blank page

I had the same thing happen and what caused it was a missing single quote in one of the fields I had edited. So be VERY careful about checking each line after you edit .

Along the same lines of the blank white page, I just had it happen when I installed and activated the qty discount mod. May be because all of my test products are virtual and they are all priced by attributes. Don't really need the mod so I did not research it any futher.

Dennis
www.stampdays.com
Over 80,000 stamps and still growing!

7 Nov 2008, 1:21 AM
#29
tburns avatar

tburns

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

Re: Add to cart button shows blank page

wkrein:

I just had that same issue. Open the first mentioned file in an editor and check if there are empty lines after the last "?>"
I had 2 empty lines. Deleted them and now everything works like a charm again. :clap:

I had the same issue and this fixed it! - thanks for saving me many hours of grief!!:smile:

7 Nov 2008, 5:41 PM
#30
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add to cart button shows blank page

Thanks for the update that this was able to help you out ... :smile:

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!]
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!

27 May 2009, 9:35 PM
#31
ace1000 avatar

ace1000

New Zenner

Join Date:
May 2008
Posts:
2
Plugin Contributions:
0

Re: Add to cart button shows blank page

Clicking "Add to Cart" button was throwing an empty page.

Removed two extra empty lines at the bottom of
includes/languages/english/header.php

Uploaded the header.php file.

PROBLEM SOLVED.

28 May 2009, 3:07 PM
#32
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add to cart button shows blank page

Thanks for the update that the dreaded space(s) and/or blank line(s) after the closing php tag ?> had got you ... and that you were able to correct this to fix the blank white page from happening ... :smile:

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!]
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!

28 May 2009, 11:05 PM
#33
lwilliams374 avatar

lwilliams374

New Zenner

Join Date:
Apr 2006
Location:
Florida
Posts:
13
Plugin Contributions:
0

Re: Add to cart button shows blank page

Ajeh:

Thanks for the update that the dreaded space(s) and/or blank line(s) after the closing php tag ?> had got you ... and that you were able to correct this to fix the blank white page from happening ... :smile:

I just started having issues with this. I am not quite sure when, where, and how it happened. I am still a newbie.. and an idiot. :)

I deleted the extra spaces at the bottom of the header file. I even deleted the extra spaces in the meta tags folder since I was working in that folder the same day. I cant find any missing ; or '.

I still get blank page when you go to view the cart. http://www.itswinetime.com/store/index.php?main_page=shopping_cart

Help?

29 May 2009, 12:12 AM
#34
lwilliams374 avatar

lwilliams374

New Zenner

Join Date:
Apr 2006
Location:
Florida
Posts:
13
Plugin Contributions:
0

Re: Add to cart button shows blank page

lwilliams374:

I just started having issues with this. I am not quite sure when, where, and how it happened. I am still a newbie.. and an idiot. :)

I deleted the extra spaces at the bottom of the header file. I even deleted the extra spaces in the meta tags folder since I was working in that folder the same day. I cant find any missing ; or '.

I still get blank page when you go to view the cart. http://www.itswinetime.com/store/index.php?main_page=shopping_cart

Help?

FIXED - im an idiot. I was adding the description above the shopping cart to describe the checkout process and deleted a ,'

29 May 2009, 3:05 PM
#35
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add to cart button shows blank page

Thanks for the update and for posting the solution ... :smile:

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!]
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!

10 Jun 2009, 1:47 PM
#36
spiritcraft avatar

spiritcraft

New Zenner

Join Date:
May 2009
Posts:
34
Plugin Contributions:
0

Re: Add to cart button shows blank page

I had this same problem... it was caused by extra lines at the end of rl.vat_info.php after installing the dynamic price updater add on....

24 Aug 2009, 6:24 AM
#37
rondastrope avatar

rondastrope

New Zenner

Join Date:
Aug 2009
Posts:
1
Plugin Contributions:
0

Re: Add to cart button shows blank page

I am having the same problem and my cart was set up by someone else and I know nothing about it. I have no idea how to fix the issue of a blank page after you click add to cart. Is there anyone who will help fix this issue? I am willing to pay someone if it won't cost me an arm and a leg.

I don't have the time to try and get this issue fixed my self as my niece passed away last week and my mom is in ICU.

TIA Ronda
[email protected]

24 Aug 2009, 2:27 PM
#38
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add to cart button shows blank page

You could post in the Commercial Help Wanted if you need someone to do the work for you ... :smile:

If you want to try this yourself, then get the Debug Tool in the Free Software Add Ons and see if that helps show you where some errors are ...

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!]
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!