KoHana缓存错误

时间:2014-05-22 18:04:20

标签: caching kohana

我正在尝试调试一个kohana项目,该项目不适用于某些损坏的缓存文件

Cache_Exception [ 0 ]: Kohana_Cache_File::get corrupted cache file!
MODPATH/cache/classes/kohana/cache/file.php [ 152 ]
147                 $lifetime = $data->fgets();
148 
149                 // If we're at the EOF at this point, corrupted!
150                 if ($data->eof())
151                 {
152                     throw new Cache_Exception(__METHOD__.' corrupted cache file!');
153                 }
154 
155                 $cache = '';
156 
157                 while ($data->eof() === FALSE)
APPPATH/classes/helper/dropdown.php [ 10 ] » Kohana_Cache_File->get(arguments)
APPPATH/views/search/index.php [ 36 ] » Helper_DropDown::states(arguments)
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
APPPATH/views/layouts/default.php [ 71 ] » Kohana_View->__toString()
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()
APPPATH/classes/controller/common/base.php [ 35 ] » Kohana_Controller_Template->after()
{PHP internal call} » Controller_Common_Base->after()
SYSPATH/classes/kohana/request/client/internal.php [ 119 ] » ReflectionMethod->invoke(arguments)
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)
DOCROOT/index.php [ 111 ] » Kohana_Request->execute()

这是跟踪日志。我无法理解如何使这项工作?

0 个答案:

没有答案