Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I have a syntax error.


Guest

Recommended Posts

Hi folks, quite new to OScommerce. I am getting this error "Parse error: syntax error, unexpected T_STRING in /home/besteci1/public_html/catalog/includes/languages/english/index.php on line 18". This is line 18 define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); .My code is below. Would somebody mind taking a look? Running in 2.2

 

<?php

/*

$Id: index.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2007 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome to the BESTECIGSHOP.COM web store. Thank you for visiting. Please feel free to email with any questions.FREE SHIPPING ON ORDERS $35 OR MORE.

<img width="300" alt="Freeshipping" src="images/free_shipping3.jpg"/>

<object width="560" height="340"><param name="movie" value="

name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>

 

 

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Product listings');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', '');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'categories');

}

?>

Link to comment
Share on other sites

define('TEXT_MAIN', 'Welcome to the BESTECIGSHOP.COM web store. Thank you for visiting. Please feel free to email with any questions.FREE SHIPPING ON ORDERS $35 OR MORE.

<img width="300" alt="Freeshipping" src="images/free_shipping3.jpg"/>

<object width="560" height="340"><param name="movie" value="

name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>);
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...