Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Now what have i done, oh heck.


Mark-UK

Recommended Posts

Posted

OK ive just deleted some text from my index page in the default page of the admin centre. I now have this error message when i go to view my site.

 

 

 

Parse error: parse error, unexpected T_STRING in /home/brad12/public_html/includes/languages/english/default.php on line 14

 

the site is www.tackandtackle.co.uk

 

any help is appreciated.

Posted

when you post, it would be helpful to us, if you would include the lines just before and after.

 

are you doing a 'new' install? looks like ms1 . . .

Posted

OK ive just copied and pasted some of the coding in the default page php in my admin centre. I copied from the top down to below what i think is line 14.

 

I deleted some text, an intro paragraph via the admin centre and now this has occured.

 

<?php

/*

$Id: default.php,v 1.20 2003/02/14 12:51:58 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<b>The Horse Forums | </b>Got a problem with your horses behaviour, security question or just general horse chat. Discuss all things horse related at the horse forums community.<p><b><HREF="http://www.tackandtackle.co.uk/forums">Click here to visit the horse forums.</b>

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

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

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

 

} elseif ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) {

define('HEADING_TITLE', ucwords(strtolower($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');

 

 

The site was created last November its not a new install.

Posted

define('TEXT_MAIN', '<b>The Horse Forums | </b>Got a problem with your horses behaviour, security question or just general horse chat. Discuss all things horse related at the horse forums community.<p><b><HREF="http://www.tackandtackle.co.uk/forums">Click here to visit the horse forums.</b>

you are missing the ending ;

Posted

so just add ";" yes at the end after </b>

 

Ive done that and nothings happaned.

 

 

It says parse error onn line 15 now??

Posted
define('TEXT_MAIN', '<b>The Horse Forums | </b>Got a problem with your horses behaviour, security question or just general horse chat. Discuss all things horse related at the horse forums community.<p><b><HREF="http://www.tackandtackle.co.uk/forums">Click here to visit the horse forums.</b>');

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.

Archived

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

×
×
  • Create New...