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

Using memcache in MUC with non-standard port throws notices on every page

    Details

    • Testing Instructions:
      Hide

      Testing prerequisites

      1. Install a memcache client for PHP
      2. Install a memcached server
      3. Configure 2 instances on different ports (Ex. : localhost:11211 and localhost:11212)
      4. Assert that Memcache is detected in Moodle ("Site administration > Plugins > Caching > Configuration").

      Testing instructions

      1. Go to "Site administration > Plugins > Caching > Cache stores > Memcache"
      2. Write the following in "Test servers" text area :

        localhost:11211
        localhost:11212
        

      3. Go to "Site administration > Plugins > Caching > Test performance"
      4. There should no error in the top of the page saying "Notice: A non well formed numeric value encountered in /app/apache2/htdocs/moodlegit/cache/stores/memcache/lib.php on line 134"
      Show
      Testing prerequisites Install a memcache client for PHP Install a memcached server Configure 2 instances on different ports (Ex. : localhost:11211 and localhost:11212) Assert that Memcache is detected in Moodle ("Site administration > Plugins > Caching > Configuration"). Testing instructions Go to "Site administration > Plugins > Caching > Cache stores > Memcache" Write the following in "Test servers" text area : localhost:11211 localhost:11212 Go to "Site administration > Plugins > Caching > Test performance" There should no error in the top of the page saying "Notice: A non well formed numeric value encountered in /app/apache2/htdocs/moodlegit/cache/stores/memcache/lib.php on line 134"
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41246-master

      Description

      Notice: A non well formed numeric value encountered in <path>/cache/stores/memcache/lib.php on line ~135

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/Jan/14