Web based family history software

Question [SOLVED] Homestead Vagrant webtrees-2.0.0-alpha.4

  • bgva2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #1 by bgva2005
I am using a Vagrant - Homestead VM.

When I try to installl the database I obtain this message:

pdo' is already a registered collector

Someone has tried to install webtrees into Homestead virtual machine?

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

  • bgva2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #2 by bgva2005
Replied by bgva2005 on topic Homestead Vagrant webtrees-2.0.0-alpha.4
the same problem occurs with ampps

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

More
5 years 2 months ago #3 by fisharebest
Replied by fisharebest on topic Homestead Vagrant webtrees-2.0.0-alpha.4
IIRC, homestead is specifically created for laravel projects.
I don't know if it is also a "general purpose" web development environemnt.

Anyhow, I quit using VMs for development environments a long time ago.
It's always more complicated and slower than just using native web/db servers...

Mac: I use laravel valet.
Windows: I used xampp in the past.
Linux: sudo apt install ^lamp-server (or just tick the box when installing ubuntu)

A google search of the error message "is already a registered collector" suggests it comes from laravel/debugbar,
and implies that you have than one instance of a logging tool being attached to your database connection.

While webtrees2 has support for debugbar, it is not installed by default. If you ran "composer install", then don't! Maybe homestead is adding DB logging as well?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

Powered by Kunena Forum
}