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

xhprof earlyprofiling cfg causes script termination

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-83246-main
    • Hide
      1. Set the following in config.php:

        $CFG->debug = 32767;
        $CFG->earlyprofilingenabled = true;
        $CFG->profilingenabled=true;
        $CFG->profilingautofrec = 5;
        $CFG->profilingincluded = '/*view.php,/*index.php';
        $CFG->profilingallowme = true;
        $CFG->profilingallowall = true;
        $CFG->pathtodot = '/path/to/your/executable/dot';
        

      2. Load any page
        1. Confirm the page loaded
      Show
      Set the following in config.php : $CFG->debug = 32767; $CFG->earlyprofilingenabled = true; $CFG->profilingenabled=true; $CFG->profilingautofrec = 5; $CFG->profilingincluded = '/*view.php,/*index.php'; $CFG->profilingallowme = true; $CFG->profilingallowall = true; $CFG->pathtodot = '/path/to/your/executable/dot'; Load any page Confirm the page loaded
    • 1
    • Team Hedgehog 2024 Sprint 3.3

      Whilst testing MDLQA-19124 whenever I enabled the early profiling cfg my site would not continue execution. Testing on PHP8.2 + Mysqli

      Cheers,

        1. error.png
          154 kB
          Huong Nguyen
        2. MDL-83246.png
          229 kB
          Ron Carl Alfon Yu

            dobedobedoh Andrew Lyons
            mathewmay Glyn (Mathew) May
            Huong Nguyen Huong Nguyen
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 4 minutes
                3h 4m

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