Memcached not saving |
I get cached miss everytime.
I have rebooted my localhost. Memcached seems to be configured right. Am I missing something? Bug? PHP Code: if ($this->cache->memcached->is_supported())
Just double checking if you specified server configuration for your memcached server in CI config file.
bribar,
I setup a fresh install of CI on a fresh server via Vagrant with Memcached installed. I copy/pasted your code, and it works as-is. The Memcached defaults are Hostname: 127.0.0.1 Port: 11211 If your Memcached server is configured differently, be sure to update the configuration in application/config/memcached.php (or your specific environment's memcached.php config file)
Save in memcache doesn't work for me also.
Server works! Checked with http://phpmemcache.googlecode.com/svn-hi....class.php
If you are on 3.0.4 then this is a known issue being fixed in 3.0.5
See: https://github.com/bcit-ci/CodeIgniter/issues/3919 (02-18-2016, 03:13 PM)jtneal Wrote: If you are on 3.0.4 then this is a known issue being fixed in 3.0.5 That's a sessions issue that was fixed, nothing to do with the Cache library. (02-18-2016, 03:13 PM)jtneal Wrote: If you are on 3.0.4 then this is a known issue being fixed in 3.0.5 Still not working after Update. Session Memcache != Cache Memcache |
Welcome Guest, Not a member yet? Register Sign In |