Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2007
    Posts
    438
    Plugin Contributions
    1

    Default getting a blank page when I get to the checkout_process step

    I'm getting a blank page (white-page ) when I get to the checkout_process level of the purchasing process.. where can be the error here?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,020
    Plugin Contributions
    5

    Default Re: until after the checkout_process

    checkout_process is not a display page its a background utility page....

  3. #3
    Join Date
    Nov 2007
    Posts
    438
    Plugin Contributions
    1

    Default Re: until after the checkout_process

    Yah, but why it's coming blank? So this is last words from that page ..
    ...mystore/index.php?main_page=checkout_shipping

    My store contains two languages English and Arabic with the English version it was OK with the Arabic version I couldn't go through out the whole process as I got the black page.. I tried everything to fix that by replacing the Arabic folder for the modules from the Language directory with the English one but that didn't help! any help please ?
    by the way I set the debug file to help me to find out where the problem is and I got this report :

    [23-Aug-2009 03:27:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/arabbro1/public_html/champ/includes/languages/arabic/modules/shipping/freeshipper.php:28) in /home1/arabbro1/public_html/champ/includes/functions/functions_general.php on line 44

  4. #4
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: until after the checkout_process

    Quote Originally Posted by alhakeem2001 View Post
    [23-Aug-2009 03:27:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/arabbro1/public_html/champ/includes/languages/arabic/modules/shipping/freeshipper.php:28) in ...
    I just searched for "headers already sent" in the FAQ area, and came up with this article: http://tutorials.zen-cart.com/index.php?article=87 ... which explains that your problem is likely blank lines you've added on line 28 of the freeshipper.php file, as explained in the error message you posted.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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 2007
    Posts
    438
    Plugin Contributions
    1

    Default Re: getting a blank page when I get to the checkout_process step

    Well I checked my freeshipper.php and there is nothing with it, that is the code :
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | license@zen-cart.com so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    // $Id: freeshipper.php 1969 2005-09-13 06:57:21Z drbyte $
    //
    define('MODULE_SHIPPING_FREESHIPPER_TEXT_TITLE', 'FREE SHIPPING!');

    define('MODULE_SHIPPING_FREESHIPPER_TEXT_DESCRIPTION', 'FREE SHIPPING');

    define('MODULE_SHIPPING_FREESHIPPER_TEXT_WAY', 'Free Shipping Only');
    ?>


    Please help as I still can't view the last page after purchasing the product neither download my MP3s from my other language zencart layout which is in this case the Arabic language ! buy the way my last debug still shows the same error !

  6. #6
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: getting a blank page when I get to the checkout_process step

    So, as the error message says, the problem is on line 28, which is the last line of the file, and as the article I mentioned says, you can't have blank lines after the closing ?> symbols. Fix the blank line problem, and your error problem should go away.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  7. #7
    Join Date
    Nov 2007
    Posts
    438
    Plugin Contributions
    1

    Default Re: getting a blank page when I get to the checkout_process step

    OK I checked it, I don't have any white space after the ?> symbols ! Now what should I do ?

  8. #8
    Join Date
    Nov 2007
    Posts
    438
    Plugin Contributions
    1

    Default Re: getting a blank page when I get to the checkout_process step

    I figured it out , it's the space before the second define on the checkout_shipping.php ... Thank you for your help


    define('FREE_SHIPPING_TITLE', 'توصيل\شحن مجاني');
    << define('FREE_SHIPPING_DESCRIPTION', 'شحن مجاني للطلبات بقيمة أكثر من %s');

    ?>

 

 

Similar Threads

  1. Blank Page in Step 2
    By KyleYates in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 16 Apr 2009, 12:15 PM
  2. Step 3 brings me to blank page
    By chris32882 in forum PayPal Express Checkout support
    Replies: 13
    Last Post: 11 Nov 2008, 09:55 AM
  3. blank page after upgrading - checkout_process page
    By askmefor in forum Upgrading from 1.3.x to 1.3.9
    Replies: 36
    Last Post: 1 Jan 2008, 05:00 PM
  4. PROTX, checkout_process.html is blank when loaded
    By craig-heavygoods in forum Built-in Shipping and Payment Modules
    Replies: 19
    Last Post: 10 Dec 2007, 04:33 PM
  5. Blank Page After Step 3 of Checkout
    By bpickett in forum General Questions
    Replies: 27
    Last Post: 21 Oct 2006, 03:19 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
  •