The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Error Type: System Error Code: #304 - 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: Error Type: System Error Code: #304 (/showthread.php?tid=1840)



Error Type: System Error Code: #304 - daz1034 - Dec 30th, 2011

Hi having a few problems i was trying to consolidate some of my forms in to one after making some changes in formtools admin am getting this error when i try to view the forms.

PHP Code:
Failed query in ft_search_submissionsQuerySELECT submission_idsmstotalowednumberofcreditorsmonthlyincomemonthlyexpenditurehomeownermissedpaymentsnamenumbercontactaemailhousepostcoderesidentialstatusemploymentstatusbutton_33f46b8c86780d32472ed50f04c3ee2321cf1submission_datelast_modified_dateip_address FROM ft_form_14 WHERE is_finalized 'yes' ORDER BY submission_date descsubmission_id LIMIT 010 Error

and when i try to submit a form i get this error.

PHP Code:
Error TypeSystem
Error Code
#304 — Learn more about this error.
Debugging:

Failed query in ft_process_form, /var/www/vhosts/xxxxxxx/httpdocs/xxxxxxx/process.phpline 247:
INSERT INTO ft_form_14 (form_namesmsnamecontactaemailbutton_31cf1submission_datelast_modified_dateip_addressis_finalized)
VALUES ('Request Call Home''sms''daz''xxxxxxxxxx''s@d.com''Call me back please!''9072caeda424a3aea86a3086dbb2a93d''2011-12-30 14:42:47''2011-12-30 14:42:47''xxxxxxxxx''yes'

The help for this error asks me to post in ther forum i am hoping some one can help me fix it

Thanks


RE: Error Type: System Error Code: #304 - daz1034 - Dec 30th, 2011

I have created a new form in FT.

I would still be interested in finding out how to regain access to the forms with errors.

I am pretty sure i am the victim of my own Browser TAB maddens i all ways have 30 plus open and i think i may have had to forms open in edit and that has given me the problem


RE: Error Type: System Error Code: #304 - Ben - Dec 30th, 2011

Hi Daz,

Quote:I am pretty sure i am the victim of my own Browser TAB maddens i all ways have 30 plus open and i think i may have had to forms open in edit and that has given me the problem

Yeah, maybe... strange, though!

The SQL query in the error message you posted looks fine, in terms of it being well formed. So what's mostly likely happening is that the actual database table is different from what Form Tools *thinks* it is.

Do you have phpMyAdmin or another tool by which you can look at your database structure? What you'll need to do is compare your ft_form_14 table columns with that query. Are any columns missing, or does one of the columns have the wrong column name in the query?

Once you find that out, you'll need to manually edit the database table to correct the problem. After that's fixed you should be able to use your form again.

This should obviously never occur, so there's no other workaround right now that manually tweaking the database table.

One thing, though: BACK EVERYTHING UP! Just do a quick export of the ft_form_14 table before you edit it. It's easy to do with phpMyAdmin through the "Export" tab.

Let me know how it goes!

- Ben