Web based family history software

Important Error installing 2.1.0-beta. 2

  • olor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • chen guo
More
1 year 11 months ago #1 by olor
Error installing 2.1.0-beta. 2 was created by olor
Hello
An error occurred when the installation was completed:
Code:
Class "finfo" not found …/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php:36 #0 …/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(96): League\MimeTypeDetection\FinfoMimeTypeDetector->__construct() #1 …/app/Factories/FilesystemFactory.php(48): League\Flysystem\Local\LocalFilesystemAdapter->__construct() #2 …/app/Http/RequestHandlers/ManageTrees.php(67): Fisharebest\webtrees\Factories\FilesystemFactory->data() #3 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\webtrees\Http\RequestHandlers\ManageTrees->handle() #4 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\RequestHandler->process() #5 …/modules_v4/example-middleware/module.php(85): Middleland\Dispatcher->handle() #6 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Module\AbstractModule@anonymous->process() #7 …/app/Module/HitCountFooterModule.php(157): Middleland\Dispatcher->handle() #8 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Module\HitCountFooterModule->process() #9 …/app/Http/Middleware/AuthManager.php(54): Middleland\Dispatcher->handle() #10 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\AuthManager->process() #11 …/app/Http/Middleware/CheckCsrf.php(76): Middleland\Dispatcher->handle() #12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CheckCsrf->process() #13 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #14 …/app/webtrees.php(265): Middleland\Dispatcher->dispatch() #15 …/app/Http/Middleware/Router.php(150): Fisharebest\webtrees\webtrees::dispatch() #16 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\Router->process() #17 …/app/Http/Middleware/BootModules.php(60): Middleland\Dispatcher->handle() #18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BootModules->process() #19 …/app/Http/Middleware/RegisterGedcomTags.php(56): Middleland\Dispatcher->handle() #20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\RegisterGedcomTags->process() #21 …/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle() #22 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\LoadRoutes->process() #23 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle() #24 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\webtrees\Http\Middleware\UseTransaction::Fisharebest\webtrees\Http\Middleware\{closure}() #25 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction() #26 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseTransaction->process() #27 …/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle() #28 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\DoHousekeeping->process() #29 …/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle() #30 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseTheme->process() #31 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle() #32 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CheckForMaintenanceMode->process() #33 …/app/Http/Middleware/UseLanguage.php(71): Middleland\Dispatcher->handle() #34 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseLanguage->process() #35 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle() #36 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseSession->process() #37 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle() #38 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UpdateDatabaseSchema->process() #39 …/app/Http/Middleware/UseDatabase.php(118): Middleland\Dispatcher->handle() #40 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseDatabase->process() #41 …/app/Http/Middleware/BadBotBlocker.php(233): Middleland\Dispatcher->handle() #42 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BadBotBlocker->process() #43 …/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle() #44 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CompressResponse->process() #45 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle() #46 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ContentLength->process() #47 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle() #48 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process() #49 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ClientIp->process() #50 …/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle() #51 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\HandleExceptions->process() #52 …/app/Http/Middleware/BaseUrl.php(78): Middleland\Dispatcher->handle() #53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BaseUrl->process() #54 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle() #55 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ReadConfigIni->process() #56 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle() #57 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\SecurityHeaders->process() #58 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle() #59 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\EmitResponse->process() #60 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #61 …/app/webtrees.php(265): Middleland\Dispatcher->dispatch() #62 …/app/webtrees.php(252): Fisharebest\webtrees\webtrees::dispatch() #63 …/index.php(51): Fisharebest\webtrees\webtrees->httpRequest() #64 {main}

The front desk can be accessed, but the control panel cannot be accessed.

Please Log in or Create an account to join the conversation.

  • olor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • chen guo
More
1 year 11 months ago #2 by olor
Replied by olor on topic Error installing 2.1.0-beta. 2
I installed webtrees2.1.0-beta.2 in php8.1 environment

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #3 by philld
Replied by philld on topic Error installing 2.1.0-beta. 2
I too am having problems with the upgrade to webtrees.2.1-beta2. I attempted to do the upgrade yesterday but encountered a blank page. Based on suggestions from other posts, I disabled all modules - no change. Checked the error log - no indication as to what was wrong. Tried the Error 500 suggestion and created a .htaccess file and received the message - Invalid command 'php-flag'.

This morning, I restored to the last working copy of the site and again attempted to upgrade. When launching the site got the message to delete the vendor/symfony... file which I did. Attempted to refresh the page and got a blank screen. Again modules were disable and the error log showed no errors. Tried the .htaccess suggestion again and again it was Invalid command ' php-flag'. Not being a php guru, is php-flag a separate module that needs to be installed or is it a part of the base package.

Am at a stand still in terms of doing the upgrade.

Please Log in or Create an account to join the conversation.

  • olor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • chen guo
More
1 year 11 months ago #4 by olor
Replied by olor on topic Error installing 2.1.0-beta. 2
The problem was finally solved.
You can install two extension files of PHP:exif.so and fileinfo.so

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #5 by philld
Replied by philld on topic Error installing 2.1.0-beta. 2
Hmm - I did a "php -m" command and both exif and fileinfo are listed under the extensions

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #6 by philld
Replied by philld on topic Error installing 2.1.0-beta. 2
I managed to locate my problem. To resolve I did a fresh install of webtrees and then compared the new "config.ini.php" with the original. The new "config.ini.php" had three additional lines not in the original - dbtype, base_url and rewrite_urls. After adding those to the original "config.ini.php" can now access the site again.

Please Log in or Create an account to join the conversation.

  • hermann
  • Away
  • Elite Member
  • Elite Member
More
1 year 11 months ago #7 by hermann
Replied by hermann on topic Error installing 2.1.0-beta. 2
@philld: good that you can access your site again! I'm curious because the missing three lines in config.ini.php should be there since 2.0: have you done an upgrade from 1.7 to 2.1 or have you upgraded from 2.0, but had forgotten the threes lines already during the upgrade from 1.7 to 2.0?

Hermann
Designer of the custom module "Extended Family"

webtrees 2.1.19 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #8 by philld
Replied by philld on topic Error installing 2.1.0-beta. 2
@hermann
My upgrade was from 2.0.21 to the 2.1 beta so I had been running v2.0.x without those three lines so they got missed when going from v1 to v2.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}