Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Probably something simple my eyes aren't catching!


Guest

Recommended Posts

I admit it, my eyes are tired now. Maybe someone could be kind enough to once over this and see what it is I'm missing? The error on the page says:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/innlosto/public_html/ecommerce/os/catalog/includes/languages/english/index.php on line 35

 

The code is as follows:

 

<?php
/*
$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright ? 2003 osCommerce

Released under the GNU General Public License
*/

define('TEXT_MAIN', '<p>' . tep_draw_separator('pixel_trans.gif', '70', '1') . '<b>For Our Local Customers:</b>  If you are planning on picking up our purchase here at our hometown location, please choose check or money order as your method of payment.  When you come to pick up your item we will deduct the cost of your shipping at that time.  If you need any help, please call or fax us at: <b>417-681-0433</b></p>');

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', $categories['categories_name']);

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', 'A Gamer Heaven...');
} elseif ($category_depth == 'nested') {
define('HEADING_TITLE', $categories['categories_name']);
}
?>

 

I REALLY appriciate any help you guys can give me with this one. I soooo need sleep and time away from this badly. Thank god my days off are coming up! :'(

 

*huge hugs in advance*

Link to comment
Share on other sites

The errors are

define('TEXT_BUY', 'Buy 1 '');
define('TEXT_NOW', '' now');

 

the corrections are

  define('TEXT_BUY', 'Buy 1 \'');
?define('TEXT_NOW', '\' now');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

THANK YOU!

 

You guys are truly amazing! Once I get this down a bit better myself hopefully I can give something back to this website. Kudos to all of you! :thumbsup:

 

-Dee

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...