Forums / General Questions / My site locks up when adding to cart

My site locks up when adding to cart

Locked

Views: 643

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
17 Sep 2009, 12:51 AM
#1
bedtime21 avatar

bedtime21

New Zenner

Join Date:
Aug 2009
Posts:
13
Plugin Contributions:
0

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

17 Sep 2009, 10:49 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

17 Sep 2009, 6:34 PM
#4
bedtime21 avatar

bedtime21

New Zenner

Join Date:
Aug 2009
Posts:
13
Plugin Contributions:
0

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 © ' . 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');
17 Sep 2009, 6:52 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

17 Sep 2009, 7:01 PM
#6
bedtime21 avatar

bedtime21

New Zenner

Join Date:
Aug 2009
Posts:
13
Plugin Contributions:
0

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

17 Sep 2009, 7:30 PM
#7
bedtime21 avatar

bedtime21

New Zenner

Join Date:
Aug 2009
Posts:
13
Plugin Contributions:
0

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?**

17 Sep 2009, 8:21 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.