On Sun, Jul 26, 2009 at 7:48 AM, euromark (munich)<[email protected]> wrote: > > i doubt that your memcache is working^^ > actually, it falls back to "file caching" if memcache cannot be used: > > trigger_error('Cache not configured properly. Please check > Cache::config(); in APP/config/core.php', E_USER_WARNING); > $cache = Cache::config('default', array('engine' => 'File')); > > you can see that if you check out the default "home" page (home.ctp in > cake) > > > anyway.. in my case the problem seems to be that there is no > "Memcache" class > > $memcache = new Memcache; $memcache->addServer('xxx.xx.xx.xx', 11211); > $version = $memcache->getVersion(); print_r($memcache->getExtendedStats > ()); $cacheKey = $memcache->get("cake_homepage"); echo($cacheKey); > echo "<br>Server's version: ".$version."<br/>\n"; > > returns > > Fatal error: Class 'Memcache' not found in /home/web/test/comm/views/ > pages/homes.ctp on line 2 > > > any idea whats missing here? > thx, mark
memcached? Is it installed? http://www.danga.com/memcached/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
