Join Free
+ Reply to Thread
Results 1 to 3 of 3
  1. #1

    Exception error when using Memcache

    PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid mode for clean() method' in /var/www/html/\nStack trace:\n#0 /var/www/html/ Prosperent_Api_Cache::throwException('Invalid mode fo...')\n#1 /var/www/html/ Prosperent_Api_Cache_Backend_Memcache->clean('old')
    It would appear that clean('old') is used but not compensated for in the switch() command and defaults to a thrown error?

    Here's my settings (less the IP of my memcache server)

    'cacheBackend' => 'Memcache','cacheOptions' => array('servers' => array(array('host' => 'ip will go here','port' => '11211','persistent' => true,'weight' => 1,'timeout' => 5,'retry_interval' => 15,'status' => true,'compression' => true)))

  2. #2

  3. #3
    I knew I saw it around here somewhere. I just commented out the code so that it always calls the flush function whenever it wants, regardless of "old" or "new"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
coupons | coupons and deals