Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

URGENT HELP NEEDED!


MrVintage

Recommended Posts

It would be greatly appreciated if someone could help me out...

 

I have just changed this line - define('HEADING_TITLE', 'Welcome to MrVintage.co.nz');

 

to...

 

define('HEADING_TITLE', 'See Blog for Christmas Delivery Schedule');

 

here.. includes/languages/english/index.php

 

 

 

now when i go to my site i get this ...

 

Parse error: parse error, unexpected T_STRING in /var/www/html/includes/languages/english/index.php on line 32

 

 

PLEASE HELP!!!

Link to comment
Share on other sites

<?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', 'Remember when wrestling was real, when cartoons were good, when it was cool to read the Babysitters Club, when stubbies were the norm, when big hair and fluro scrunchies were fashionable and slap bands were your number one accessory?

<br><br>

Well, here at MrVintage we?re going gang busters to take you back to memory lane, where you can re-live all of your 80?s favorites. We have New Zealand?s largest range of authentic 80?s themed t-shirts, all of which are imported from the US, where the images are printed by licensed manufacturers on premium quality t-shirts.

<br><br>

As well as providing the most fashionable tees, we aim to deliver exceptional customer service and fast shipping. To ensure you?re fully confident with purchasing from us, we provide a secure payment page ? or alternatively you can call 0508 MRVINTAGE to place your order over the phone. We accept all major credit cards, bank transfer and cheque.

<br><br>

So we hope you enjoy your time here at MrVintage.co.nz. Feel free to browse our selection of items, and make sure you check back often because we will continue to add new products all the time. If you have any feedback, comments and suggestions, or just need someone to talk to, then send us an email(contact us link) or give us a call.

<br><br>

<br><br>

Happy Days

<br><br>

MrVintage Team

');*/

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', 'See Blog for Christmas Delivery Schedule');

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

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

<?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', 'Remember when wrestling was real, when cartoons were good, when it was cool to read the Babysitters Club, when stubbies were the norm, when big hair and fluro scrunchies were fashionable and slap bands were your number one accessory?

<br><br>

Well, here at MrVintage we?re going gang busters to take you back to memory lane, where you can re-live all of your 80?s favorites. We have New Zealand?s largest range of authentic 80?s themed t-shirts, all of which are imported from the US, where the images are printed by licensed manufacturers on premium quality t-shirts.

<br><br>

As well as providing the most fashionable tees, we aim to deliver exceptional customer service and fast shipping. To ensure you?re fully confident with purchasing from us, we provide a secure payment page ? or alternatively you can call 0508 MRVINTAGE to place your order over the phone. We accept all major credit cards, bank transfer and cheque.

<br><br>

So we hope you enjoy your time here at MrVintage.co.nz. Feel free to browse our selection of items, and make sure you check back often because we will continue to add new products all the time. If you have any feedback, comments and suggestions, or just need someone to talk to, then send us an email(contact us link) or give us a call.

<br><br>

<br><br>

Happy Days

<br><br>

MrVintage Team

');*/

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', 'See Blog for Christmas Delivery Schedule');

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

define('HEADING_TITLE', 'Categories');

}

?>

 

This line:

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

 

Should look like this:

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

 

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

i just did exactly that ... and I still get ....

 

Parse error: parse error, unexpected T_STRING in /var/www/html/includes/languages/english/index.php on line 32

Im stumped! Please help!

 

Show me what you changed line 32 to, and are still getting an error.

 

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

Change lines 32 and 33 from

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

to

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

You're apparently using the File Manager editor feature. It removes all the \'s from your code. Download the file, edit it in a good php editor and upload the changes. It will prevent the removal of the \ call

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...