Please do NOT post requests for help here. Use the Help forum for that.

TOPIC: [SOLVED] Homestead Vagrant webtrees-2.0.0-alpha.4

Homestead Vagrant webtrees-2.0.0-alpha.4 1 week 5 days ago #1

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 5
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?
The administrator has disabled public write access.

Homestead Vagrant webtrees-2.0.0-alpha.4 1 week 5 days ago #2

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 5
the same problem occurs with ampps
The administrator has disabled public write access.

Homestead Vagrant webtrees-2.0.0-alpha.4 1 week 5 days ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10615
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 - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Moderators: makitso
Powered by Kunena Forum