core icon indicating copy to clipboard operation
core copied to clipboard

"MySQL server has gone away" trying to do Step 4 of Add Form

Open russellfeeed opened this issue 4 years ago • 0 comments

Hi ISSUE: Adding a new External Form. I get to Step 4, DataBase setup I use Smart Fill (also tried manually entering, and also deleting all fields) and clicking next jist takes a long time until it dies I'm getting a 'HTTP ERROR 500' in the browser.

Apache Logs shows

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/621072.cloudwaysapps.com/kwktbehrzp/public_html/formtools/global/code/Database.class.php:71 Stack trace: #0 /home/621072.cloudwaysapps.com/kwktbehrzp/public_html/formtools/global/code/Database.class.php(71): PDO->prepare('\n ...') #1 /home/621072.cloudwaysapps.com/kwktbehrzp/public_html/formtools/global/code/FieldTypes.class.php(1447): FormTools\Database->query('\n ...') #2 /home/621072.cloudwaysapps.com/kwktbehrzp/public_html/formtools/global/code/FieldTypes.class.php(594): FormTools\FieldTypes::get() #3 /home/621072.cloudwaysapps.com/kwktbehrzp/public_html/formtools/admin/forms/add/step5.php(57): FormTools\FieldTypes::getRawFieldTypesJs() #4 {main} thrown in /home/621072.cloudwaysapps.com/kwktbehrzp/public_html/formtools/global/code/Database.class.php on line 71

I've tried this on two different servers now. Current Server is

  • PHP 7.3
  • MariaDB 10.1

I've tried unzipping on the server, and unzipping locally first and FTPing all the files up just in cse the files were corrupt.

I have no problem hitting https://ft3.XXXXXXexertisdev.co.uk/formtools/admin/forms/ and can click on the form's 'COMPLETE' link to pick up at Step 2 but can never get past Step 4

I can add option lists and cleints and pretty much do everything else

Help! :-)

russellfeeed avatar Jun 30 '21 07:06 russellfeeed