Content-type: text/html

General ShopSite user discussion
Post Reply
Wezza007
Posts: 38
Joined: Wed Sep 06, 2006 5:41 am
Location: Melbourne, Australia

Content-type: text/html

Post by Wezza007 »

This may be a really stupid question, but I've created some shopping cart templates that I'm really happy with but the very final page (Thank You Page) displays the text "Content-type: text/html" at the top of my page. The header is no different on this page to other pages and I've tried taking out the references to it, but it still stays there.

Has anyone had a similar experience???
Last edited by Wezza007 on Thu Dec 28, 2006 4:33 am, edited 1 time in total.
Goodbye Agassi!
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

Try running the html source for that page through an html validator and see if it points out any issues. I typically use the one at
http://www.htmlhelp.com/tools/validator/ and use the "enter your html directly" option by cutting the entire html from the page in question and pasting it into the form provided.
Wezza007
Posts: 38
Joined: Wed Sep 06, 2006 5:41 am
Location: Melbourne, Australia

Post by Wezza007 »

Hi Jim,

I've tried running both the code and the outputted HTML through a validator, and I can't find any fault which can account for this message. In the outputted HMTL I get this at the very top of the code:

<!-- ClientApp: Error-count incremented (1) -->
Content-type: text/html


Do you have any idea what this means?
Goodbye Agassi!
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

This looks like some kind of error message is trying to be output but doesn't go to the correct location so the content type message is being placed on the html page. I have never seen that type of error but would assume that it is either in the template code or perhaps some script that you are using. Do you have a custom shipping module configured for the store?
Wezza007
Posts: 38
Joined: Wed Sep 06, 2006 5:41 am
Location: Melbourne, Australia

Post by Wezza007 »

I don't believe I have a custom shipping module installed for the store. We do have different shipping options? But we have not installed any additional modules.

Any other ideas as to what this might be? You can see the code for my template above?

I can post the full outputted HTML for the page where the error occurs if you'd like?
Goodbye Agassi!
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

Do you have some type of affiliate tracking on your site?
Are you using orderAPI?
Wezza007
Posts: 38
Joined: Wed Sep 06, 2006 5:41 am
Location: Melbourne, Australia

Post by Wezza007 »

No I'm not using either?
Goodbye Agassi!
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

Have you contacted your host to see if they can help out? They are the first line of support. If they are unable to help they can contact ShopSite support for assistance. If they are not a ShopSite partner then you can purchase a support incedent directly from ShopSite at http://shopsite.com/support_pricing.html
Wezza007
Posts: 38
Joined: Wed Sep 06, 2006 5:41 am
Location: Melbourne, Australia

Post by Wezza007 »

Thanks for the suggestion. My hosting company fixed the problem after consulting with Shopsite support.
Goodbye Agassi!
Post Reply