Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

conditions.php text parse error?


leehood1

Recommended Posts

Im having problems with my conditions page see below.

how can i fix nthis I have aded the slashes before the opostrophe but still get the error below and the line number moves from 17 -20

 

Parse error: parse error, unexpected T_STRING in /shopcart1/includes/languages/english/conditions.php on line 20

Link to comment
Share on other sites

when you post things like this, you should always post the 5 lines or so prior to and 5 lines after (include the bad line too) of code so we can see what may be going on, could be a typo, etc . . .

Link to comment
Share on other sites

what do you have at lines 15 thru 25 in the file?  post that here.

 

<?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', My text information is supposed to go here but I cant seem to get this thing to work right.');?>

Link to comment
Share on other sites

what do you have at lines 15 thru 25 in the file?  post that here.

 

 

ok here is the entire conditions.php

see  below:

 

 

 

<?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', My text information is supposed to go here but I cant seem to get this thing to work right.');?>

 

 

 

Link to comment
Share on other sites

My text information is supposed to go here but I cant seem to get this thing to work right.');?>

 

is missing the beginning ' before My - 'My

 

that is how it is supposed to start

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...