Project

General

Profile

Actions

Bug #24886

closed

DBAL: Install Tool "COMPARE" fails to update mysql Tables

Added by Michael over 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-01-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As I want to update from 4.4.6 > 4.5 I access the Install Toool and go to the Database Analyser.
After clicking on "COMPARE" the list of necessary changes to my database is presented.
But when I press "Write to database" the same list is shwon again and no changes to the database have been written.
After reading the logs the following error continues to occur everytime I try to execute the "COMPARE" update:

Core: Error handler (BE): PHP Warning: mysql_query() expects parameter 1 to be string, array given in /var/www/sources/typo3V4/typo3_src-4.5.0/typo3/sysext/dbal/class.ux_t3lib_db.php line 2937.

I have var_dumped $compiledQuery at the mentioned line 2937 and mysql_query is indeed passed an array and not a string.

CentOS
PHP 5.3.5
Apache 2.2
(issue imported from #M17399)


Files

17399.diff (851 Bytes) 17399.diff Administrator Admin, 2011-02-02 20:39

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24824: Alter table in install tool does not workClosedXavier Perseguers2011-01-26

Actions
Actions

Also available in: Atom PDF