0

When I activate memcached in Yii this error message raised

Property "CMemCacheServerConfiguration.connectionID" is not defined.

How to resolve this error?

Here's my configuration:

  ...
    'cache'=>array(
        'class'=>'CMemCache',
        'servers'=>array(array('host'=>'localhost','port'=>11211,'weight'=>60,),
        ),),
        ....

Thanks,

Wildan Muhlis
  • 1,553
  • 2
  • 22
  • 43

1 Answers1

0

..hmmmm I am confused about your trailing array commas, is there more code ?

'cache'=>array( 
            'class'=>'CMemCache',
            'servers'=>array( 
    array('host'=>'localhost','port'=>11211,'weight'=>60)))
Milan
  • 3,209
  • 1
  • 35
  • 46