Hi Pablo
Just testing a site here, http://directgasltd.co.uk/testing/index.php and when I submit the form at the bottom, the email is processed and sent OK and the Success page show the correct content but there is a header showing what appears to be PHP code at the top. Can you advise why and how to get rid of it?
I have used similar code and system with another site, uploaded that to the same hosting package to test and that is OK so it appears to be something in this project. I have removed all the uploaded stuff and re-uploaded so it is 'clean' but still get the same error.
TIA
PHP Error text in Success page
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: PHP Error text in Success page
The success page should not contain PHP code, so it cannot be the same page as the form.
Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967
Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967
Re: PHP Error text in Success page
Hi Pablo
It isn't, or at least its not set to be!
The response page goes to ./contactresponse.php but I can see now I look in the address bar, it's going to a page called 'index' yet it is showing the content of the page called 'contactresponse.php'. What's going on?
Cheers
It isn't, or at least its not set to be!
The response page goes to ./contactresponse.php but I can see now I look in the address bar, it's going to a page called 'index' yet it is showing the content of the page called 'contactresponse.php'. What's going on?
Cheers
Re: PHP Error text in Success page
The success page is loaded dynamically, so all code of the page will be displayed "AS IS" without going through the PHP parser on the server.
There for the success (and error) page should not contain PHP.
Please remove the form from 'contactresponse.php'
See the FAQ.
There for the success (and error) page should not contain PHP.
Please remove the form from 'contactresponse.php'
See the FAQ.
Re: PHP Error text in Success page
Ah, got it. There is not form on the contactresponse.php page... or at least there wasn't supposed to be! I have found one grid that has no elements (used as a spacer) that had the form enabled and so was generating the issue. As always, many thanks!