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

Problems editing memcache configuration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as a admin.
      2. Browse to Settings > Plugins > Caching configuration.
      3. Repeat these steps for each of the following: file, memcache, memcached, and mongodb.
        1. Add an instance of the store
        2. Edit the instance of the store. Make sure the values you entered when you created it are still there.
        3. Change something and save the form.
        4. Edit it again and make sure the change you made is shown.

      Worth noting is that you don't actually need to use the cache instances.
      In order to add instances you need the PHP extensions loaded, installation should be simple for memcache and mongodb.
      For those on Ubuntu it'll be something like this, depending upon how you installed things.

      sudo aptitude install mongodb memcached php5-memcache php5-memcached
      sudo pecl install mongo

      Show
      Log in as a admin. Browse to Settings > Plugins > Caching configuration. Repeat these steps for each of the following: file, memcache, memcached, and mongodb. Add an instance of the store Edit the instance of the store. Make sure the values you entered when you created it are still there. Change something and save the form. Edit it again and make sure the change you made is shown. Worth noting is that you don't actually need to use the cache instances. In order to add instances you need the PHP extensions loaded, installation should be simple for memcache and mongodb. For those on Ubuntu it'll be something like this, depending upon how you installed things. sudo aptitude install mongodb memcached php5-memcache php5-memcached sudo pecl install mongo
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-36381-m24

      Description

      1. Go to Home ▶ Site administration ▶ Plugins ▶ Caching ▶ Configuration
      2. Add a memcache instance with some config
      3. Click edit store on the added instance

      Two problems:

      1. The configuration for 'Servers' doesn't seem to be present
      2. When submitting get:
        A required parameter (store) was missing

      More information about this error

      Debug info:
      Error code: missingparam
      Stack trace:
      line 467 of /lib/setuplib.php: moodle_exception thrown
      line 523 of /lib/moodlelib.php: call to print_error()
      line 79 of /cache/admin.php: call to required_param()

        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