Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help on index error


dediehl

Recommended Posts

Posted

hi, can someone help im recieving the following error:

Parse error: parse error in /mnt/web_h/d26/s40/b01ef68c/www/Store/nfoscomm/catalog/includes/languages/english/index.php on line 22

 

i was tring to change the text of the title and the text underneath so i dont ask them to log in but i messed something up.

 

here is my index .....

 

*/

 

;

define('TEXT_MAIN', 'Wecome to paintbal prodigy! Check out our products. We carry many more items than are listed here so feel free to ask about something not seen here. We believe in bringing low prices as well as good service to our customers. Take a look around the bunker.

 

Special:FREE SHIPPING WITH PURCHASES OVER $100!!!! restrictions apply');

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

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

define('HEADING_TITLE', 'Categories');

}

?>

Posted

thanks, i removed the extra ; but everytime i change the slash and save, it just disappears and isnt there anymore.

it looks like this after i save and come back:

 

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

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

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

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

define('HEADING_TITLE', 'Let's See What We Have Here');

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

define('HEADING_TITLE', 'Categories');

}

?>

 

why wont it let me put in the slash? Also, is there a way just to remove the let's see whats here text from the page?

Posted

Do not use the osCommerce file manager to edit the file - use an FTP client to download the file, edit it in a text editor and upload it again :D

 

Matti

Posted

thnaks for your help but i have a question were can i find a ftp client or such cause i cant dl it directly. thnaks

Posted

ok i downloaded it to a client and when i go to edit it in the client it shows that i have the / marks so i upload back to page and then, it still has the error and the slashes are still gone.?????? :(

Archived

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

×
×
  • Create New...