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

Installation failed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Installation
    • None
    • Ubuntu 8.04
      Apache 2
      Postgres 8.3.3
    • PostgreSQL
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      Checkout out the last Moodle HEAD (07/11/08 : 11:30AM)
      First page of the database generation, an error is displayed:

      Postgres:
      (postgres7): INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(?,?) [ (roleid=>null) (contextlevel=>'10') ] -1: ERROR: null value in column "roleid" violates not-null constraint

      ADOConnection._Execute(INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(?,?), Array[2]) % line 889, file: adodb.inc.php
      ADOConnection.Execute(INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(?,?), Array[2]) % line 209, file: postgres7_adodb_moodle_database.php
      postgres7_adodb_moodle_database.insert_record_raw(role_context_levels, Array[2], false, true) % line 288, file: postgres7_adodb_moodle_database.php
      postgres7_adodb_moodle_database.insert_record(role_context_levels, Object:stdClass, false, true) % line 4392, file: accesslib.php
      set_role_contextlevels(null, Array[1]) % line 1829, file: accesslib.php

      MySQL:
      (mysqli): INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(NULL,10) Query: INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(NULL,10) failed. Column 'roleid' cannot be null
      1048: Column 'roleid' cannot be null

      ADOConnection._Execute(INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(NULL,10)) % line 874, file: adodb.inc.php
      ADOConnection.Execute(INSERT INTO mdl_role_context_levels (roleid,contextlevel) VALUES(?,?), Array[2]) % line 271, file: adodb_moodle_database.php
      adodb_moodle_database.insert_record_raw(role_context_levels, Array[2], false, true) % line 178, file: mysqli_adodb_moodle_database.php
      mysqli_adodb_moodle_database.insert_record(role_context_levels, Object:stdClass, false, true) % line 4392, file: accesslib.php
      set_role_contextlevels(null, Array[1]) % line 1829, file: accesslib.php

      Attachments

        Activity

          People

            timhunt Tim Hunt
            jerome Jérôme Mouneyrac
            Jérôme Mouneyrac Jérôme Mouneyrac
            Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10