Memcache problem, anyone have a clue?

Discussion in 'PHP' started by iJames1, May 8, 2011.

  1. #1
    Hello guys,

    Bit of a weird one for me, I am a bit clueless on Memcache, cache. This is the error I am getting:
    Fatal error: Call to undefined function cache() in /home/site/public_html/file.php on line 37



    This is the code its refering too:
    
    Line 33: if ($cache > 0) {
    Line 35: $cache = time() + (int) $cache;
    Line 37: $memcache = cache(); 
    
    PHP:

    If anyone has an idea where this is coming from that would be great!

    Thank you
     
    iJames1, May 8, 2011 IP