Bug #91826
closedInstall issue in TYPO3 10/11
0%
Description
My Webserver PHP got updated to 7.2.32, since this update at install of TYPO3 10.4.5 error occurs at last step 4/5 80%
POST ../typo3/install.php Error 502
install.php:1 Uncaught (in promise) r.ResponseError {response: Response}
Promise.then (async)
executeDatabaseData Installer.js?bust=e7…dd92c4e66b216301:13
Installer.js?bust=e7…dd92c4e66b216301:13
(anonymous)
dispatch jquery.min.js?bust=e…0dd92c4e66b216301:2
jquery.min.js?bust=e…0dd92c4e66b216301:2
v.handle
Database is setup with tables but without records inside.
Files
Updated by Bastian Bringenberg about 4 years ago
- Project changed from 9 to TYPO3 Core
- TYPO3 Version set to 10
- PHP Version set to 7.2
Moved to correct project.
Set TYPO3 Version.
Set PHP Version.
Updated by David Bruchmann about 3 years ago
- File clipboard-202106271753-wrbxo.png clipboard-202106271753-wrbxo.png added
- File clipboard-202106271802-ajyri.png clipboard-202106271802-ajyri.png added
I've nearly the same issue, just no tables are added in my database.
My environment:
- TYPO3 v11.3-dev
- PHP 7.4
- Apache 2.4, PHP, CGI
- MariaDB 10.5 + InnoDB
In firefox I get the error shown like this:
and in chrome it's looking like that:
Updated by David Bruchmann about 3 years ago
- Subject changed from TYPO3 10.4.5 + PHP 7.2.32 Install issue to Install issue in TYPO3 10/11
- Tags set to Installtool
After some verification I found a concrete error:
Fatal error: Class TYPO3\CMS\Core\Http\SelfEmittableLazyOpenStream may not inherit from final class (GuzzleHttp\Psr7\LazyOpenStream) in /var/www/html/domain.com/typo3/sysext/core/Classes/Http/SelfEmittableLazyOpenStream.php on line 29
I installed it now in ddev instead of directly on the server and the error-messages in the console are a bit different, so I could get this one.
Updated by David Bruchmann about 3 years ago
One problem seems to be in the guzzle class GuzzleHttp\Psr7\LazyOpenStream which implements Psr\Http\Message\StreamInterface but is on the one hand final and on the other hand includes only 2 methods of the interface. So either the versions of class and interface never fit together or guzzle has just a bug here.
details:- psr/http-message is installed in version 1.0.x-dev
- guzzlehttp/psr7 is installed in version 2.0-dev
The bug is reported here: https://github.com/guzzle/psr7/issues/428
Updated by David Bruchmann about 3 years ago
- Related to Bug #94422: wrong handling in TYPO3\CMS\Core\Http\SelfEmittableLazyOpenStream added
Updated by David Bruchmann about 3 years ago
- Related to Bug #88846: Install tool (on FIRST_INSTALL) warns about "Trusted hosts pattern mismatch" although 'trustedHostsPattern' is set correctly (if no LocalConfiguration.php is present) added
Updated by David Bruchmann about 3 years ago
Bug #88846 is not directly related but another issue in the InstallTool.
Updated by David Bruchmann about 3 years ago
I did miss the used trait https://github.com/guzzle/psr7/blob/148492f9e2e1524317a8aa60875f5b59517a9374/src/StreamDecoratorTrait.php
therefore my aforementioned conclusions are wrong.
Instead the implementation in TYPO3 seems being wrong. See #94422
Updated by Georg Ringer 2 months ago
- Status changed from New to Closed
closing the issue as #94422 has been resolved and quite a lot changed in last 4 years.
if this is still an issue for you in v12/v13, please open a new issue or contact me on slack! thanks