Page 1 of 1

Unexpected XML output shown after form post in IE

Posted: Thu Feb 28, 2008 10:44 am
by richardhall
If you go to my personal website http://www.richardhall.me.uk/ and enter a wedding invitation RSVP code it should take you to a page where you can confirm from a list of people on that invite who's coming, if they have any special access or dietary requirements etc and then on completion it updates the database and sends out an email to me informing me of their response.

Unfortunately at present this seems to work in most browsers except for IE which seems to just show an XML formatted output and confuse the end-user. Any ideas why this would happen?

Given that invites have now gone out and people are trying to RSVP online, if you could help me with this urgently I'd really appreciate it!! (my wedding rsvp component will be added to the Joomla extensions repository once I've finished developing it to be fully stable and with suitable reports etc- watch this space).

In order to try it yourself and see what happens try the RSVP code KP91V.

Re: Unexpected XML output shown after form post in IE

Posted: Thu Feb 28, 2008 11:14 am
by richardhall
Once again you're all too late- after posting the problem I've fixed it myself LOL

Because IE was recognising my code as XHTML/XML compliant I needed to manually add this line to the component:

Code: Select all

header( 'Content-Type: text/html' );
Job done. If anyone else is interested in Beta-testing my wedding RSVP component let me know...

Re: Unexpected XML output shown after form post in IE

Posted: Thu Feb 28, 2008 2:57 pm
by Rogue4ngel
Good news! Glad you were able to figure it out. If I get a chance, I'll take a look. Anything in particular for the rsvp so you know it's just a test?

Re: Unexpected XML output shown after form post in IE

Posted: Thu Feb 28, 2008 3:10 pm
by richardhall
Don't worry that RSVP code is just a test one I setup for posting on the forum here. You won't break it now though cos I've fixed it already!

Re: Unexpected XML output shown after form post in IE

Posted: Thu Feb 28, 2008 3:20 pm
by Rogue4ngel
Careful... my wife was a code tester for quite a while... she can break just about anything!