Bug #16121
closedphp5.1. and typo3 4.0
0%
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 (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 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)
Files
Updated by Toralf Lenz over 18 years ago
This is a bug in PHP 5.1.3. Please update PHP to 5.1.4!
see http://bugs.php.net/bug.php?id=37276
Updated by Franz Holzinger almost 17 years ago
This error comes from a wrong call of fullQuoteArray.
Due to a much faster error debugging this patch should come into core.
Updated by Christian Kuhn about 15 years ago
Resolved, won't fix:
- This is a php error and not a TYPO3 problem, newer php versions are available
- TYPO3 4.2 requires php 5.2, so it's no problem in this branch
- TYPO3 4.1 will only get fixes for critical bugs and security related issues, this is not the case here