Text at top of "Thank You" page before the DOCTYPE
-
- Posts: 9
- Joined: Tue Nov 08, 2011 11:10 am
Text at top of "Thank You" page before the DOCTYPE
I can't seem to figure out why the text "Content-type: text/html" appears at the top of my "Thank You" page before the DOCTYPE. I cannot find the text anywhere in my templates or anywhere on the rendered page (except at the very top). Where could this be coming from? Could this be an error from one of the templates tags like [-- DEFINE ThankYou --]?
-
- Posts: 2572
- Joined: Fri Aug 04, 2006 12:02 pm
- Location: Anywhere
- Contact:
Re: Text at top of "Thank You" page before the DOCTYPE
Do you have ShopSite Pro? If so, are you using a custom Order API script (configured under Merchandising -> Order API) to process order information when the orders are placed? If you are, then this may happen if the Order API has to output content to the browser, in which case it has to output its own Content-Type headers, causing any subsequent ones to just be rendered as text.
-Loren
-Loren
-
- Posts: 9
- Joined: Tue Nov 08, 2011 11:10 am
Re: Text at top of "Thank You" page before the DOCTYPE
Loren you are brilliant! Thank you!