Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    36
    Plugin Contributions
    0

    Default checkout_shipping showing a blank page...

    I've figured out what the problem is, but not the solution.

    I have edited the includes/languages/english/modules/shipping/flat.php file from this:

    PHP Code:

    define
    ('MODULE_SHIPPING_FLAT_TEXT_TITLE''Flat Rate');

    define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION''Flat Rate');

    define('MODULE_SHIPPING_FLAT_TEXT_WAY''Best Way'); 
    To this:

    PHP Code:
    define('MODULE_SHIPPING_FLAT_TEXT_TITLE''United States Postal Service');

    define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION''Flat Rate');

    define('MODULE_SHIPPING_FLAT_TEXT_WAY''Flat Rate Priority Mail (2 - 3 days)'); 
    And uploaded the edited flat.php to my overrides folder here: includes/languages/english/modules/shipping/smarmy/flat.php

    This shows up all fine and dandy on the shipping estimator and on the shopping cart page, but when I try to proceed to checkout_shipping, I get a blank page.

    If I get rid of the flat.php override, checkout works fine.

    I found this thread, so I tried making an override in the modules to match the override in the languages like so:

    /includes/modules/shipping/smarmy/flat.php

    I didn't make any edits to that file, because I wasn't sure if I needed to. I'm still having the same problem of the blank checkout_shipping page.

    Is there something I need to change in the
    /includes/modules/shipping/smarmy/flat.php override to get it to match up with the language override?

    Any help would be much appreciated!

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: checkout_shipping showing a blank page...

    Sm
    Take the brackets off and see what happens..

    (2 - 3 days)
    Mark
    Hare Do

  3. #3
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: checkout_shipping showing a blank page...

    Sm,
    The brackets (2 - 3 days) between the quotes are ok, I tested this procedure on a demo site and she works..

    Does your flat.php file look like this??
    PHP 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       |
    // | [email protected] so we can mail you a copy immediately.          |
    // +----------------------------------------------------------------------+
    // $Id: flat.php 1969 2005-09-13 06:57:21Z drbyte $
    //

    define('MODULE_SHIPPING_FLAT_TEXT_TITLE''United States Postal Service');
    define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION''Flat Rate');
    define('MODULE_SHIPPING_FLAT_TEXT_WAY''Flat Rate Priority Mail (2 - 3 days)');
    ?>
    I am thinking you deleted the ?> at the end
    Mark
    Hare Do

  4. #4
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: checkout_shipping showing a blank page...

    Quote Originally Posted by haredo View Post
    I am thinking you deleted the ?> at the end
    It's often a good idea to delete the ?> at the end of the file if there's nothing else coming after it ... that way blank lines don't accidentally cause unexpected problems.

    Related FAQ articles:
    Regarding ?> https://www.zen-cart.com/tutorials/i...hp?article=313
    Regarding blank lines: https://www.zen-cart.com/tutorials/index.php?article=87

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

    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
    Feb 2009
    Posts
    36
    Plugin Contributions
    0

    Default Re: checkout_shipping showing a blank page...

    Woo Hoo!

    I did indeed have the ?> at the end of the file, so I deleted that and the blank lines after it, and it seems to be working now!

    Thanks so much for the help. I never would have been able to set up my new store if this forum (and all of the knowledgeable, helpful people in it) didn't exist.

    Thanks again!

  6. #6
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: checkout_shipping showing a blank page...

    Sm,
    You are most welcome, DrByte threads gave us the knowledge to find the problem learn and understand the structure of Zen Cart and how she works.

    Glad up are up and running...
    Mark
    Hare Do

 

 

Similar Threads

  1. v139h checkout_shipping suddenly showing blank white page
    By isaiah36 in forum Basic Configuration
    Replies: 3
    Last Post: 18 Jan 2013, 03:24 AM
  2. checkout_shipping --- blank page!
    By alhakeem2001 in forum General Questions
    Replies: 0
    Last Post: 23 Aug 2009, 06:15 PM
  3. Checkout_shipping Blank page! ???
    By True in forum General Questions
    Replies: 2
    Last Post: 11 Apr 2008, 06:36 AM
  4. checkout_shipping blank page
    By lakotasouix in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 Mar 2008, 01:52 AM
  5. Blank checkout_shipping page
    By Cool Hand Luke in forum General Questions
    Replies: 1
    Last Post: 24 Aug 2007, 04:00 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR