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

Clean Moodle install fails due to caching

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Caching, Installation
    • Labels:
    • Testing Instructions:
      Hide
      • Install master from integration.git from scratch (not having any config.php file).
      • TEST: You're able to pick a lang, setup dirs, configure the db and arrive to the copyright page (that launches installation) without any problem.
      • Optional TEST: Continue the installation (db structures, admin user, frontpage config) and it ends without error.
      Show
      Install master from integration.git from scratch (not having any config.php file). TEST: You're able to pick a lang, setup dirs, configure the db and arrive to the copyright page (that launches installation) without any problem. Optional TEST: Continue the installation (db structures, admin user, frontpage config) and it ends without error.
    • Workaround:
      Hide

      I was able to get past this by dropping in a pre-made config.php file.

      Show
      I was able to get past this by dropping in a pre-made config.php file.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE

      Description

      On a fresh install, the following error is reported in the installation process. It happens after selecting a language and nominating the paths.

      Fatal error: Class 'cache' not found in D:\xampp\htdocs\moodle_master_test_mysql_copy\lib\moodlelib.php on line 6492

      David Mo got a bit more detail when he replicated the problem.

      Fatal error: Class 'cache' not found in /home/davidm/Desktop/moodlecode/INTEGRATION/master/lib/moodlelib.php on line 6492
      Call Stack: 0.0016 983192
      1. {main}() /home/davidm/Desktop/moodlecode/INTEGRATION/master/install.php:0 0.0670 27070760
      2. get_string() /home/davidm/Desktop/moodlecode/INTEGRATION/master/install.php:451 0.0670 27070920
      3. get_string_manager() /home/davidm/Desktop/moodlecode/INTEGRATION/master/lib/moodlelib.php:7388 0.0670 27073272
      4. core_string_manager->__construct() /home/davidm/Desktop/moodlecode/INTEGRATION/master/lib/moodlelib.php:6326 

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12