FadedHazard Posted March 14, 2017 Posted March 14, 2017 Hey, I have a problem with your plugin. I get these error when doing a select list. UPDATE `form_fields` form_fields SET `field_value`='',`field_type`='Select',`field_options`='["SimZOr","Pepper"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=82 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /var/www/frog_forums/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /var/www/frog_forums/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('`form_fields` f...', '`field_value`=?...', 'WHERE field_id=...') #2 /var/www/frog_forums/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save() #3 /var/www/frog_forums/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save() #4 /var/www/frog_forums/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 [internal function]: IPS\Node\_Controller->form() #6 /var/www/frog_forums/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /var/www/frog_forums/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /var/www/frog_forums/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute() #9 /var/www/frog_forums/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute() #10 /var/www/frog_forums/public_html/admin/index.php(14): IPS\_Dispatcher->run() #11 {main}
Michael.J Posted March 22, 2017 Author Posted March 22, 2017 On 15/03/2017 at 5:33 AM, FadedHazard said: Hey, I have a problem with your plugin. I get these error when doing a select list. I've got a few reports of this and looking into it now. If your available to test any possible patches, please PM me.
Simon Woods Posted April 11, 2017 Posted April 11, 2017 I am also getting the error, including for Radio: UPDATE `form_fields` form_fields SET `field_value`='',`field_type`='Radio',`field_options`='["Prefix","Tag"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=78 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /home/chronill/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `form_fi...', Array) #1 /home/chronill/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('form_fields', Array, Array) #2 [internal function]: IPS\Patterns\_ActiveRecord->save() #3 /home/chronill/public_html/init.php(448) : eval()'d code(68): call_user_func_array('parent::save', Array) #4 /home/chronill/public_html/system/Node/Model.php(2015): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save() #5 /home/chronill/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save() #6 [internal function]: IPS\Node\_Model->saveForm(Array) #7 /home/chronill/public_html/init.php(448) : eval()'d code(83): call_user_func_array('parent::saveFor...', Array) #8 /home/chronill/public_html/system/Node/Controller.php(383): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array) #9 /home/chronill/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form() #10 /home/chronill/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #11 /home/chronill/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute() #12 /home/chronill/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute() #13 /home/chronill/public_html/admin/index.php(14): IPS\_Dispatcher->run() #14 {main}
Michael.J Posted April 12, 2017 Author Posted April 12, 2017 21 hours ago, Simon Woods said: I am also getting the error, including for Radio: I've put together a manual patch here - http://www.devfuse.com/forums/tracker/issue-1621-selectradio-field-errors/ Simon Woods 1
Simon Woods Posted April 12, 2017 Posted April 12, 2017 Thanks! Is this likely to be included in the next update?
Michael.J Posted April 20, 2017 Author Posted April 20, 2017 On 12/04/2017 at 2:47 PM, Simon Woods said: Thanks! Is this likely to be included in the next update? Yes will be included by default. Simon Woods 1
Michael.J Posted April 27, 2017 Author Posted April 27, 2017 On 25/04/2017 at 2:08 AM, Trevor Brandt said: Widget support on its way? Yes, maybe in the next bug fixing update soon. Simon Woods and Trevor Brandt 2
mnewt91 Posted May 22, 2017 Posted May 22, 2017 On 4/12/2017 at 0:58 PM, Mike John said: I've put together a manual patch here - http://www.devfuse.com/forums/tracker/issue-1621-selectradio-field-errors/ Hey Mike, Link appears to be broken
Michael.J Posted May 25, 2017 Author Posted May 25, 2017 On 22/05/2017 at 9:02 PM, mnewt91 said: Hey Mike, Link appears to be broken Manual Patch: Open applications/form/sources/Form/Field.php Find: unset( $form->elements['']['pf_format'] ); Add BELOW: unset( $form->elements['']['pf_search_type_on_off'] ); Save.
kmk Posted June 24, 2017 Posted June 24, 2017 UPDATE `form_fields` form_fields SET `field_pf_allow_attachments`=1,`field_value`='Default fied value',`field_form_id`=2,`field_type`='Text',`field_options`='[]',`field_multiple`=false,`field_required`=true,`field_max_input`=0,`field_input_format`='' WHERE field_id=5 IPS\Db\Exception: Unknown column 'field_pf_allow_attachments' in 'field list' (1054) #0 /home/panamyfo/public_html/system/Db/Db.php(990): IPS\_Db->preparedQuery('UPDATE `form_fi...', Array) #1 /home/panamyfo/public_html/system/Patterns/ActiveRecord.php(492): IPS\_Db->update('form_fields', Array, Array) #2 [internal function]: IPS\Patterns\_ActiveRecord->save() #3 /home/panamyfo/public_html/init.php(447) : eval()'d code(120): call_user_func_array('parent::save', Array) #4 /home/panamyfo/public_html/system/Node/Model.php(2183): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save() #5 [internal function]: IPS\Node\_Model->save() #6 /home/panamyfo/public_html/init.php(447) : eval()'d code(990): call_user_func_array('parent::save', Array) #7 /home/panamyfo/public_html/system/Node/Model.php(2955): IPS\Node\collab_hook_ipsNodeModel->save() #8 [internal function]: IPS\Node\_Model->saveForm(Array) #9 /home/panamyfo/public_html/init.php(447) : eval()'d code(83): call_user_func_array('parent::saveFor...', Array) #10 /home/panamyfo/public_html/system/Node/Controller.php(391): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array) #11 /home/panamyfo/public_html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form() #12 /home/panamyfo/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #13 /home/panamyfo/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute() #14 /home/panamyfo/public_html/system/Dispatcher/Dispatcher.php(142): IPS\form\modules\admin\form\_forms->execute() #15 /home/panamyfo/public_html/admin/index.php(13): IPS\_Dispatcher->run() #16 {main}
Michael.J Posted June 25, 2017 Author Posted June 25, 2017 10 hours ago, kmk said: UPDATE `form_fields` form_fields SET `field_pf_allow_attachments`=1,`field_value`='Default fied value',`field_form_id`=2,`field_type`='Text',`field_options`='[]',`field_multiple`=false,`field_required`=true,`field_max_input`=0,`field_input_format`='' WHERE field_id=5 Try the above patch but add this line as well. What version of IPB4 are you using? unset( $form->elements['']['pf_allow_attachments'] );
kmk Posted June 25, 2017 Posted June 25, 2017 2 minutes ago, Mike John said: Try the above patch but add this line as well. What version of IPB4 are you using? unset( $form->elements['']['pf_allow_attachments'] ); Can you guide me how archive it? 4.2 beta 6
Michael.J Posted June 27, 2017 Author Posted June 27, 2017 On 6/25/2017 at 1:38 PM, kmk said: Can you guide me how archive it? Open applications/form/sources/Form/Field.php Find: unset( $form->elements['']['pf_format'] ); Add BELOW: unset( $form->elements['']['pf_allow_attachments'] ); Save. 8 hours ago, superj707 said: is this mod 4.2 compatible? Apart from the above error reported, I haven't had anymore confirmed issues. But I will be releasing an update for IPB 4.2 that includes some more existing bug fixes.
GrooveOnBeat Posted July 23, 2017 Posted July 23, 2017 (edited) On 3/14/2017 at 8:33 AM, FadedHazard said: Hey, I have a problem with your plugin. I get these error when doing a select list. UPDATE `form_fields` form_fields SET `field_value`='',`field_type`='Select',`field_options`='["SimZOr","Pepper"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=82 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /var/www/frog_forums/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /var/www/frog_forums/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('`form_fields` f...', '`field_value`=?...', 'WHERE field_id=...') #2 /var/www/frog_forums/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save() #3 /var/www/frog_forums/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save() #4 /var/www/frog_forums/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 [internal function]: IPS\Node\_Controller->form() #6 /var/www/frog_forums/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /var/www/frog_forums/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /var/www/frog_forums/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute() #9 /var/www/frog_forums/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute() #10 /var/www/frog_forums/public_html/admin/index.php(14): IPS\_Dispatcher->run() #11 {main} On 4/10/2017 at 7:15 PM, Simon Woods said: I am also getting the error, including for Radio: UPDATE `form_fields` form_fields SET `field_value`='',`field_type`='Radio',`field_options`='["Prefix","Tag"]',`field_multiple`=false,`field_required`=false,`field_search_type`='exact' WHERE field_id=78 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /home/chronill/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `form_fi...', Array) #1 /home/chronill/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('form_fields', Array, Array) #2 [internal function]: IPS\Patterns\_ActiveRecord->save() #3 /home/chronill/public_html/init.php(448) : eval()'d code(68): call_user_func_array('parent::save', Array) #4 /home/chronill/public_html/system/Node/Model.php(2015): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->save() #5 /home/chronill/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save() #6 [internal function]: IPS\Node\_Model->saveForm(Array) #7 /home/chronill/public_html/init.php(448) : eval()'d code(83): call_user_func_array('parent::saveFor...', Array) #8 /home/chronill/public_html/system/Node/Controller.php(383): IPS\Node\rules_hook_ipsNodeModel->saveForm(Array) #9 /home/chronill/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form() #10 /home/chronill/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #11 /home/chronill/public_html/applications/form/modules/admin/form/forms.php(35): IPS\Node\_Controller->execute() #12 /home/chronill/public_html/system/Dispatcher/Dispatcher.php(129): IPS\form\modules\admin\form\_forms->execute() #13 /home/chronill/public_html/admin/index.php(14): IPS\_Dispatcher->run() #14 {main} On 4/11/2017 at 4:58 PM, Mike John said: I've put together a manual patch here - http://www.devfuse.com/forums/tracker/issue-1621-selectradio-field-errors/ What was the manual fix for this error? When I click on the link, the page no longer exists. I found the fix: https://www.devfuse.com/forums/topic/11577-forms-error/ Edited July 23, 2017 by GrooveOnBeat
modman Posted July 24, 2017 Posted July 24, 2017 Hello, i want to buy this plugin. Its possible with this plugin to create custom fields when users creating a support request? Thanks
Michael.J Posted July 24, 2017 Author Posted July 24, 2017 8 hours ago, modman said: Its possible with this plugin to create custom fields when users creating a support request? This app allows custom fields but not sure what you mean by support requests?
Michael.J Posted July 25, 2017 Author Posted July 25, 2017 Forms updated has been updated with the following changes: Compatibility update for IP.Board 4.2.x. Support for forms displaying in widgets. Several more minor bug fixes. Simon Woods 1
modman Posted July 25, 2017 Posted July 25, 2017 10 hours ago, Mike John said: This app allows custom fields but not sure what you mean by support requests? Its possible to create custom fields when a users create a support requests? Original Ip.Board custom fields are really limited. Thanks you
Michael.J Posted July 27, 2017 Author Posted July 27, 2017 On 7/25/2017 at 8:35 PM, modman said: Its possible to create custom fields when a users create a support requests? Original Ip.Board custom fields are really limited. Right now it will only support the default IPB 4 custom fields that you see when creating a profile field for example.
Simon Woods Posted August 14, 2017 Posted August 14, 2017 (edited) I'm attempting to test out the forms in widgets and the block is not appearing in the block manager for me to choose it. Weirdly, it appears in the list when creating a custom block from a plugin. System logs threw this up: Template store key: template_21_cf26a6e403c332934cdd22fea1e7c649_widgets missing (form, front, widgets) #0 /var/www/html/r266536/system/Theme/Theme.php(785): IPS\_Log::log('Template store ...', 'template_store_...') #1 /var/www/html/r266536/system/Widget/Widget.php(122): IPS\_Theme->getTemplate('widgets', 'form', 'front') #2 /var/www/html/r266536/applications/form/widgets/formForm.php(44): IPS\_Widget->init() #3 /var/www/html/r266536/system/Widget/Widget.php(103): IPS\form\widgets\_formForm->init() #4 /var/www/html/r266536/system/Widget/Widget.php(295): IPS\_Widget->__construct('59910d600a2a6', Array, '["sidebar","cms...', NULL) #5 /var/www/html/r266536/applications/core/modules/front/system/widgets.php(71): IPS\_Widget::load(Object(IPS\form\Application), 'formForm', '59910d600a2a6', Array, '["sidebar","cms...', NULL) #6 /var/www/html/r266536/system/Dispatcher/Controller.php(85): IPS\core\modules\front\system\_widgets->getBlockList() #7 /var/www/html/r266536/applications/core/modules/front/system/widgets.php(38): IPS\Dispatcher\_Controller->execute() #8 /var/www/html/r266536/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\front\system\_widgets->execute() #9 /var/www/html/r266536/index.php(12): IPS\_Dispatcher->run() #10 {main} Edited August 14, 2017 by Simon Woods
Michael.J Posted August 16, 2017 Author Posted August 16, 2017 On 8/14/2017 at 0:41 PM, Simon Woods said: I'm attempting to test out the forms in widgets and the block is not appearing in the block manager for me to choose it. Weirdly, it appears in the list when creating a custom block from a plugin. What page are you originally trying to add a form widget to? A forum area or something within the Pages app?
Simon Woods Posted August 16, 2017 Posted August 16, 2017 5 hours ago, Mike John said: What page are you originally trying to add a form widget to? A forum area or something within the Pages app? Initially it was the board index but I just tried within Pages and in a forum area, where it also isn't appearing.
Michael.J Posted August 16, 2017 Author Posted August 16, 2017 15 hours ago, Simon Woods said: Initially it was the board index but I just tried within Pages and in a forum area, where it also isn't appearing. I don't seem to be able to reproduce this in the forums or pages app. Can you reproduce this with the default "Contact Form" or do you have a customized form? If the later, if I could get acp login details. I'll try and reproduce this with your exact setup.
Recommended Posts