Hello!
I've already seen all the others threads on this forum to solve my problem... but no ones fix mine !
(as this one https://discuss.flarum.org/d/17789-facing-problem-while-a-fresh-flarum-install-in-localhost/ )
I'm running MySQL 5.7 / PHP 7.1 / Apache 2.4 using Laragon
So. the full error is :
Fatal error: Uncaught Zend\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in D:\Localhost\flarum\vendor\zendframework\zend-httphandlerrunner\src\Exception\EmitterException.php:23 Stack trace: #0 D:\Localhost\flarum\vendor\zendframework\zend-httphandlerrunner\src\Emitter\SapiEmitterTrait.php(33): Zend\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 D:\Localhost\flarum\vendor\zendframework\zend-httphandlerrunner\src\Emitter\SapiEmitter.php(26): Zend\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 D:\Localhost\flarum\vendor\zendframework\zend-httphandlerrunner\src\RequestHandlerRunner.php(97): Zend\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Zend\Diactoros\Response\HtmlResponse)) #3 D:\Localhost\flarum\vendor\flarum\core\src\Http\Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run() #4 D:\Localhost\flarum\public\index.php(22): Flarum\Http\Server->listen() #5 {main} thrown in D:\Localhost\flarum\vendor\zendframework\zend-httphandlerrunner\src\Exception\EmitterException.php on line 23
My installation process :
composer create-project flarum/flarum . --stability=beta
php flarum install
What i already did:
on my Localhost/flarum/public/index.php =
'storage' => __DIR__.'/../storage', to 'storage' => __DIR__.'/storage',
but as the logs printed, my path is correctly setup
composer install
try and retry installation during 2hours, using composer clearcache, deleting database..
My php flarum info output :
Flarum core 0.1.0-beta.8.1
PHP version: 7.1.19
Loaded extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, mcrypt, SPL, pcre, readline, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, openssl, SimpleXML, xml, wddx, xmlreader, xmlwriter, curl, fileinfo, gd, intl, mbstring, mysqli, Phar, pdo_mysql, xsl
+-------------------+---------+--------+
| Flarum Extensions | | |
+-------------------+---------+--------+
| ID | Version | Commit |
+-------------------+---------+--------+
Base URL:
Installation path: D:\Localhost\flarum
Debug mode: off
Quotes: the installation process seems to be OK, many tables migrated on my database