Jump to content
  • 0

Install script needs better exceptions handling



At some point though my installation I was encountering the following error:

Database connection FAILED. Ensure that you have created the database and that the credentials are correct.

However PHP modules were installed and the user name and password were correct. Further debugging revealed that the exceptions in install.php aren't handled properly. In the try catch block at line 469 I appendedĀ $e->getMessage() to the error and I finally figured out the problem:

PHP's json extension is required to use Monolog's NormalizerFormatter

So, I think the behavior needs to be changed accordingly.

My best.

Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now