Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"Parse error: syntax error, unexpected T_STRING"


commandercup

Recommended Posts

Posted

Everytime I edit a page on my osCommerce store... I always get this error! It happens when ever I add text to pages such as "Shipping.php" or "Privacy.php"... I have no idea whats happening...

 

I am running osCommerce version MS2 2.2...

 

<?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>Payment Policy</b><p></p><ul><li>The bjkDesign Store currently accepts payment for orders via Paypal in the form of an e-check, directly from the paypal balance, or via credit card. We also accept money orders and personal checks however we will not ship the order until have the check or money order has been cashed. This may take up to 3 days from receipt of the check or money order.</li></ul><p></p><p></p><b>Shipping</b><p></p><ul><li>Currently the bjkDesign store only utilizes the United States Postal Service (USPS) to ship all our orders. We offer USPS 2-3 Priority Mail, USPS Express Mail as well as the international shipping methods.</li><li>ALl our packages utilize unique USPS tracking id's which will be provided after ever completed order. Once a package has been marked as delivered by the USPS we no longer take any liabilty in matters of delivery. Please contact your local Postmaster or Post Office if you have not received your package.</li><li>Insurance is not included with USPS Priority mail, so please utilize USPS Express mail if you are worried about the condtion of your package. Accepting a visually damaged package will void any possblity of a USPS insurance claim. Keep that in mind when accepting packages that have been insured. </li><li>Any orders that contain items that are currently out of stock, may take up to seven days before being shipped. If you need the product within a shorter time period, please contact us before placing your order.</li></ul><p></p><p></p><b>Returns</b>');
?>

 

there is the code that is currently entered... why do I keep getting this error!?

Posted

tracking id's

Should be:

 

tracking id\'s

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
you are my hero!

 

I haven't dealt with HTML in a while... lol

 

I've got more problems now... and I still don't know whats wrong? I finished the page and there the error is again! I can't spot my mistake? heres the new code:

 

<?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>Payment Policy</b><p></p><ul><li>The bjkDesign Store currently accepts payment for orders via Paypal in the form of an e-check, directly from the paypal balance, or via credit card. We also accept money orders and personal checks however we will not ship the order until have the check or money order has been cashed. This may take up to 3 days from receipt of the check or money order.</li></ul><p></p><p></p><b>Shipping</b><p></p><ul><li>Currently the bjkDesign store only utilizes the United States Postal Service (USPS) to ship all our orders. We offer USPS 2-3 Priority Mail, USPS Express Mail as well as the international shipping methods.</li><li>All our packages utilize unique USPS tracking id\'s which will be provided after every completed order. Once a package has been marked as delivered by the USPS we no longer take any liability in matters of delivery. Please contact your local Postmaster or Post Office if you have not received your package.</li><li>Insurance is not included with USPS Priority mail, so please utilize USPS Express mail if you are worried about the condition of your package. Accepting a visually damaged package will void any possibility of a USPS insurance claim. Keep that in mind when accepting packages that have been insured.</li><li>Any orders that contain items that are currently out of stock, may take up to seven days before being shipped. If you need the product within a shorter time period, please contact us before placing your order.</li></ul><p></p><p></p><b>Returns</b><p></p><ul><li>The bjkDesign store only offers returns in the following conditions because of the custom and unique nature of the wares we provide.</li><li>If upon receipt of a package, an order item is missing or an incorrect item was sent. Please verify the package\'s contents using the provided packaging slip.</li><li>Damage unrelated to shipping such as if the package\'s box has no visible damage and yet the items contained within are damaged or otherwise defective.</li></ul>');
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...