Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19303 META: XMLDB Editor various bugs/improvements
  3. MDL-13204

XMLDB check_indexes options runs for too long and PHP stops the script.

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.10, 1.9.6, 2.0
    • 1.8.4
    • Database SQL/XMLDB
    • None
    • Windows 2003, Apache 2.2.4, PHP 5.2.5, Oracle 10g
    • Oracle
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      When we try to check the database indexes from Admin->Misc->XMLDB editor->Check Indexes, after we confirm the run, we get a blank page after some time.

      It seems index checking is taking longer than the configured max_execution_time and PHP stops executing the page. We should raise the execution time before calling '$xmldb_action->invoke();' to cater for this. I've tried with 'set_time_limit(0)' and it works ok, but I don't know the code so maybe this is a little bit too much and we could use a lower limit.

      Saludos. Iñaki.

            stronk7 Eloy Lafuente (stronk7)
            iarenaza Iñaki Arenaza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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