Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    71
    Plugin Contributions
    0

    Default White Screen on add to cart

    I am getting a white screen when adding any item to my cart. Turning on STRICT_ERROR_REPORTING gives me this on the white screen:
    Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home/adkref/public_html/includes/languages/english/email_extras.php on line 52

    Warning: Cannot modify header information - headers already sent by (output started at /home/adkref/public_html/includes/languages/english/email_extras.php:52) in /home/adkref/public_html/includes/init_includes/init_templates.php on line 78

    Warning: Cannot modify header information - headers already sent by (output started at /home/adkref/public_html/includes/languages/english/email_extras.php:52) in /home/adkref/public_html/includes/functions/functions_general.php on line 44

    Notice: Object of class queryFactoryResult could not be converted to int in /home/adkref/public_html/includes/functions/functions_general.php on line 19
    The URL it's reaching is: index.php?main_page=product_info&cPath=3_64&products_id=46&action=add_product

    Zen Cart 1.3.8a
    New install
    EasyPopulate addon
    Last edited by HDG; 8 May 2009 at 09:23 PM.

  2. #2
    Join Date
    Jul 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: White Screen on add to cart

    We're using the default template, just with different images.

    It also white screens on account creation, although the account does get created.
    Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home/adkref/public_html/includes/languages/english/email_extras.php on line 52

    Warning: Cannot modify header information - headers already sent by (output started at /home/adkref/public_html/includes/languages/english/email_extras.php:52) in /home/adkref/public_html/includes/init_includes/init_templates.php on line 78

    Notice: Constant HEADING_TITLE already defined in /home/adkref/public_html/includes/languages/english/create_account_success.php on line 12

    Notice: Undefined index: nick in /home/adkref/public_html/includes/modules/create_account.php on line 51

    Notice: Undefined index: state in /home/adkref/public_html/includes/modules/create_account.php on line 59

    Notice: Undefined index: customers_referral in /home/adkref/public_html/includes/modules/create_account.php on line 70

    Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/adkref/public_html/includes/functions/sessions.php on line 167

    Notice: A session had already been started - ignoring session_start() in /home/adkref/public_html/includes/functions/sessions.php on line 174

    Notice: Undefined index: EMAIL_TO_NAME in /home/adkref/public_html/includes/functions/functions_email.php on line 83

    Notice: Undefined index: EMAIL_TO_ADDRESS in /home/adkref/public_html/includes/functions/functions_email.php on line 84

    Notice: Undefined index: EMAIL_SUBJECT in /home/adkref/public_html/includes/functions/functions_email.php on line 85

    Notice: Undefined index: EMAIL_FROM_NAME in /home/adkref/public_html/includes/functions/functions_email.php on line 86

    Notice: Undefined index: EMAIL_FROM_ADDRESS in /home/adkref/public_html/includes/functions/functions_email.php on line 87

    Notice: Undefined index: EMAIL_STORE_NAME in /home/adkref/public_html/includes/functions/functions_email.php on line 424

    Notice: Undefined index: EMAIL_STORE_URL in /home/adkref/public_html/includes/functions/functions_email.php on line 425

    Notice: Undefined index: EMAIL_STORE_OWNER in /home/adkref/public_html/includes/functions/functions_email.php on line 426

    Notice: Undefined index: EMAIL_FOOTER_COPYRIGHT in /home/adkref/public_html/includes/functions/functions_email.php on line 427

    Notice: Undefined index: EMAIL_SPAM_DISCLAIMER in /home/adkref/public_html/includes/functions/functions_email.php on line 429

    Notice: Undefined index: BASE_HREF in /home/adkref/public_html/includes/functions/functions_email.php on line 430

    Notice: Undefined index: EMAIL_DATE_SHORT in /home/adkref/public_html/includes/functions/functions_email.php on line 431

    Notice: Undefined index: EMAIL_DATE_LONG in /home/adkref/public_html/includes/functions/functions_email.php on line 432

    Notice: Undefined index: CHARSET in /home/adkref/public_html/includes/functions/functions_email.php on line 433

    Notice: Undefined index: COUPON_TEXT_VOUCHER_IS in /home/adkref/public_html/includes/functions/functions_email.php on line 440

    Notice: Undefined index: GV_WORTH in /home/adkref/public_html/includes/functions/functions_email.php on line 445

    Notice: Undefined variable: email_reply_to_address in /home/adkref/public_html/includes/functions/functions_email.php on line 219

    Notice: Undefined variable: email_reply_to_name in /home/adkref/public_html/includes/functions/functions_email.php on line 220

    Notice: Undefined index: EMAIL_TO_NAME in /home/adkref/public_html/includes/functions/functions_email.php on line 83

    Notice: Undefined index: EMAIL_TO_ADDRESS in /home/adkref/public_html/includes/functions/functions_email.php on line 84

    Notice: Undefined index: EMAIL_SUBJECT in /home/adkref/public_html/includes/functions/functions_email.php on line 85

    Notice: Undefined index: EMAIL_FROM_NAME in /home/adkref/public_html/includes/functions/functions_email.php on line 86

    Notice: Undefined index: EMAIL_FROM_ADDRESS in /home/adkref/public_html/includes/functions/functions_email.php on line 87

    Notice: Undefined index: EMAIL_STORE_NAME in /home/adkref/public_html/includes/functions/functions_email.php on line 424

    Notice: Undefined index: EMAIL_STORE_URL in /home/adkref/public_html/includes/functions/functions_email.php on line 425

    Notice: Undefined index: EMAIL_STORE_OWNER in /home/adkref/public_html/includes/functions/functions_email.php on line 426

    Notice: Undefined index: EMAIL_FOOTER_COPYRIGHT in /home/adkref/public_html/includes/functions/functions_email.php on line 427

    Notice: Undefined index: EMAIL_SPAM_DISCLAIMER in /home/adkref/public_html/includes/functions/functions_email.php on line 429

    Notice: Undefined index: BASE_HREF in /home/adkref/public_html/includes/functions/functions_email.php on line 430

    Notice: Undefined index: EMAIL_DATE_SHORT in /home/adkref/public_html/includes/functions/functions_email.php on line 431

    Notice: Undefined index: EMAIL_DATE_LONG in /home/adkref/public_html/includes/functions/functions_email.php on line 432

    Notice: Undefined index: CHARSET in /home/adkref/public_html/includes/functions/functions_email.php on line 433

    Notice: Undefined index: COUPON_TEXT_VOUCHER_IS in /home/adkref/public_html/includes/functions/functions_email.php on line 440

    Notice: Undefined index: GV_WORTH in /home/adkref/public_html/includes/functions/functions_email.php on line 445

    Notice: Undefined variable: email_reply_to_address in /home/adkref/public_html/includes/functions/functions_email.php on line 219

    Notice: Undefined variable: email_reply_to_name in /home/adkref/public_html/includes/functions/functions_email.php on line 220

    Warning: Cannot modify header information - headers already sent by (output started at /home/adkref/public_html/includes/languages/english/email_extras.php:52) in /home/adkref/public_html/includes/functions/functions_general.php on line 44

    Notice: Object of class queryFactoryResult could not be converted to int in /home/adkref/public_html/includes/functions/functions_general.php on line 19

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,717
    Plugin Contributions
    6

    Default Re: White Screen on add to cart

    Quote Originally Posted by HDG View Post
    I am getting a white screen when adding any item to my cart. Turning on STRICT_ERROR_REPORTING gives me this on the white screen:

    The URL it's reaching is: index.php?main_page=product_info&cPath=3_64&products_id=46&action=add_product

    Zen Cart 1.3.8a
    New install
    EasyPopulate addon
    Check for space(s) or blank line(s) at the end of the file:
    email_extras.php

    following the closing php tag ?> and remove them ...

    In the Tools ... Developers Tool Kit ... in the bottom input box enter:
    OFFICE_IP_TO_HOST_ADDRESS

    select Catalog and click search ...

    What comes up for you on where this is defined?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Jul 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: White Screen on add to cart

    Searching 621 files ... for: OFFICE_IP_TO_HOST_ADDRESS

    /home/adkref/public_html/includes/functions/functions_email.php

    Line #477 : $email_host_address = OFFICE_IP_TO_HOST_ADDRESS;

    /home/adkref/public_html/includes/init_includes/init_sessions.php

    Line #82 : $_SESSION['customers_host_address'] = OFFICE_IP_TO_HOST_ADDRESS;

    /home/adkref/public_html/includes/languages/english/email_extras.php

    Line #24 : if (!defined('OFFICE_IP_TO_HOST_ADDRESS')) define('OFFICE_IP_TO_HOST_ADDRESS', 'OFF');

    Line #51 : define('OFFICE_IP_TO_HOST_ADDRESS', 'Disabled');
    Deleted any extra spaces in that file (didn't see any).

    Didn't fix it.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,717
    Plugin Contributions
    6

    Default Re: White Screen on add to cart

    Did you try the Debug Tool in the Free Software Add Ons ... that can be really handy ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Jul 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: White Screen on add to cart

    Installed that.

    [root@server cache]# cat myDEBUG-1242058118.log
    [11-May-2009 12:08:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/adkref/public_html/includes/languages/english.php:1401) in /home/adkref/public_html/includes/init_includes/init_templates.php on line 78
    [11-May-2009 12:08:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/adkref/public_html/includes/languages/english.php:1401) in /home/adkref/public_html/includes/functions/functions_general.php on line 44

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,717
    Plugin Contributions
    6

    Default Re: White Screen on add to cart

    Are you positive you do not have space(s) or blank line(s) after the closing php tag ?> in the file:
    /includes/languages/english.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. My website is gone - white screen PLS HELP!
    By LAVA in forum General Questions
    Replies: 9
    Last Post: 9 Nov 2009, 04:15 PM
  2. Add this to my cart button not working ( white screen )
    By brianrudie in forum Managing Customers and Orders
    Replies: 2
    Last Post: 1 Apr 2009, 06:08 PM
  3. White Screen of Death (again)
    By jnellie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Dec 2008, 03:09 PM
  4. White Screen Fedex or Paypal?
    By microtribe in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 23 Apr 2008, 11:41 PM
  5. New installation white screen issue
    By jetx in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 10 Apr 2008, 08:02 AM

Bookmarks

Posting Permissions

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