Installato Formbuilder 0.5.11 e FormBrowser 0.2.3 su CMS MS 1.3.1 "Havana"
FormBulder non da problemi testato con 2 input text e image upload... salva dati in batabase.
FormBroser invece restituisce l'errore:
Fatal error: Cannot redeclare xxxxxxx [.........] in [.....]/modules/FormBrowser/action.default.php:19
Ho consultato quindi i changelog e ho sostituito action.default rev 61 con la rev 66 che dovrebbe correggere l'errore di REDECLARE
L'ERRORE PERSISTE!!!!
Fatal error: Cannot redeclare getformidfromname() (previously declared in...
Form Browser - [per Alby]
Moderator: magallo
Re: Form Browser - [per Alby]
Mi pareva di averlo corretto.Paulin wrote: Installato Formbuilder 0.5.11 e FormBrowser 0.2.3 su CMS MS 1.3.1 "Havana"
..................
L'ERRORE PERSISTE!!!!
Fatal error: Cannot redeclare getformidfromname() (previously declared in...
Domani ricontrollo ed eventualmente lascio una versione da testare
Alby
Re: Form Browser - [per Alby]
Novità?
Re: Form Browser - [per Alby]
Se puoi testare questo da inserire poi nelle prossime versioni:
Alby---- action.default.php Thu Feb 26 18:17:55 2009
+++ action.default.php Sat Apr 11 18:35:32 2009
@@ -22,14 +22,14 @@
{
$fbrp_arr_getfield = array();
$fbrp_arr_searchfield = explode(',', $params['fbrp_searchfield']);
$this->smarty->assign_by_ref('fbrp_arr_searchfield', $fbrp_arr_searchfield);
$this->smarty->assign('fbrp_startfbrsearchform', $this->CreateFormStart($id, 'default', $returnid, 'get', '', true));
$_submit = (isset($params['fbrp_searchsubmit'])) ? $params['fbrp_searchsubmit'] : $this->Lang('fbrp_searchsubmit');
$this->smarty->assign('submitbutton', $this->CreateInputSubmit($id, 'fbrp_searchsubmit', $_submit));
$this->smarty->assign('fbrp_endfbrsearchform', $this->CreateFormEnd());
- $fb_form_id = GetFormIdFromName($params['browser']);
+ $fb_form_id = FormBrowser::GetFormIdFromName($params['browser']);
if($fb_form_id !== false)
{
foreach($fbrp_arr_searchfield as $_field)
@@ -40,18 +40,18 @@
}
if(! empty($params[$_field]))
{
- $fb_field_id = GetFieldId($fb_form_id, $_field);
+ $fb_field_id = FormBrowser::GetFieldId($fb_form_id, $_field);
if($fb_field_id !== false)
{
$fbrp_arr_getfield[$_field] = array('id'=>$fb_field_id, 'value'=>htmlspecialchars($params[$_field]));
}
}
$params['fbrp_arr_getfield']= $fbrp_arr_getfield;
$this->smarty->assign_by_ref('fbrp_arr_getfield', $fbrp_arr_getfield);
}
}
- $fbrp_response_search = GetRespId($fbrp_arr_getfield);
+ $fbrp_response_search = FormBrowser::GetRespId($fbrp_arr_getfield);
$params['fbrp_response_search']= $fbrp_response_search;
}