Open edward-c21 opened 5 years ago
Hey @edward-c21, is this a Form Builder form or your own form? If you ever see a blank page try two things:
$g_default_error_reporting = 2047;
value to your global/config.php
file so it outputs all errors to the screen.Thanks for your quick reply Ben, really appreciated, I am on a deadline here and have spent all today on this!
I added the debug line - that just "refreshed" the existing form but that had probably stopped working now as '.. headers already sent ..'.
There has been an existing form for years and I cleared all but links/calls from that so I had a clean forms to use. Installed formtools using softaculous.
As there is no way to repair db table I have no option but to start over though I don't know what I will do differently! On Sat, February 9, 2019 05:23, Benjamin Keen wrote:
Hey @edward-c21, is this a Form Builder form or your own form? If you ever see a blank page try two things: 1. Add a
$g_default_error_reporting = 2047;
value to yourglobal/config.php
file so it outputs all errors to the screen. 2. Check your PHP logs to see it it contains any errors.Kind regards Edward
-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/formtools/core/issues/471#issuecomment-462015146
regards Edward
email: ec@ecassociates.co.uk tel: 01702 589120 web: www.ecassociates.co.uk Websites for Business
Confidentiality notice
This email and any files transmitted with it are private and confidential. If you have received this message in error, please notify us and remove it from your system.
ec associates is a trading name of Cafe Twentyone Ltd Registered in England and Wales number 04411439 Registered office 11 Queens Road, Brentwood, Essex CM14 4HE, UK
Hey Edward, ugh, sorry - I know what a pain debugging this stuff can be.
Headers already sent
just means that something's been output before attempting a redirect. Did you see anything output to the top of the page? Any characters at all?
But sounds like you're doing a fresh install. Good luck! Hope that resolves the issue.
Hi Ben
I am still stuck. Test submission fails at fresh install.
File attached with starting code (yes I also tried form without closing php tag)
installprob.txt
What am I missing?
regards
Edward
Hey Edward, hmm that looks fine at a glance. You say it "fails at fresh install" - you mean the submission fails after you submit the form, or the form doesn't load at all? But Form Tools installed just fine and you can log in as an administrator?
I think we're going to have to turn to the PHP error logs to see if they can shed some light on this.
Hi, do you any custom HTML,CSS or JS code on the form or thanks page?
Thanks for your help with this one. I did a fresh install.
Removing the cookie warning (js) script fixed it - spot on Nelson.
Interesting as:
This has not fixed the same problem with a similar form elsewhere on the site (very embarrassing but not as desperate as the time sensitive one just fixed!) - error log blank
Two other forms with another third party script not affected.
Now fixed the second troublesome form. Removed Google analytics and AOK.
Great to hear :)
wow sorry I was away, glad you solved it and share :)
Edit:
I would not want a potentential new user to be put off by these comments. This is a great script and the support response has been excellent. I suspect most of the trouble mentioned below has been due to working with an old heavily coded website.
edward-c21
I am a formtools newbie so apologies for this one.
Data submits to database but link to thanks page fails (stays on now blank form page)
Installation went well and Data submits to database but link to thanks page fails (stays on now blank form page)
Default php per setup used - anything obvious commonly missed please?
Thanks
===
Form Tools:
Core Version 3.0.12
API Version 2.0.0
Server:
CLOUDLINUX 6.10
PHP Version* 7.1.26
MySQL Version 5.7.25
PHP Sessions Available
*PHP tried each version from 5.6 to 7.2