New Zenner
- Join Date:
- Jul 2009
- Posts:
- 14
- Plugin Contributions:
- 0
Baffling blank page at checkout_shipping.php
Hi all,
I edited the checkout_shipping.php and uploaded it to the template override folder within includes/languages/english as per good Zen Cart practice.
The changes I made were minimal and did not affect any syntax - I basically just changed the word 'shipping' to 'delivery' in the definition values. I have compared and re-compared with the original file in WinMerge but there is nothing different that should cause a problem that I can see - e.g. stray commas, missing apostrophes, etc.
However now when I click through from the delivery information in the checkout through to the next screen, I just get an inexplicable blank screen. I have read through similar threads but they all seem to have done something wrong syntax-wise in the PHP file that I just can't see in mine.
Could anybody offer any suggestions on this?
Many thanks,
Rory. :)
My modified checkout_shipping.php code:
--
<?php /** * @package languageDefines * @copyright Copyright 2003-2006 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: checkout_shipping.php 4042 2006-07-30 23:05:39Z drbyte $ */ define('NAVBAR_TITLE_1', 'Checkout'); define('NAVBAR_TITLE_2', 'Delivery Method'); define('HEADING_TITLE', 'Step 1 of 3 - Delivery Information'); define('TABLE_HEADING_SHIPPING_ADDRESS', 'Delivery Address'); define('TEXT_CHOOSE_SHIPPING_DESTINATION', 'Your order will be delivered to the address at the left or you may change the delivery address by clicking the <em>Change Address</em> button.'); define('TITLE_SHIPPING_ADDRESS', 'Delivery Information:'); define('TABLE_HEADING_SHIPPING_METHOD', 'Delivery Method:'); define('TEXT_CHOOSE_SHIPPING_METHOD', 'Please select the preferred delivery method to use on this order.'); define('TITLE_PLEASE_SELECT', 'Please Select'); define('TEXT_ENTER_SHIPPING_INFORMATION', 'This is currently the only delivery method available to use on this order.'); define('TITLE_NO_SHIPPING_AVAILABLE', 'Not Available At This Time'); define('TEXT_NO_SHIPPING_AVAILABLE','<span class="alert">Sorry, we are not delivering to your region at this time.</span><br />Please contact us for alternative arrangements.'); define('TABLE_HEADING_COMMENTS', 'Special Instructions or Comments About Your Order'); define('TITLE_CONTINUE_CHECKOUT_PROCEDURE', 'Continue to Step 2'); define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', '- choose your payment method.'); // when free shipping for orders over $XX.00 is active define('FREE_SHIPPING_TITLE', 'Free Delivery'); define('FREE_SHIPPING_DESCRIPTION', 'Free delivery for orders over %s'); ?>--