Project

General

Profile

Actions

Bug #46932

closed

False username/password/host let install crash

Added by Alexander Opitz over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
Start date:
2013-04-05
Due date:
% Done:

100%

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

Description

Maybe problem since switch to MySQLi #36419

Backtrace:

[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function Connect() on a non-object in /home/opi/projects/typo3/typo3_src-git/typo3/sysext/dbal/Classes/Database/DatabaseConnection.php on line 2920, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   1. {main}() /home/opi/projects/typo3/typo3_src-git/typo3/install/index.php:0, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   2. TYPO3\\CMS\\Install\\Installer->init() /home/opi/projects/typo3/typo3_src-git/typo3/install/index.php:60, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   3. TYPO3\\CMS\\Install\\Installer->stepOutput() /home/opi/projects/typo3/typo3_src-git/typo3/sysext/install/Classes/Installer.php:531, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   4. TYPO3\\CMS\\Install\\Installer->checkTheConfig() /home/opi/projects/typo3/typo3_src-git/typo3/sysext/install/Classes/Installer.php:850, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   5. TYPO3\\CMS\\Install\\Installer->checkDatabase() /home/opi/projects/typo3/typo3_src-git/typo3/sysext/install/Classes/Installer.php:1155, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   6. TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection->sql_pconnect() /home/opi/projects/typo3/typo3_src-git/typo3/sysext/install/Classes/Installer.php:2340, referer: http://typo61/typo3/install/index.php?mode=123&step=2
[Fri Apr 05 10:56:02 2013] [error] [client 127.0.0.1] PHP   7. TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection->handler_init() /home/opi/projects/typo3/typo3_src-git/typo3/sysext/dbal/Classes/Database/DatabaseConnection.php:2450, referer: http://typo61/typo3/install/index.php?mode=123&step=2

Actions #1

Updated by Gerrit Code Review over 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19564

Actions #2

Updated by Markus Klein over 11 years ago

How exactly do you think the mysqli change forces this bug?

Actions #3

Updated by Marcin Sągol over 11 years ago

I'm not sure if we are talking about the same problem but atm installer stops at step 2 where database connection details are enterd. Form filled with proper data will return:

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

Take a look that username or host arent show here (but they are saved in LocalConfiguration.php).

Than if i refresh page i will have:

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

So the same message with database name and host filled now.

Theres more. If i manually type all required data into LocalConfiguration.php i am able to run installer but only shalf of tables are inported to DB. If i go to Comapare DB in install tool i see several tablee missing but they cant be imported because of errors (syntax? like something wrong near ) ENGINE InnoDB; etc.)

Actions #4

Updated by Alexander Opitz over 11 years ago

Excuse was the false backtrace, fixed.

Actions #5

Updated by Alexander Opitz over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF