The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Can't resolve 305 error - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Can't resolve 305 error (/showthread.php?tid=25989) |
Can't resolve 305 error - xnau - Jun 29th, 2017 I've been running formtools for years, I have a fair amount of experience using the application. I added a new form today, got it initialized, but now I can't get it to submit, keep getting the 305 error. I understand how it happens, but I don't seem to be able to resolve it and successfully submit. It's not saving the initial unfinalized record for some reason. The form is not a multi page form, so I'm not sure why I'm having the problem at all. anyone know how to get things working again? RE: Can't resolve 305 error - alexh - Jun 30th, 2017 Can you post your code? It sounds like maybe an issue with the redirect to the thank-you page. RE: Can't resolve 305 error - xnau - Jun 30th, 2017 Thanks, I was able to figure this out...although I don't know why it wasn't writing the initial record. Code: <?php Pretty standard, except I'm using an invisible recaptcha. SO, to get past the error, I had to insert a blank, unfinalized record into the database, using the same ID as noted in the 305 error message. With that, the form writes the data to that record and it's done. After that, it just worked. RE: Can't resolve 305 error - alexh - Jun 30th, 2017 That's weird! Glad you got it working. On a side note I'd love a step by step on how you got recaptcha working! |