Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!!!


hypsy

Recommended Posts

Posted

I was trying to change the starting text on my site and something went wrong.

 

Here is the coding....

<?php

 

/*

 

*/

define('TEXT_MAIN', 'Welcome to the Team Vision Racing Webstore. <font color="red">To log in please click "My Account" on the top of the screen and THEN log in. This is the only way to make sure I receive your order.</font><br>

If you need a part that is not listed please use the "contact us" link on the left and e-mail me for a price and availability quote.)'<br>

 

 

 

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

 

 

Here's the error.....

Parse error: syntax error, unexpected '>' in /home/rynecom/public_html/storefront/includes/languages/english/index.php on line 7

 

 

HELP ME PLEASE!

Posted

<?php

 

/*

 

*/

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

 

 

This is where I am now. I found the original issue. I had <br> instead of ;. Now I get a great new error....

Parse error: syntax error, unexpected T_STRING in /home/rynecom/public_html/storefront/includes/languages/english/index.php on line 18

 

SOMEONE HELP ME PLEASE. I hate this shit. Every time I try to add something to my site, something else gives out. This is not cool.

Posted

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

 

Should be;

 

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

 

You need the \ before the '

Posted

Ok did that....

Now i get this....

Parse error: syntax error, unexpected T_STRING in /home/rynecom/public_html/storefront/includes/languages/english/index.php on line 47

 

As best I can tell this....

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

is line 47. Any help?

Posted

Screw it....does anyone have the COMPLETELY ORIGINAL index.php file. I'm just gonna C&P it and then edit it up again with my own text.

Posted
Screw it....does anyone have the COMPLETELY ORIGINAL index.php file. I'm just gonna C&P it and then edit it up again with my own text.

you should always keep a vanilla download of the whole osC system on your harddrive for easy reference. You can find the whle package her in the downloads section (links on top).

 

I'm attaching a vanilla english index.php for your convenience.

index.php

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...