Issue Bug Closed

#16121php5.1. and typo3 4.0

Willi Kernen 05/04/06, 22:56 updated 10/02/18, 12:33

Description

In “click here to edit whole template record” after saving all constants will be deleted and the following err-msh appears:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /Library/WebServer/typo3_src-4.0/t3lib/class.t3lib_db.php on line 554

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /Library/WebServer/typo3_src-4.0/t3lib/class.t3lib_db.php on line 554

Warning: Cannot modify header information – headers already sent by (output started at /Library/WebServer/typo3_src-4.0/t3lib/class.t3lib_db.php:554) in /Library/WebServer/typo3_src-4.0/typo3/template.php on line 613

Errors:
102: These fields are not properly updated in database: (constants,editorcfg) Probably value mismatch with fieldtype

I don’t know, if this is reproducable on other plattforms such as osx. Also a new component is for me the mysql-5.0.2-Release – maybe its a mysql5 problem only.

Additionally it could be of interes, that the error don’t appears if I use the seperate constants / setup-field (see descr. in the image-attaches)

Releases environment:
PHP 5.1.3 (cli) (built: May 4 2006 17:36:38)
Copyright © 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2006 Zend Technologies

mysql Ver 14.12 Distrib 5.0.20a, for apple-darwin8.5.1 (i686) using readline 5.0

Server version: Apache/2.2.0
Server built: May 4 2006 13:36:56

Greetings – Willi
(issue imported from #M3413)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.