Bug #46932
closedFalse username/password/host let install crash
100%
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
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
Updated by Markus Klein over 11 years ago
How exactly do you think the mysqli change forces this bug?
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.)
Updated by Alexander Opitz over 11 years ago
Excuse was the false backtrace, fixed.
Updated by Alexander Opitz over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 44f7114169af47cdb8a2030b40fc1b3933e098d1.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed