Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AHHHH Help!!!!!!!!!!


Guest

Recommended Posts

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

Sweet Dream Consoles Create Your Dream

 

 

Copyright © Sweet Dream Consoles

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome To Sweet Dream Consoles the shop for all your Console Upgrades! <font color="#f0000"></font>.');

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

}

?>

 

 

 

Now Wheres The Erroe????

Link to comment
Share on other sites

<?php

/*

  $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

  Sweet Dream Consoles  Create Your Dream

 

 

  Copyright ? Sweet Dream Consoles

 

  Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome To Sweet Dream Consoles the shop for all your Console Upgrades! <font color="#f0000"></font>.');

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

}

?>

Now Wheres The Erroe????

 

I'm guessing you are getting a Parse Error?

This line

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

 

Should be

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

 

This is because single and double quotes are parts of commands and the \ tells it to ignore it.

Link to comment
Share on other sites

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/fcspdbdm/public_html/includes/languages/english/index.php on line 33

 

now i get that erroe

Link to comment
Share on other sites

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/fcspdbdm/public_html/includes/languages/english/index.php on line 33

 

now i get that erroe

 

Oops forgot the one at the bottom

define('HEADING_TITLE', 'What's New Here?');

 

Should be

define('HEADING_TITLE', 'What\'s New Here?');

 

Thats should fix it

Link to comment
Share on other sites

It didnt fix it is there anyway you could amke it work if you went throught the code and just re sent it on here and i could paste it in?

Link to comment
Share on other sites

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

Sweet Dream Consoles Create Your Dream

 

 

Copyright ? Sweet Dream Consoles

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome To Sweet Dream Consoles the shop for all your Console Upgrades! <font color="#f0000"></font>.');

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

}

?>

 

 

this is the first post i made!

Link to comment
Share on other sites

I do not see the changes you made.

 

Do not try to change this in Admin Panel. This will cause problems. You need to

1. ftp into your site

2. download the file

3. open it in a text editor like notepad

4. make changes from above

5. save file (make sure it saves as a .php and not .txt

6. ftp back to your website and upload the file to replace the original

7. refresh your browser

 

Lori

Link to comment
Share on other sites

I cant i dont have a ftp editior cant i just do it another weay>

 

 

You need to find out how to log into your host site using ftp. Usually this consists of ftp://sitename.com or ftp://000.00.0 and usually your username & password that you use to access your webpage backend to make changes. You can download free ftp programs. A very good one and easy to use is FileZilla you can get it from download.com. As far as I know, this is the only way you can change the files.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...