I have worked with php before, but this program I am trying to get up and running is sending me around the bend.
This was the original shipping.php The line in red is what I am trying to change.
<?php / $Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License / define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.'); ?>
When I upload the changed version:
<?php / $Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License / define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', '<b>OUR SHIPPING POLICY:</b> Most items will be shipped by UPS-GND. We may elect to ship by some other carrier and will notify you if that is the case. Please contact me for shipping rates outside of the USA.<br><br><b>OUR RETURN POLICY:</b> We're certain you'll be happy with your purchase. We take extra care to fully describe our items, including any flaws. If you have any questions about the item(s) you are ordering, please use our email form to ask us about the item before placing your order.<br><br>If that rare occasion arises where you feel you must return an item, please contact us for return instructions within three (3) days (by phone or email) on receipt of your item(s). Upon our receipt and inspection of the returned item(s), we will issue a refund for your item(s) if returned in the same condition as it was when it was sent to you excluding any shipping/insurance costs for which you were responsible. Buyer is responsible for return shipping/insurance costs, which will not be reimbursed for any reason. Returned merchandise must be received by us within seven (7) days of the date from which you contact us regarding the return.<br><br><b>OUR DAMAGE POLICY:</b> Any items that are received damage must be kept in original box with the packing materials. I must be contacted immediately on receipt.'); ?>
I receive this message:
Parse error: parse error in /home/jelegant/public_html/catalog/includes/languages/english/shipping.php on line 16
Of course line 16 is the one I have replaced. Obviously, I am missing something that is blantant, would someone please tell me what it is?
Also, instead of Shipping & Returns being output on the page, it says HEADING_TITLE. You can see the page here:
http://www.elegantdepressionglass.com/catalog/shipping.php
Thanks, I appreciate the help.