[TYPO3-project-seminars] Create Event in FE throws php error

Thomas Meixner tmeixner at avecstyle.ca
Wed Feb 25 07:23:05 CET 2009


Hello,

I'm getting below error when I try to create an Event in the FE after 
submitting the form.  The Event is successfully entered in the database 
before the error is thrown. This has been working before and to my 
knowledge I have tried reverting all changes I did recently without 
success. Creating Events in the BE works fine.

Since it is complaining about an unexpected array I stepped through the 
values of the Form to be rendered (in formidable _doTheMagic( )) and the 
only array I found was for "attached_files". The array is however empty 
and I also don't use any attached files in my template.

1. Are there any settings which could have affected this or does it more 
look like a bug?
2. Is there a way of getting rid of the error message at least temporarily?

Kind Regards
Thomas Meixner
_______________________________________________________________________

Warning: mysql_real_escape_string() expects parameter 1 to be string, 
array given in 
/home/webadmin/www/projects/portail-dev/t3lib/class.t3lib_db.php on line 567

Call Stack
Function	Location
{main}( )	../index.php:0
require( 
'/home/webadmin/www/projects/portail-dev/typo3/sysext/cms/tslib/index_ts.php' 
)	../index.php:76
tslib_fe->INTincScript( )	../index_ts.php:461
tslib_fe->INTincScript_process( )	../class.tslib_fe.php:3012
tslib_cObj->USER( )	../class.tslib_fe.php:3086
tslib_cObj->callUserFunction( )	../class.tslib_content.php:724
call_user_func_array ( )	../class.tslib_content.php:5866
tx_seminars_pi1->main( )	../class.tslib_content.php:0
tx_seminars_pi1->createEventEditor( )	../class.tx_seminars_pi1.php:261
tx_seminars_pi1_eventEditor->_render( )	../class.tx_seminars_pi1.php:2805
tx_ameosformidable->render( )	../class.tx_seminars_pi1_eventEditor.php:167
tx_ameosformidable->_render( )	../class.tx_ameosformidable.php:3110
tx_dhdbmm->_doTheMagic( )	../class.tx_ameosformidable.php:3155
t3lib_DB->UPDATEquery( )	../class.tx_dhdbmm.php:98
t3lib_DB->fullQuoteArray( )	../class.t3lib_db.php:401
t3lib_DB->fullQuoteStr( )	../class.t3lib_db.php:588
mysql_real_escape_string ( )	../class.t3lib_db.php:567


More information about the TYPO3-project-seminars mailing list