Jump to content
  • 0

Install script needs better exceptions handling


furioussnail

Question

Hello.

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.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...