Zen Cart Logo
Forums / General Questions / Blank Pages when adding items or going to cart?

Blank Pages when adding items or going to cart?

Locked

Views: 3,269

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
8 Mar 2009, 1:43 AM
#1
nordy avatar

nordy

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Blank Pages when adding items or going to cart?

This just happened today, I am getting contact blank pages when going to my cart or checkout, can anyone help?

I am not very technical, so any assistance is appreciated.

Thanks

8 Mar 2009, 2:04 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

Nordy:

This just happened today, I am getting contact blank pages when going to my cart or checkout, can anyone help?

I am not very technical, so any assistance is appreciated.

Thanks

No,
Need a link to the site to view please...

  1. Have you uploaded a mod in the last day or so
  2. What were you doing when you noticed this?????
8 Mar 2009, 2:07 AM
#3
nordy avatar

nordy

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

http://circuitmotorsports.net

Thanks for looking

8 Mar 2009, 2:19 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

Nordy:

This just happened today, I am getting contact blank pages when going to my cart or checkout, can anyone help?

I am not very technical, so any assistance is appreciated.

Thanks

No,
Post me the file called:

includes/languages/ your_template/ english.php

Use the [php] tags around the file so it is easy to read, and then use the closing of this tag please

8 Mar 2009, 2:21 AM
#6
nordy avatar

nordy

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

Im seeing this:

[Sat Mar 07 20:08:28 2009] [error] [client 70.119.173.109] File does not exist: /home/circuitm/public_html/includes/templates/theme047/images/head2_bg_left.gif, referer: http://circuitmotorsports.net/index.php?main_page=product_info&cPath=53_55_88&products_id=354
[Sat Mar 07 20:06:47 2009] [error] [client 70.119.173.109] File does not exist: /home/circuitm/public_html/includes/templates/theme047/images/head2_bg_left.gif, referer: http://circuitmotorsports.net/index.php?main_page=
[Sat Mar 07 20:06:14 2009] [error] [client 70.119.173.109] File does not exist: /home/circuitm/public_html/includes/templates/theme047/images/head2_bg_left.gif, referer: http://circuitmotorsports.net/index.php?main_page=product_info&cPath=53_55_88&products_id=354
[Sat Mar 07 20:06:09 2009] [error] [client 70.119.173.109] File does not exist: /home/circuitm/public_html/includes/templates/theme047/images/head2_bg_left.gif, referer: http://circuitmotorsports.net/index.php?main_page=product_info&cPath=53_55_88&products_id=354

This is on the control panel error log.

8 Mar 2009, 2:32 AM
#7
nordy avatar

nordy

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

haredo:

No,
Post me the file called:

includes/languages/ your_template/ english.php

Use the [php] tags around the file so it is easy to read, and then use the closing of this tag please

Sorry I don't know where to even look for this? I have no knowledge about how to access these controls

8 Mar 2009, 2:37 AM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

No,
Seems to be working correctly, What was the fix????

13 Apr 2009, 4:58 PM
#9
clueless_in_berlin avatar

clueless_in_berlin

New Zenner

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

Re: Blank Pages when adding items or going to cart?

Hello,

I am having a problem with blank pages as well. I used the debugging tool and got the following results:

[13-Apr-2009 08:58:43] PHP Warning: Cannot modify header information - headers already sent by (output started at .../html/shop/includes/languages/german/extra_definitions/custom/category_select_defines.php:1) in .../html/shop/includes/functions/functions_general.php on line 44

Line 44 looks like this:

header('Location: ' . $url);

I have the german language pack installed. The problem occurs only on the german side when I update an item in the cart or add an item. A blank page appears. If I press the browser back button, it shows that the update had successfully made the appropriate change in the shopping cart.

I am using version 1.3.8 and PHP Version => 4.3.11.

Today is the first time I have started adding items to the cart so I have no idea which if any of my mods have caused the problem. I am pretty careful with the mods.

Can anyone help me? Unfortunately I cannot post a link because my site is not yet public.

Thank in advance for any help!

13 Apr 2009, 5:09 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Blank Pages when adding items or going to cart?

Cu,
Does the german language pack support thread mention a fix for this???

13 Apr 2009, 5:11 PM
#11
clueless_in_berlin avatar

clueless_in_berlin

New Zenner

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

Re: Blank Pages when adding items or going to cart?

One more thing.

The text showing in the address bar after a successfull cart update on the english side is:

http://www. ... .de/shop/index.php?main_page=shopping_cart

The text showing in the address bar of the blank page that shows up as a result of a cart update on the german side is:

http://www. ... .de/shop/index.php?main_page=shopping_cart&action=update_product

There is that extra "&action=update_product". I don´t know if that gives anybody a clue. It definately doesn´t help me. :unsure:

Thanks

13 Apr 2009, 5:17 PM
#12
clueless_in_berlin avatar

clueless_in_berlin

New Zenner

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

Re: Blank Pages when adding items or going to cart?

haredo:

Cu,
Does the german language pack support thread mention a fix for this???

uhh? Sorry... where would I find the german language support thread?:(

13 Apr 2009, 7:02 PM
#13
clueless_in_berlin avatar

clueless_in_berlin

New Zenner

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

Re: Blank Pages when adding items or going to cart?

haredo:

Cu,
Does the german language pack support thread mention a fix for this???

Hi haredo,

I found a german support thread for my problem:
http://www.zen-cart.at/zcvb/forum/vbglossar.php?do=showentry&catid=11&id=8

It is in german but I managed to struggle through it. My problem is presently fixed. All I needed to do was to convert the file mentioned in the error log to UTF-8 without BOM using a text editor. It was already UTF-8 but with BOM (whatever that means??). So now without BOM the blank page is not bothering me.

Strangely, the german thread mentioned above is exactly the same as the equivilant english "blank page debugging" version with just a bit more info. That little bit more info made the difference. Below is a translation of the little bit that helped:

5. Logfile herunterladen und mit einem Texteditor öffnen.
5. Download error log and open it in a text editor.

In diesem Log steht dann wahrscheinlich sowas ähnliches wie das:
In this error log you will hopefully find something like this:

[15-Oct-2008 14:40:10] PHP Warning: Cannot modify header information - headers already sent by (output started at /homepages/xxx/xxxxx/htdocs/xxx/zen-cart/includes/languages/german.php:11) in /homepages/xxx/xxxxx/htdocs/xxx/zen-cart/includes/init_includes/init_templates.php on line 28

Relevant ist die Datei, die hinter output started at angegeben ist. In diesem Beispiel ist das die includes/languages/german.php. Die Ziffer 11 gibt die Zeile an, in der sich der Fehler befindet.
The revelant file will be just after "output started at". In this example it is the file, includes/languages/german.php. The number 11 represents the line of code where the problem is.

(In my case it was line number 1 because, I am guessing, the whole file was the problem due to the encoding.)

Diese Datei mit einem Texteditor öffnen und auf Leerzeilen (hinter dem php am Schluss), Sonderzeichen, seltsame Zeichen am Anfang und sonstige Fehler überprüfen. Nicht nur die angegebene Zeile überprüfen, sondern alles!
Open the file with a text editor and look for blank lines (after the php at the end), special characters, and strange symbols. (I´m not sure if I translated that properly but you get the idea. Look for mistakes!) Don´t just look for mistakes in the above given line, but look everywhere!

Bei Zen-Cart 1.3.8 ist es wichtig, dass Sprachdateien immer im Format utf-8 ohne BOM abgespeichert werden.
It is important with Zen-Cart 1.3.8 that the language files are always saved in the format "utf-8 ohne BOM". (That was my mistake!)

I hope this can help another poor german-language shop keeper like me!