Project

General

Profile

Actions

Bug #53997

closed

123 Installer tries to find database before the user is asked to select one.

Added by Frederik Vosberg over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2013-11-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

I am confused why I get the error and nobody? I dont find similar reports.

I have downloaded the 6.1.6 dummy and source packages and opened the root in the browser.

First, there is an infinite redirect loop error (not after the first step like #51667.

After reloading TYPO3 is displaying the installer.

After filling in db user, db host and password, I get the following error:

There is no connection to the database! 
(Username: user, Host: localhost, Using Password: YES) 
Go to Step 1 and enter a valid username and password!

I debugged the following:
\TYPO3\CMS\Dbal\Hooks\InstallHook hooks the stepOutput in \TYPO3\CMS\Install\Installer::stepOutput()

In $GLOBALS[‘TYPO3_DB’] is the \TYPO3\CMS\Dbal\Database\DatabaseConnection and Installer::createDatabaseForm tries to call the method sol_pconnect of it. This returns NULL because DatabaseConnection::handler_init checks whether a database is set or not.

What am I doing wrong? Is it a bug. Is it because of the infinite redirect loop? Can I fix it?


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #51667: Inf. redirection loop after first Step of Install ToolClosed2013-09-03

Actions
Related to TYPO3 Core - Bug #43471: dbal used on clean install using mysqlClosed2012-11-29

Actions
Related to TYPO3 Core - Bug #55252: PHP 5.5 and require LocalConfigurationClosedAlexander Opitz2014-01-22

Actions
Has duplicate TYPO3 Core - Bug #54337: 1-2-3 Installer fails with "There is no connection to the database!"Closed2013-12-11

Actions
Actions

Also available in: Atom PDF