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

"config-dist.php" misses some configuration tips really useful when troubleshooting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0
    • Component/s: Comments
    • Labels:
      None
    • Environment:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      See below the patch proposal, beware I'm not mother tongue :

      Index: config-dist.php
      ===================================================================
      RCS file: /cvsroot/moodle/moodle/config-dist.php,v
      retrieving revision 1.103.2.15
      diff -u -r1.103.2.15 config-dist.php
      --- config-dist.php	2 Apr 2010 09:33:11 -0000	1.103.2.15
      +++ config-dist.php	9 Nov 2010 14:28:14 -0000
      @@ -196,6 +196,12 @@
       // Prevent stats processing and hide the GUI
       //      $CFG->disablestatsprocessing = true;
       //
      +// Add SQL queries to the output of cron, just before their execution
      +//      $CFG->showcronsql = true;
      +//
      +// Force developer level debug and add debug info to the output of cron
      +//      $CFG->showcrondebugging = true;
      +//
       // Setting this to true will enable admins to edit any post at any time
       //      $CFG->admineditalways = true;
       //
      @@ -225,6 +231,9 @@
       // about students being served outdated versions of uploaded files.
       //     $CFG->filelifetime = 86400;
       //
      +// RFC2616 - Advise the client not to attempt a range request
      +//     $CFG->disablebyteserving = true;
      +//
       // This setting will prevent the 'My Courses' page being displayed when a student
       // logs in. The site front page will always show the same (logged-out) view.
       //     $CFG->disablemycourses = true;
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              matteo Matteo Scaramuccia
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10