Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't get conditions or shipping phps to work


tbrown

Recommended Posts

here is a copy of the start of my conditions.php....does anyone know why i am getting this error:

Parse error: parse error in /home/virtual/site67/fst/var/www/html/oscommerce/includes/languages/english/conditions.php on line 21

 

thanks,

Tim

 

 

 

<?php

/*

$Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Conditions of Use');

define('HEADING_TITLE', 'Conditions of Use');

 

define('TEXT_INFORMATION', 'By accepting delivery of any product delivered from Priced Right, LLC ("Priced Right, LLC"), you ("Customer") agree to be bound by the terms and conditions listed below. You and Priced Right, LLC agree that the following terms and conditions are the exclusive terms governing the sales transaction

Link to comment
Share on other sites

define('TEXT_INFORMATION', 'By accepting delivery of any product delivered from Priced Right, LLC ("Priced Right, LLC"), you ("Customer") agree to be bound by the terms and conditions listed below. You and Priced Right, LLC agree that the following terms and conditions are the exclusive terms governing the sales transaction

 

needs to end with '); like the lines above it

Link to comment
Share on other sites

If this is the entire file, then, in addition to the '); after the text, it also needs to have ?> at the end

 

If it is not the entire file and there is more (which I suspect), you may have used an apostrophe somewhere in your text.

 

The code can't cope with apostrophes so you have to comment them out using a backslash, eg. can't would become can\'t, don't would be don\'t etc.

 

Edit: Does anyone know if this is the case for brackets also, I can't remember if I put any brackets in my info pages or not.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...