Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PLEASE PLEASE HELP ME! I'VE DONE SOMETHING TO MY SITE!!!


Recommended Posts

Posted

I was messing with my index.php and now I have done something to my site - well I have blanked it!!! It is www.yorkshirepcs.co.uk.

 

This is my index.php.

 

<?php

/*

$Id: default.php,v 1.3 2003/02/15 22:14:46 wilt Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Yorkshire PC Services offer PCs and Parts to the whole of the UK. We also offer many services within Yorkshire.<br><br>The services we offer are:<br><br><b>Ready To Go PC Packages</b> - Recommended packages built by us<br><br><b>Custom Built PCs</b> - Either pick the parts you want or tell us your budget and what you are going to use the PC for and we can advice you<br><br><b>Parts</b> - A huge selection of PC parts ready for immediate dispatch<br><br><b>Upgrades</b> - We can carry out any upgrade <br><br><b>Repairs</b> - Does your PC need repairing? <br><br><b>Servicing</b> - We offer PC servicing <br><br>To view information about any of the above simply click on the name. If you would like to view the list of our products please use the navigation on the left. You can return to this page at any time by clicking home in the top left hand side of the screen.

');

define('TABLE_HEADING_DEFAULT_SPECIALS', 'Specials For %s');

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

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

define('TABLE_HEADING_FEATURED_PRODUCTS', 'Featured Products');

 

if (($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id'])) {

define('HEADING_TITLE', 'Products');

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

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

define('HEADING_TITLE', 'Welcome to Yorkshire PC Services');

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

define('HEADING_TITLE', 'Categories');

}

define('TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY',

'Featured Products in %s');

?>

Posted

Hello,

 

The file you paste is the index.php language file it goes in the following folder

 

catalog/includes/languages/english/

 

You may have uploaded it to the catalog/ folder by accident

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

I'm not sure but I guess you uploaded your index.php from languagesenglish to your root directory, instead of uploading to languagesenglish. It might be what's causing your problem.

Posted

Just re-upload the files you changed!

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

Why, you'll restore from you're back up of course!

 

Silly guy.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Archived

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

×
×
  • Create New...