Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

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

    Quote Originally Posted by Nordy View Post
    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

  2. #2
    Join Date
    Mar 2009
    Posts
    5
    Plugin Contributions
    0

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

    Quote Originally Posted by haredo View Post
    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

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

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

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

  4. #4
    Join Date
    May 2008
    Posts
    48
    Plugin Contributions
    0

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

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

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

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

  6. #6
    Join Date
    May 2008
    Posts
    48
    Plugin Contributions
    0

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

    Quote Originally Posted by haredo View Post
    Cu,
    Does the german language pack support thread mention a fix for this???
    uhh? Sorry... where would I find the german language support thread?

  7. #7
    Join Date
    May 2008
    Posts
    48
    Plugin Contributions
    0

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

    Quote Originally Posted by haredo View Post
    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/vb...&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!

  8. #8
    Join Date
    May 2008
    Posts
    48
    Plugin Contributions
    0

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

    Thanks

 

 

Similar Threads

  1. Replies: 1
    Last Post: 16 Mar 2011, 12:12 AM
  2. blank page when adding items to cart
    By kitcorsa in forum General Questions
    Replies: 7
    Last Post: 3 Jun 2009, 01:33 PM
  3. Blank pages .. when creating category and test items.
    By spawnie69 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 12 Feb 2009, 04:57 PM
  4. Blank pages when adding tot he cart and checkout?
    By Dimascus in forum General Questions
    Replies: 8
    Last Post: 7 Jan 2009, 10:26 PM
  5. Blank pages when adding items to cart?
    By uberwench in forum General Questions
    Replies: 2
    Last Post: 13 Sep 2008, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg