Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
problem with apc caching
  • public function action_index()
     {
      //\Cache::delete_all();
      \Cache::set('hi', 'there', 3600);
      var_dump(\Cache::get('hi'));
    
      return \Response::forge(View::forge('welcome/index'));
     }
    

    Works fine on my local machine with APC, but not on my production server:
    Fuel\Core\CacheNotFoundException [ Error ]: not found
    

    I tested APC on my production server with a standard PHP script and it works. When I set the cache-mode to file instead of apc, it does work on my production server. Any ideas?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!