Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default My site locks up when adding to cart

    I have the latest version. I just noticed that when you click on a banner or add an item to the cart you get the white screen and nothing.
    If you can get the page to refresh... the item is in the cart?

    The site worked with no problems about 5 days ago.
    i dont remember any changes being made.

    We did play around with trying to add a ssl logo

    We recently added an SSL Cert and it appeared to work prior without problems.

    my site..

    http://www.decorfurnituresandiego.com

  2. #2
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: My site locks up when adding to cart

    Oh here is the url when it locks up. This is a case when I added an item to the cart.

    http://decorfurnituresandiego.com/in...on=add_product

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: My site locks up when adding to cart

    Check this, and install the utility and post the log results:

    https://www.zen-cart.com/tutorials/index.php?article=82

    Most blank pages are caused by extra lines or spaces after the closing PHP tag, or unescaped special characters (usually apostrophes) in define text.

  4. #4
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: My site locks up when adding to cart

    [17-Sep-2009 11:08:46] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/e/d/bedtime211/html/includes/languages/english.php:711) in /home/content/b/e/d/bedtime211/html/includes/init_includes/init_templates.php on line 78
    [17-Sep-2009 11:08:46] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/e/d/bedtime211/html/includes/languages/english.php:711) in /home/content/b/e/d/bedtime211/html/includes/functions/functions_general.php on line 44

    also

    [17-Sep-2009 11:08:44] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/e/d/bedtime211/html/includes/languages/english.php:711) in /home/content/b/e/d/bedtime211/html/includes/init_includes/init_templates.php on line 78


    I think its when I was messing with footer. attached is a portion of the file that me messed up..

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: english.php 7440 2007-11-17 21:51:35Z drbyte $
    */

    // FOLLOWING WERE moved to meta_tags.php
    //define('TITLE', 'Zen Cart!');
    //define('SITE_TAGLINE', 'The Art of E-commerce');
    //define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');
    // END: moved to meta_tags.php

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>.
    ');




    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat try 'en_US'
    // on FreeBSD try 'en_US.ISO_8859-1'
    // on Windows try 'en', or 'English'
    @setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: My site locks up when adding to cart

    The english.php file doesn't have 711 lines, so I would check that for extra spaces or lines after the closing PHP tag at the end of the file.

  6. #6
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: My site locks up when adding to cart

    I only sent you the top portion of the file. about 5% of file

    I just tried to send the whole file but it wont take it as it has too many digests/ numbers to put on this help screen.

    did you see anything wrong with the portion I sent you..

  7. #7
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: My site locks up when adding to cart

    OK its fixed. I am sorry I doubted you! You said to delete the extra space at the bottom of the english file. After more searching that is what another person said as well. I thought that you may have been confused about the 700 lines and since I sent only a portion of the file you where confused. I WAS wrong.

    deleting 3 extra blank lines corrected this.

    not sure how they got there?

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: My site locks up when adding to cart

    Most often they're added by whatever file editing tool you're using. A good text editor works best.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 17 Oct 2013, 06:37 PM
  2. Blank page when adding to cart or removing from cart
    By Graphic Content in forum General Questions
    Replies: 6
    Last Post: 9 Apr 2010, 05:55 AM
  3. This one site lags and locks up computer
    By Ripper in forum General Questions
    Replies: 4
    Last Post: 3 Nov 2009, 12:51 AM
  4. Shopping cart empty when adding product to cart?
    By juanitas in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Aug 2009, 11:22 PM
  5. Problem when adding templates to my 1.3.8a site
    By lseibert in forum Addon Templates
    Replies: 6
    Last Post: 26 Sep 2008, 01:33 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