[TYPO3-commerce] Save Articles Error mysql_real_escape_string()

Morten Olesen mo at idefa.dk
Thu Jun 25 08:53:09 CEST 2009


Hey Chris,

There are a fair amount of bug reports on commerce having problems with 
4.2.6. We've chosen to stay at 4.2.1 untill 4.3 is officially out to 
avoid theese problems.

Do note that I'm not saying that the typo3 version IS the problem here, 
but that it may very well be - and even if it's not it will cause you a 
heap of other problems :)

/Morten

chris bernhard wrote:
> Hi Morten,
> 
> yes you are right. My informations where really poor to
> encircle this problem. Hope my name is now shown correcty!
> 
> Okay, here are more details for this issue:
> 
> Typo 4.2.6, Commerce 0.9.8
> 
> The error occurs when im trying to save a new product after
> assigning some attributes to it.
> 
> I hope, this is enough information.
> 
> Best regards,
> 
> Chris
> 
> 
> Morten Olesen schrieb:
>> Hi Chris,
>>
>> a few points
>> 1) Do fix your name calling your self "lists.netfielders.de" will only 
>> lead to confusion
>> 2) Do provide some more details ( commerce version, typo3 version, php 
>> version, what you did to get this result, how to reproduce it, etc ) 
>> I'm afraid what you posted is about as informative as calling AAA and 
>> telling them only "my car broke down please fix it" before hangin up ;-)
>>
>> /Morten
>>
>> lists.netfielders.de. wrote:
>>> Dear List,
>>>
>>> when im trying save a new product i get the following
>>> warning:
>>>
>>> Warning: mysql_real_escape_string() expects parameter 1 to be string, 
>>> array given in /html/t3lib/class.t3lib_db.php on line 568
>>>
>>>
>>> 568 function fullQuoteStr($str, $table){
>>> return '\''.mysql_real_escape_string($str, $this->link).'\'';
>>> }
>>>
>>> What would be an good workaround for this issue? I think to hide the 
>>> warnings isnt the best way to solve this problem.
>>>
>>> Many thanks in advantage,
>>>
>>> Chris


More information about the TYPO3-project-commerce mailing list