Forums / Templates, Stylesheets, Page Layout / Blank page after adding item to shopping cart

Blank page after adding item to shopping cart

Locked

Views: 2,912

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
19 Nov 2008, 6:44 AM
#1
jcountryman avatar

jcountryman

New Zenner

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

Blank page after adding item to shopping cart

Hi,

I installed and ran the debugger, but I'm not savvy enough (and have the flu) to go through each and every page. I uploaded the index.php and english.php files and it's still producing a blank page when an item is uploaded to the shopping cart. Items are placed in the cart just fine though.

Here's the sequence of events:

  1. Added the newsletter subscription add on module
  2. Changed the shopping cart status to always display in the header along with checkout link.
  3. Customer flagged me about the page load error
  4. Uninstalled the newsletter subscription module and .php files
  5. Re-uploaded the index.php and english.php files that were overwritten in the newsletter sub module install.
  6. Pulling my hair out.:frusty:

The site is at https://www.chakrachack.com

Any insight would be much appreciated :)

19 Nov 2008, 6:50 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Blank page after adding item to shopping cart

You dont need to go through every page, with the debug mode on, you just have to add them item to the shopping cart, that will trigger the error. The error will then be written to the appropriate file(or print out on screen, depend on your debug method)

Dont worry about all the notices and warnings, look for "fatal error", if you dont understand the meaning of that fatal error, post it here and we can help you,

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Nov 2008, 7:10 AM
#3
jcountryman avatar

jcountryman

New Zenner

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

Re: Blank page after adding item to shopping cart

Hey, thanks for the reply!

Here are a couple of the error messages:
[18-Nov-2008 20:49:03] PHP Warning: Cannot modify header information - headers already sent by
(output started at /home/content/c/h/a/chakrachack2/html/includes/languages/english.php:1401)
in /home/content/c/h/a/chakrachack2/html/includes/init_includes/init_templates.php on line 78

[18-Nov-2008 20:53:24] PHP Warning: Cannot modify header information - headers already sent
by (output started at /home/content/c/h/a/chakrachack2/html/includes/languages/english.php:1401)
in /home/content/c/h/a/chakrachack2/html/includes/functions/functions_general.php on line 44

So what do I do now?

19 Nov 2008, 7:13 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Blank page after adding item to shopping cart

Check this file:

includes/languages/english.php online 1401, maybe something is wrong there? If not, look a few lines above as well.

You may zip the file and attach it here as well.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Nov 2008, 6:16 PM
#5
jcountryman avatar

jcountryman

New Zenner

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

Re: Blank page after adding item to shopping cart

Ok--here's the zipped file. I reuploaded these two files and still get the same errors. I'm not quite sure what I'm looking for since I really don't know PHP.

19 Nov 2008, 6:20 PM
#6
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Blank page after adding item to shopping cart

How about this file:
includes/languages/english.php

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Nov 2008, 6:28 PM
#7
jcountryman avatar

jcountryman

New Zenner

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

Re: Blank page after adding item to shopping cart

Oops--here you go...

19 Nov 2008, 6:40 PM
#8
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Blank page after adding item to shopping cart

Go to the bottom of this file, you will see some blank lines after ?>

Delete all these blank lines, you can even ?> as well.

These lines probably caused by either your editor or your ftp client.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Nov 2008, 6:46 PM
#9
jcountryman avatar

jcountryman

New Zenner

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

Re: Blank page after adding item to shopping cart

That worked! Thank you so very much!
:clap:

6 Feb 2010, 3:09 PM
#11
monak83 avatar

monak83

New Zenner

Join Date:
Mar 2007
Posts:
15
Plugin Contributions:
0

Re: Blank page after adding item to shopping cart

Also me I have this problem...but I can't solve.
I'm using zen cart 1.3.6 and my site is www.bagnobagno.com.
Can someone help me?
Regards Marco