Slow Moodle site in creating accounts and enrolling to course

Slow Moodle site in creating accounts and enrolling to course

par Kimeu Raphael,
Nombre de réponses : 1

Please help.

What could be the cause of the below 


  tool_log\log\manager::__set_state(array(

     'readers' => 

    array (

      'logstore_standard' => 

      logstore_standard\log\store::__set_state(array(

         'logguests' => '1',

         'manager' => NULL,

         'component' => 'logstore_standard',

         'store' => '',

         'buffer' => 

        array (

        ),

         'buffersize' => '100',

         'count' => 0,

      )),

      'logstore_database' => 

      logstore_database\log\store::__set_state(array(

         'extdb' => NULL,

         'logguests' => '0',

         'includelevels' => 

        array (

          0 => '1',

          1 => '2',

          2 => '0',

        ),

         'includeactions' => 

        array (

          0 => 'c',

          1 => 'r',

          2 => 'u',

          3 => 'd',

        ),

         'manager' => NULL,

         'component' => 'logstore_database',

         'store' => '',

         'buffer' => 

        array (

          0 => 

          array (

            'eventname' => '\\mod_scorm\\event\\course_module_viewed',

            'component' => 'mod_scorm',

            'action' => 'viewed',

            'target' => 'course_module',

            'objecttable' => 'scorm',

            'objectid' => '624',

            'crud' => 'r',

            'edulevel' => 2,

            'contextid' => 22187,

            'contextlevel' => 70,

            'contextinstanceid' => '2472',

            'userid' => '24725',

            'courseid' => '183',

            'relateduserid' => NULL,

            'anonymous' => 0,

            'other' => 'N;',

            'timecreated' => 1606028646,

            'origin' => 'web',

            'ip' => '41.191.228.6',

            'realuserid' => NULL,

          ),

        ),

         'buffersize' => '50',

         'count' => 1,

      )),

      'logstore_legacy' => 

      logstore_legacy\log\store::__set_state(array(

         'manager' => NULL,

         'component' => 'logstore_legacy',

         'store' => '',

      )),

    ),

     'writers' => 

    array (

      'logstore_standard' => 

      logstore_standard\log\store::__set_state(array(

         'logguests' => '1',

         'manager' => NULL,

         'component' => 'logstore_standard',

         'store' => '',

         'buffer' => 

        array (

        ),

         'buffersize' => '100',

         'count' => 0,

      )),

      'logstore_database' => 

      logstore_database\log\store::__set_state(array(

         'extdb' => NULL,

         'logguests' => '0',

         'includelevels' => 

        array (

          0 => '1',

          1 => '2',

          2 => '0',

        ),

         'includeactions' => 

        array (

          0 => 'c',

          1 => 'r',

          2 => 'u',

          3 => 'd',

        ),

         'manager' => NULL,

         'component' => 'logstore_database',

         'store' => '',

         'buffer' => 

        array (

          0 => 

          array (

            'eventname' => '\\mod_scorm\\event\\course_module_viewed',

            'component' => 'mod_scorm',

            'action' => 'viewed',

            'target' => 'course_module',

            'objecttable' => 'scorm',

            'objectid' => '624',

            'crud' => 'r',

            'edulevel' => 2,

            'contextid' => 22187,

            'contextlevel' => 70,

            'contextinstanceid' => '2472',

            'userid' => '24725',

            'courseid' => '183',

            'relateduserid' => NULL,

            'anonymous' => 0,

            'other' => 'N;',

            'timecreated' => 1606028646,

            'origin' => 'web',

            'ip' => '41.191.228.6',

            'realuserid' => NULL,

          ),

        ),

         'buffersize' => '50',

         'count' => 1,

      )),

    ),

     'stores' => 

    array (

      'logstore_standard' => 

      logstore_standard\log\store::__set_state(array(

         'logguests' => '1',

         'manager' => NULL,

         'component' => 'logstore_standard',

         'store' => '',

         'buffer' => 

        array (

        ),

         'buffersize' => '100',

         'count' => 0,

      )),

      'logstore_database' => 

      logstore_database\log\store::__set_state(array(

         'extdb' => NULL,

         'logguests' => '0',

         'includelevels' => 

        array (

          0 => '1',

          1 => '2',

          2 => '0',

        ),

         'includeactions' => 

        array (

          0 => 'c',

          1 => 'r',

          2 => 'u',

          3 => 'd',

        ),

         'manager' => NULL,

         'component' => 'logstore_database',

         'store' => '',

         'buffer' => 

        array (

          0 => 

          array (

            'eventname' => '\\mod_scorm\\event\\course_module_viewed',

            'component' => 'mod_scorm',

            'action' => 'viewed',

            'target' => 'course_module',

            'objecttable' => 'scorm',

            'objectid' => '624',

            'crud' => 'r',

            'edulevel' => 2,

            'contextid' => 22187,

            'contextlevel' => 70,

            'contextinstanceid' => '2472',

            'userid' => '24725',

            'courseid' => '183',

            'relateduserid' => NULL,

            'anonymous' => 0,

            'other' => 'N;',

            'timecreated' => 1606028646,

            'origin' => 'web',

            'ip' => '41.191.228.6',

            'realuserid' => NULL,

          ),

        ),

         'buffersize' => '50',

         'count' => 1,

      )),

      'logstore_legacy' => 

      logstore_legacy\log\store::__set_state(array(

         'manager' => NULL,

         'component' => 'logstore_legacy',

         'store' => '',

      )),

    ),

  )),

  1 => 'dispose',

):Error writing to database

Moyenne des évaluations: -
En réponse à Kimeu Raphael

Re: Slow Moodle site in creating accounts and enrolling to course

par Visvanath Ratnaweera,
Avatar Particularly helpful Moodlers Avatar Translators
Your question is unclear to me. Do you say, your site is generally slow and when you create accounts and enroll to courses the above error shows up? Then they are two completely different things, for different forums.

I would start with the error. For that you need to provide full information, server platform, system software with versions, Moodle release, any non-core plug-ins installed or special configurations made, .. Then you might want to ask the moderator to move the discussion to the General help forum.

Once that is solved, if your site is still slow, you can place a detailed enquiry in this forum. For samples, go through as many other discussions as possible.