I'm trying to install Flarum on Windows 7x64 - Xampp / PHP 7.1 ... (later it will be on my shared hosting, Linux, PHP 7.1)
steps:
- I installed Xampp, Composer on Windows.
- download the files via composer into the folder: D:\xampp\htdocs\flarum
- enabled debug httpd.conf, LoadModule log_debug_module modules / mod_log_debug.so
- stop, start MySQL and Apache
- I created the database (and user + permissions)
- Via browser, go to the flarum configuration page (localhost/flarum/public). I clicked on "Install Flarum", a few moments later, it displays the mentioned error. The tables were created.
I did not set any other files.
Apache (error.log)
[Tue Jun 11 01:09:18.041690 2019] [ssl:warn] [pid 3856:tid 220] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 11 01:09:18.088490 2019] [core:warn] [pid 3856:tid 220] AH00098: pid file D:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Jun 11 01:09:18.275690 2019] [ssl:warn] [pid 3856:tid 220] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 11 01:09:18.306891 2019] [mpm_winnt:notice] [pid 3856:tid 220] AH00455: Apache/2.4.29 (Win32) OpenSSL/1.0.2n PHP/7.1.13 configured -- resuming normal operations
[Tue Jun 11 01:09:18.306891 2019] [mpm_winnt:notice] [pid 3856:tid 220] AH00456: Apache Lounge VC14 Server built: Nov 5 2017 11:10:32
[Tue Jun 11 01:09:18.306891 2019] [core:notice] [pid 3856:tid 220] AH00094: Command line: 'd:\\xampp\\apache\\bin\\httpd.exe -d D:/xampp/apache'
[Tue Jun 11 01:09:18.306891 2019] [mpm_winnt:notice] [pid 3856:tid 220] AH00418: Parent: Created child process 8764
[Tue Jun 11 01:09:18.977692 2019] [ssl:warn] [pid 8764:tid 232] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 11 01:09:19.211692 2019] [ssl:warn] [pid 8764:tid 232] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 11 01:09:19.242892 2019] [mpm_winnt:notice] [pid 8764:tid 232] AH00354: Child: Starting 150 worker threads.
[Tue Jun 11 01:10:22.590731 2019] [autoindex:error] [pid 8764:tid 1672] [client ::1:59788] AH01276: Cannot serve directory D:/xampp/htdocs/flarum/: No matching DirectoryIndex (index.php,index.pl,index.cgi,index.asp,index.shtml,index.html,index.htm,default.php,default.pl,default.cgi,default.asp,default.shtml,default.html,default.htm,home.php,home.pl,home.cgi,home.asp,home.shtml,home.html,home.htm) found, and server-generated directory index forbidden by Options directive
LOG: D:\xampp\htdocs\flarum\storage\logs\flarum-2019-06-11.log
[2019-06-11 04:16:01] production.ERROR: Less_Exception_Parser: File
fa-brands.lessnot found. in variables.less in D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Parser.php:2793
Stack trace:
#0 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Parser.php(471): Less_Parser->Error('File
fa-brands...')
#1 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Import.php(275): Less_Parser->parseFile('fa-brands.less', 'fa-brands.less', true)
#2 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Import.php(198): Less_Tree_Import->ParseImport('fa-brands.less', 'fa-brands.less', Object(Less_Environment))
#3 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Ruleset.php(248): Less_Tree_Import->compile(Object(Less_Environment))
#4 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Import.php(279): Less_Tree_Ruleset->evalImports(Object(Less_Environment))
#5 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Import.php(198): Less_Tree_Import->ParseImport('D:/xampp/htdocs...', 'common', Object(Less_Environment))
#6 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Ruleset.php(248): Less_Tree_Import->compile(Object(Less_Environment))
#7 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Ruleset.php(235): Less_Tree_Ruleset->evalImports(Object(Less_Environment))
#8 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Tree\Ruleset.php(70): Less_Tree_Ruleset->PrepareRuleset(Object(Less_Environment))
#9 D:\xampp\htdocs\flarum\vendor\oyejorge\less.php\lib\Less\Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
#10 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Compiler\LessCompiler.php(86): Less_Parser->getCss()
#11 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Compiler\RevisionCompiler.php(151): Flarum\Frontend\Compiler\LessCompiler->compile(Array)
#12 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Compiler\RevisionCompiler.php(81): Flarum\Frontend\Compiler\RevisionCompiler->save('forum-2c88f524....', Array)
#13 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Compiler\RevisionCompiler.php(126): Flarum\Frontend\Compiler\RevisionCompiler->commit()
#14 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Content\Assets.php(71): Flarum\Frontend\Compiler\RevisionCompiler->getUrl()
#15 [internal function]: Flarum\Frontend\Content\Assets->Flarum\Frontend\Content{closure}(Object(Flarum\Frontend\Compiler\LessCompiler))
#16 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Content\Assets.php(72): array_map(Object(Closure), Array)
#17 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Content\Assets.php(54): Flarum\Frontend\Content\Assets->getUrls(Array)
#18 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Frontend.php(65): Flarum\Frontend\Content\Assets->__invoke(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#19 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Frontend.php(57): Flarum\Frontend\Frontend->populate(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#20 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Frontend\Controller.php(34): Flarum\Frontend\Frontend->document(Object(Zend\Diactoros\ServerRequest))
#21 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\RouteHandlerFactory.php(40): Flarum\Frontend\Controller->handle(Object(Zend\Diactoros\ServerRequest))
#22 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\DispatchRoute.php(67): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Zend\Diactoros\ServerRequest), Array)
#23 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\DispatchRoute->process(Object(Zend\Diactoros\ServerRequest), Object(Closure))
#24 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\ShareErrorsFromSession.php(58): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#25 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\ShareErrorsFromSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#26 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\SetLocale.php(51): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#27 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\SetLocale->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#28 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\AuthenticateWithSession.php(34): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#29 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#30 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\RememberFromCookie.php(52): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#31 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#32 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\StartSession.php(62): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#33 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\StartSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#34 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\CollectGarbage.php(48): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#35 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\CollectGarbage->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#36 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\ParseJsonBody.php(29): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#37 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#38 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Middleware\HandleErrorsWithView.php(67): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#39 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Flarum\Http\Middleware\HandleErrorsWithView->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#40 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php(83): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#41 D:\xampp\htdocs\flarum\vendor\middlewares\request-handler\src\RequestHandler.php(84): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#42 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Middlewares\RequestHandler->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#43 D:\xampp\htdocs\flarum\vendor\middlewares\base-path-router\src\BasePathRouter.php(97): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#44 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Middlewares\BasePathRouter->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#45 D:\xampp\htdocs\flarum\vendor\middlewares\base-path\src\BasePath.php(53): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#46 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\Next.php(52): Middlewares\BasePath->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#47 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php(83): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#48 D:\xampp\htdocs\flarum\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php(72): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\EmptyPipelineHandler))
#49 D:\xampp\htdocs\flarum\vendor\zendframework\zend-httphandlerrunner\src\RequestHandlerRunner.php(95): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#50 D:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run()
#51 D:\xampp\htdocs\flarum\public\index.php(22): Flarum\Http\Server->listen()
#52 {main} `