Jump to content

Archived

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

TOGSUK DC

A bit of rogue text

Recommended Posts

Hi all,

 

I have a rogue '?>' appearing on my site just above the header text in my shopping cart screen but can't figure out where it is. It isn't in includes/languages/english/shopping_cart.php and don't know where else to look. It appears just above the standard grey text 'What's In My Cart?'.

 

Does anyone have any ideas please?

Share this post


Link to post
Share on other sites
Hi all,

 

I have a rogue '?>' appearing on my site just above the header text in my shopping cart screen but can't figure out where it is. It isn't in includes/languages/english/shopping_cart.php and don't know where else to look. It appears just above the standard grey text 'What's In My Cart?'.

 

Does anyone have any ideas please?

 

look in the includes/language/english/shopping_cart.php file.

 

Line may be

 

define('HEADING_TITLE', '?php>What\'s In My Cart?');

 

should be

 

define('HEADING_TITLE', 'What\'s In My Cart?');


Frederick C Brace,III PA-C

www.21st-tees.com (osc)

www.tanda-designs.com (osc)

Share this post


Link to post
Share on other sites
look in the includes/language/english/shopping_cart.php file.

 

Line may be

 

define('HEADING_TITLE', '?php>What\'s In My Cart?');

 

should be

 

define('HEADING_TITLE', 'What\'s In My Cart?');

 

Nope, that't not it Fred, thanks though. Here are the contents of my shopping_cart.php file:

 

<?php

/*

$Id: shopping_cart.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('NAVBAR_TITLE', 'Cart Contents');

define('HEADING_TITLE', 'What\'s In My Cart?');

define('TABLE_HEADING_REMOVE', 'Remove');

define('TABLE_HEADING_QUANTITY', 'Qty.');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product(s)');

define('TABLE_HEADING_TOTAL', 'Total');

define('TEXT_CART_EMPTY', 'Your Shopping Cart is empty!');

define('SUB_TITLE_SUB_TOTAL', 'Sub-Total:');

define('SUB_TITLE_TOTAL', 'Total:');

 

define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>Please alter the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '), Thank you');

define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.');

 

define('TEXT_ALTERNATIVE_CHECKOUT_METHODS', '- OR -');

?>

 

As you can see, there are no extra ?s or >s in there. This is becoming somewhat of a mystery. Any idea?

Share this post


Link to post
Share on other sites

×