Hey Just Me,
I so sorry you're having so many problems!! I really do feel bad. What you're doing is such a straightforward feature of the script (direct submission with default emails), I'm really very surprised you've had so much trouble. Sounds stressful as hell. I personally use Dreamhost as my hosting provider and have seldom encountered problems, but it really should run anywhere.
The reason you're probably not getting any errors in your cpanel is because they're not actually errors - just nit-picky warnings / notices that PHP outputs in case it finds something that's not 100% expected. In your case, when the form is processed it does what's called a "header redirect" to redirect the user to the "thankyou" page. However, this can ONLY work if there haven't been anything outputted to the stream at that point - and since the notices HAVE, the redirect won't work.
The error reporting level is determined by a Form Tools configuration setting - I deliberately set it to report on EVERYTHING while Form Tools 2 is in beta, but it really doesn't need to cranked up so high. During the Beta phase (which I admit, could go on for a long time yet) I wanted to hear of all these little notices so that I can fix them - they can sometimes indicate deeper problems which are helpful in debugging. And from a perfectionists point of view, I don't like that there are ANY issues with my scripts, even little ones.
Anyway, to turn the setting down, add the following line to your config.php file:
From now on, the script will only output genuine errors - not nit-picky things like undefined variables or stuff that won't actually cause actual problems.
I believe this will fix all of your problems.
Let me know.... and again, sorry, Just Me!
- Ben
I so sorry you're having so many problems!! I really do feel bad. What you're doing is such a straightforward feature of the script (direct submission with default emails), I'm really very surprised you've had so much trouble. Sounds stressful as hell. I personally use Dreamhost as my hosting provider and have seldom encountered problems, but it really should run anywhere.
The reason you're probably not getting any errors in your cpanel is because they're not actually errors - just nit-picky warnings / notices that PHP outputs in case it finds something that's not 100% expected. In your case, when the form is processed it does what's called a "header redirect" to redirect the user to the "thankyou" page. However, this can ONLY work if there haven't been anything outputted to the stream at that point - and since the notices HAVE, the redirect won't work.
The error reporting level is determined by a Form Tools configuration setting - I deliberately set it to report on EVERYTHING while Form Tools 2 is in beta, but it really doesn't need to cranked up so high. During the Beta phase (which I admit, could go on for a long time yet) I wanted to hear of all these little notices so that I can fix them - they can sometimes indicate deeper problems which are helpful in debugging. And from a perfectionists point of view, I don't like that there are ANY issues with my scripts, even little ones.
Anyway, to turn the setting down, add the following line to your config.php file:
PHP Code:
$g_default_error_reporting = 1;
From now on, the script will only output genuine errors - not nit-picky things like undefined variables or stuff that won't actually cause actual problems.
I believe this will fix all of your problems.
Let me know.... and again, sorry, Just Me!
- Ben