osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Site Map >?

This is a discussion on Site Map >? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; This is very odd. I am getting a ?> on the top line of my site map page. http://www.beseenonabike.com/shopuk/...f2a884c3101a6d I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-27-2005, 03:50 AM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default Site Map >?

This is very odd. I am getting a ?> on the top line of my site map page.
http://www.beseenonabike.com/shopuk/...f2a884c3101a6d

I have opened up and looked at each of the pages that I have had to install and cannot for the life of me find where this ?> is coming from. Whats even more peculiar is that I have done exactly the same exercise on my test localhost server and get the exact same ?>.
I understand that for every php opening tag there must be a closing tag however I have been through all the relevant pages that relate to this mod and can't find any extra ?> on any of the pages.

The contribution I have used is this one:
http://www.oscommerce.com/community/...earch,site+map
It works well but the top line ?> is proving to be very hard to pin down and fix.
Has anybody else had this issue?
Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 05-28-2005, 02:05 PM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default RE: Site Map >?

Ok. I've sussed out the fault.
It lies within the zip file catalog/includes/languages/english/sitemap.php
I was concentrating on checking the code I had modified not the code that was actually pre-modified in the contribution.

<?php
/*
$Id: sitemap.php,v1.0 2004/05/10 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2004 osCommerce

Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Site Map');
define('HEADING_TITLE', 'Site Map');

define('PAGE_ACCOUNT', 'My Account');
define('PAGE_ACCOUNT_EDIT', 'Account Information');
define('PAGE_ADDRESS_BOOK', 'Address Book');
define('PAGE_ACCOUNT_HISTORY', 'Order History');
define('PAGE_ACCOUNT_NOTIFICATIONS', 'Newsletter Subscriptions');
define('PAGE_SHOPPING_CART', 'Shopping Cart');
define('PAGE_CHECKOUT_SHIPPING', 'Checkout');
define('PAGE_ADVANCED_SEARCH', 'Advanced Search');
define('PAGE_PRODUCTS_NEW', 'New Products');
define('PAGE_SPECIALS', 'Specials');
define('PAGE_REVIEWS', 'Reviews');
?>
?>

That second ?> was a bit of bugger to find but it all works ok now.

;o)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 07:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax