Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83852

Fatal error in the web install if wrong or no database details are provided

XMLWordPrintable

      Steps to reproduce

      1. Start the Moodle web installation process.
      2. Choose a language, confirm path and select the database driver.
      3. In the database settings page, don't fill the form and simply click "Next".
      Expected

      A validation message is displayed:

      Actual

      The following fatal error is displayed:

      Fatal error: Uncaught Error: Undefined constant "NO_DEBUG_DISPLAY" in /home/simey/moodles/stainstall/moodle/lib/weblib.php:2477 Stack trace: #0 /home/simey/moodles/stainstall/moodle/lib/dml/moodle_read_replica_trait.php(257): debugging() #1 /home/simey/moodles/stainstall/moodle/lib/installlib.php(187): pgsql_native_moodle_database->connect() #2 /home/simey/moodles/stainstall/moodle/install.php(285): install_db_validate() #3 {main} thrown in /home/simey/moodles/stainstall/moodle/lib/weblib.php on line 2477
      

            x-iy David Adamson
            lameze Simey Lameze
            Benjamin Walker Benjamin Walker
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 34 minutes
                34m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.