Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Agent::is_mobiledevice() not working
  • Hi,
    When I use Agent::is_mobiledevice(), it throws the following error. 
    Fatal error: Class 'Cache' not found in /my directory/fuel/core/classes/agent.php on line 352.
    Both caches /app/cache and core/classes/cache directories exists with 777 permission.
    Can anyone help ?
    Thanks in advance.
  • The Agent class uses the Cache class to cache browser identification data.

    The error here doesn't refer to folders not being writeable, but to the fact that the Cache class can not be loaded. Since this class is part of the FuelPHP core, there's something very strange going on in your local installation.


Howdy, Stranger!

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

In this Discussion