Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
      None
    • Environment:
      litespeed webserver / MySQL 5
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      well, after installing moodle 2RC I see "Error in writing to database"

      Here the full debug info:
      Debug info: Incorrect string value: '\xC5\x9B\xC4\x87' for column 'firstname' at row 1
      INSERT INTO mdl_user (auth,username,password,firstname,lastname,email,description,mnethostid,confirmed,lang,timemodified) VALUES(?,?,?,?,?,?,?,?,?,?,?)
      [array (
      0 => 'manual',
      1 => 'guest',
      2 => '70839b82579ba39470463080e4ab5834',
      3 => 'Go??',
      4 => ' ',
      5 => 'root@localhost',
      6 => 'To jest specjalny u?ytkownik, który posiada prawa dost?pu do niektórych kursów wy??cznie w trybie \'do odczytu\'.',
      7 => '1',
      8 => 1,
      9 => 'pl',
      10 => 1285608819,
      )]
      Stack trace:
      line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
      line 816 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      line 858 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
      line 152 of /lib/db/install.php: call to mysqli_native_moodle_database->insert_record()
      line 1252 of /lib/upgradelib.php: call to xmldb_main_install()
      line 171 of /admin/index.php: call to install_core()

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            ishan.anders Ishan added a comment -

            Same here:

            Debug info: Incorrect string value: '\xEF\x82\xB7; m...' for column 'alltext' at row 1
            INSERT INTO resource_old (oldid, course, name, type, reference, intro, introformat, alltext, popup, options, timemodified, cmid)
            SELECT r.id, r.course, r.name, r.type, r.reference, r.summary, 0, r.alltext, r.popup, r.options, r.timemodified, cm.id
            FROM resource r
            LEFT JOIN course_modules cm ON (r.id = cm.instance AND cm.module = ?)
            [array (
            0 => '13',
            )]
            Stack trace:

            • line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
            • line 645 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
            • line 246 of /mod/resource/db/upgradelib.php: call to mysqli_native_moodle_database->execute()
            • line 46 of /mod/folder/db/upgradelib.php: call to resource_20_prepare_migration()
            • line 39 of /mod/folder/db/install.php: call to folder_20_migrate()
            • line 468 of /lib/upgradelib.php: call to xmldb_folder_install()
            • line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
            • line 1348 of /lib/upgradelib.php: call to upgrade_plugins()
            • line 293 of /admin/index.php: call to upgrade_noncore()
            Show
            ishan.anders Ishan added a comment - Same here: Debug info: Incorrect string value: '\xEF\x82\xB7; m...' for column 'alltext' at row 1 INSERT INTO resource_old (oldid, course, name, type, reference, intro, introformat, alltext, popup, options, timemodified, cmid) SELECT r.id, r.course, r.name, r.type, r.reference, r.summary, 0, r.alltext, r.popup, r.options, r.timemodified, cm.id FROM resource r LEFT JOIN course_modules cm ON (r.id = cm.instance AND cm.module = ?) [array ( 0 => '13', )] Stack trace: line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown line 645 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end() line 246 of /mod/resource/db/upgradelib.php: call to mysqli_native_moodle_database->execute() line 46 of /mod/folder/db/upgradelib.php: call to resource_20_prepare_migration() line 39 of /mod/folder/db/install.php: call to folder_20_migrate() line 468 of /lib/upgradelib.php: call to xmldb_folder_install() line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules() line 1348 of /lib/upgradelib.php: call to upgrade_plugins() line 293 of /admin/index.php: call to upgrade_noncore()

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: