Project

General

Profile

Actions

Bug #16121

closed

php5.1. and typo3 4.0

Added by Willi Kernen over 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-05-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

images.tar.gz (86.4 KB) images.tar.gz Administrator Admin, 2006-05-04 22:56
patch-3413.diff (609 Bytes) patch-3413.diff Administrator Admin, 2008-01-02 10:51
Actions #1

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

Actions #2

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.

Actions #3

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

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF