[TYPO3-project-formidable] problem with 2 instances of formidable

Fabien Udriot fudriot at omic.ch
Mon Oct 29 11:03:21 CET 2007


Hi,

I tried to combinate an "insert form" with a "lister" as show on the 
tutorial :
http://www.ameos.com/fileadmin/formidable/sc5/flv-sc5.html

I get a nasty database error :
http://omic.ch/pictures/Picture6.png


Here is the PHP code :

//init the formidable objects
$this->oForm = t3lib_div::makeInstance ( "tx_ameosformidable" ) ;
$this->oForm->init ( $this, t3lib_extmgm::extPath ( 'ecousers' ) . 
"mod2/res/form.xml" ) ;
$this->content .= $this->oForm->render () ;

$this->oList = t3lib_div::makeInstance ( "tx_ameosformidable" ) ;
$this->oList->init ( $this, t3lib_extmgm::extPath ( 'ecousers' ) . 
"mod2/res/list.xml" ) ;
$this->content .= $this->oList->render () ;


Is there a new way to do it ? If I comment the $this->oList->init(), the 
error disappears.

best regards,

Fabien

Ps. I updated the formdiable to revision 145.


More information about the TYPO3-project-formidable mailing list