Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Line of script won't erase from website...but not in php script!


flashtank

Recommended Posts

Posted

Hi all,

 

http://hedwigandsergeantmajor.com/catalog/

 

Check out the big black and white banner near the top of the page. Right beside it is the line of text "osCommerce Online Merchant v2.2 RC2a."

 

This is so stupid...but when I open up admin panel and then into TOOLS > DEFINE LANGUAGES > INDEX.PHP to edit everything and to remove that line, it doesn't exist!! It is NOT in there...am I missing something here?

 

When you view the source code for the page from the actual live site, that line is referenced in there on line 199...but in the actual oscommerce admin panel in the index.php file, it is not in there and I can't delete it! I will paste the code that I see and if someone sees something, please tell me! It has been pestering me for the last 3 hours!

 

Jason

 

<?php

/*

$Id: index.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2007 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome to Hedwig and Sergeant Major. <b>We are the biggest online store for Toy Soldiers and Collectible Figures in Canada </b>. We are proud to offer quality collections from manufacturers such as Del Prado and The Old Northwest Trading Co. Check back soon as our inventory updates often!.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/homebanner.jpg') .

PROJECT_VERSION . '</b></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', '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_CATEGORIES', 'All Categories');

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

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

define('HEADING_TITLE', 'Hedwig & Sergeant Major - Quality Toy Soldiers and Collectible Figures');

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

define('HEADING_TITLE', 'Categories');

}

?>

Posted

define('TEXT_MAIN', 'Welcome to Hedwig and Sergeant Major. <b>We are the biggest online store for Toy Soldiers and Collectible Figures in Canada </b>. We are proud to offer quality collections from manufacturers such as Del Prado and The Old Northwest Trading Co. Check back soon as our inventory updates often!.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/homebanner.jpg') .
PROJECT_VERSION . '</b></font>.');

should be

 

define('TEXT_MAIN', 'Welcome to Hedwig and Sergeant Major. <b>We are the biggest online store for Toy Soldiers and Collectible Figures in Canada </b>. We are proud to offer quality collections from manufacturers such as Del Prado and The Old Northwest Trading Co. Check back soon as our inventory updates often!.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/homebanner.jpg') . '</b></font>.');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

it worked perfectly! Thank you so much...I am still new to this php game...I had tried deleting what you had suggested prior to posting, but it seemed to screw it up when I did it...anyways, thank you again!

J.

Archived

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

×
×
  • Create New...