#1 lainel
SAE的memcache初始化失败!这是在 model层里面写的。直接是$this
代码:$res=$this->spCache(3600*24)->findAll($conditions);
出错信息:
74. /**
75. * access_driver_saememcache SAE的memcache缓存驱动类
76. */
77. class access_driver_saememcache{
78. public $mmc = null;
79. public function __construct(){if( ! $this->mmc = memcache_init() )spError("SAE的memcache初始化失败!");}
80. public function get($name){return memcache_get($this->mmc, $name);}
81. public function set($name, $value, $life_time){return memcache_set($this->mmc, $name, $value, 0, $life_time);}
82. public function del($name){return memcache_delete($this->mmc, $name);}
83. }
84.
2011-07-30 23:33:12