Text at top of "Thank You" page before the DOCTYPE

General ShopSite user discussion

Text at top of "Thank You" page before the DOCTYPE

Postby Gorgeous537 » Wed Dec 07, 2011 1:08 pm

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 --]?
Gorgeous537
 
Posts: 9
Joined: Tue Nov 08, 2011 11:10 am

Re: Text at top of "Thank You" page before the DOCTYPE

Postby loren_d_c » Wed Dec 07, 2011 2:02 pm

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_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Text at top of "Thank You" page before the DOCTYPE

Postby Gorgeous537 » Wed Dec 07, 2011 3:33 pm

Loren you are brilliant! Thank you!
Gorgeous537
 
Posts: 9
Joined: Tue Nov 08, 2011 11:10 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 106 guests