Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    13
    Plugin Contributions
    0

    bug 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

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

  3. #3
    Join Date
    Nov 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: when adding item to cart, screen goes blank

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

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

  5. #5
    Join Date
    Nov 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: when adding item to cart, screen goes blank

    Thanks DrByte

    found that empty space.

    Mike

 

 

Similar Threads

  1. v154 Blank screen when attempting to install Zen Cart in Ubuntu 14
    By AlanMason in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 7 Apr 2015, 04:44 PM
  2. v150 While click add to cart button, it goes to blank screen page
    By Rb Arun in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 20 Dec 2013, 03:36 PM
  3. v150 When currency is changed goes blank screen
    By itotree in forum General Questions
    Replies: 1
    Last Post: 23 Feb 2012, 12:57 PM
  4. Blank page when adding item to cart - Help!
    By MachWon in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Oct 2008, 08:06 PM
  5. when i click add to cart the page just goes blank
    By craigpowell in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Sep 2008, 10:34 AM

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