2012-06-02 4 views
0

치명적 오류 : C : \ xampp \ htdocs \ jsf \ libraries \ joomla \ cache의 비 객체에서 add() 멤버 함수를 호출하십시오. \ storage \ memcache.php on line 435Joomla에서 플러그인을 추가하려고하는데 치명적인 오류가 발생합니다.

protected function lockindex() 
{ 
    $looptime = 300; 
    $data_lock = self::$_db->add($this->_hash . '-index_lock', 1, false, 30); 

    if ($data_lock === false) 
    { 

     $lock_counter = 0; 

     // Loop until you find that the lock has been released. that implies that data get from other thread has finished 
     while ($data_lock === false) 
     { 
      if ($lock_counter > $looptime) 
      { 
       return false; 
       break; 
      } 

      usleep(100); 
      $data_lock = self::$_db->add($this->_hash . '-index_lock', 1, false, 30); 
      $lock_counter++; 
     } 
    } 

    return true; 
} 
+0

Joomla!에서 발췌 한 내용입니다. 소스 코드, 안 그래? 문제는 플러그인에 의해 간접적으로 발생하고 있기 때문에 플러그인을 통해 도움을받을 수 있는지 알아야합니다. – Brilliand

+0

설치하려고하면 모든 단일 플러그인이 발생합니다 – Paul

+0

캐시가 memcache에 있어야합니다? 파일로 전환 해 보셨습니까? – jdog

답변

1

configuration.php로 이동하여이 설정으로 변경하십시오. 대신

public $caching = '0'; 
public $cache_handler = 'file'; 
public $cachetime = '15'; 

: -

public $caching = '0'; 
public $cache_handler = 'memcache'; 
public $cachetime = '30'; 
public $memcache_persist = '1'; 
public $memcache_compress = '0'; 
public $memcache_server_host = 'mem'; 
public $memcache_server_port = '11211'; 

이 파일을 수동으로 전환하여 치명적인 사고의 오류를 수정합니다.

관련 문제