Using codeigniter Cache library?

Up vote 0 down vote favorite share g+ share fb share tw.

I'm using Modular Extensions - HMVC by Wiredesignz I Create My_Controller on core folder, on constructor, I load Cache driver using this code: $this->load->driver('cache', array('adapter' => 'file', 'backup' => 'file')); On application/modules/tester/models/test_m. Php, I call this code: ... if (! $result = $this->cache->get($cache_id)) { $result = $this->db ->select('slug, IF(`value` = "", `default`, `value`) as `value`', FALSE) ->where($where) ->order_by('module', 'ASC') ->order_by('sort_order', 'ASC') ->get('settings') ->result(); $this->cache->save($cache_id, $result, $this->cache_ttl); } return $result; and the error message is : Fatal error: Class 'CI_Driver_Library' not found in D:\xampp\htdocs\my-app\system\libraries\Cache\Cache. Php on line 27 the message says can not found CI_Driver_Library.

What else that I need to load? Or it there something wrong with my code? Codeigniter codeigniter-2 link|improve this question asked Oct 24 '11 at 8:13Permana114112 74% accept rate.

I know there was a bug in CI 2.0.0 with the cache driver. – Repox Oct 24 '11 at 9:08 Thank you @Repox, I have update to version 2.0.3 and now it works – Permana Nov 2 '11 at 9:29 I'm glad it worked :) – Repox Nov 2 '11 at 9:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions