Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help INDEX PAGE


nman14

Recommended Posts

how do I edit my index page??? this is making me sooooo mad please help. Thanks

 

 

What are you trying to edit??

 

If you are trying to edit/remove the osCommerce text that comes with a new install #2 explains which file to edit

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

When i do that I get an error massage that says error online 14 or 13

What are you trying to edit??

 

If you are trying to edit/remove the osCommerce text that comes with a new install #2 explains which file to edit

Link to comment
Share on other sites

When i do that I get an error massage that says error online 14 or 13

 

That's not unusual especially if you are unfamiliar with PHP and its syntax. However those types of errors are generally not difficult to spot. I suggest posting the code from the line you are receiving the error and someone will likely be able to spot the error for you.

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

Parse error: parse error, unexpected T_STRING in /home/maxedout/public_html/osc/includes/languages/english/index.php on line 14

Thats the error i get

 

here is the code I have:

<?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',');

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', 'Let\'s See What We Have Here');

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', 'What\'s New Here?');

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

define('HEADING_TITLE', 'Categories');

}

?>

 

 

 

That's not unusual especially if you are unfamiliar with PHP and its syntax. However those types of errors are generally not difficult to spot. I suggest posting the code from the line you are receiving the error and someone will likely be able to spot the error for you.

 

Be well,

Tina

Link to comment
Share on other sites

I'm having the exact same problem, I have done nothing with my shop yet, but anything I do and I get a T string error;

 

Parse error: parse error, unexpected '<' in /home/wornoutm/public_html/giftshop/includes/languages/english/index.php on line 13

 

Even if I go in and just change a single letter

 

I've worked with php a little in the past and can't understand why I can't change anything.

 

:blink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...