fatal error with memcache.php

fatal error with memcache.php

by Andy Taggart -
Number of replies: 1

does anyone know exactly what these lines (54-58) of code in memcache.php (\lib\classes\session\) are doing?

if (empty($this->savepath)) {

     $this->servers = array();

       } else {

          $this->servers = util::connection_string_to_memcache_servers($this->savepath);

   }

these are causing a fatal error but when I comment the lines out everything seems to work fine and I can see the memcache server is being used for session handling and my username is being passed around the site  - but is something else I've not noticed stopped working? If so how do I stop the fatal error?

This is the code in config.php

$CFG->session_handler_class='\core\session\memcache';

$CFG->session_memcache_save_path = '10.2.0.167:11211';

$CFG->session_memcache_acquire_lock_timeout = 120;

Andy

Average of ratings: -