Bug #91826
open
Install issue in TYPO3 10/11
Added by Maximilian Anton Grimm almost 4 years ago.
Updated almost 3 years ago.
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
(anonymous)
Installer.js?bust=e7…dd92c4e66b216301:13
dispatch jquery.min.js?bust=e…0dd92c4e66b216301:2
v.handle
jquery.min.js?bust=e…0dd92c4e66b216301:2
Database is setup with tables but without records inside.
Files
- 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.
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:
- 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.
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
- Related to Bug #94422: wrong handling in TYPO3\CMS\Core\Http\SelfEmittableLazyOpenStream added
- 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
Bug #88846 is not directly related but another issue in the InstallTool.
- Category set to Install Tool
Also available in: Atom
PDF