[TYPO3-project-4-3] Testing the memcached backend

Steffen Kamper info at sk-typo3.de
Fri Mar 13 22:08:35 CET 2009


Hi,

Steffen Müller schrieb:
> Hi.
> 
> On 13.03.2009 17:50 Dmitry Dulepov wrote:
>> Must be:
>>          'servers' => array('tcp://localhost:11211'),
>>
>> I run with unix:// prefix all the time and my FE works ok. May be you have connection problems to memcached backend?
>>
> 
> both did not help.
> memcached works, I have tested it manually with standalone php. Connects
> fine.
> 
> Following the exceptions it seems that $backendClassReference seems to
> be empty in t3lib_cache_Factory::create() See:
> #1
> /var/www/typo3_src/typo3_src-trunk/t3lib/cache/class.t3lib_cache_factory.php(83):
> t3lib_div::makeInstance(NULL, Array)
> 
> But that doesn't make sense.
> 


when you use this snippet you overwrite complete settings from caching:
$TYPO3_CONF_VARS['SYS']['caching'] = array( ...

You have to use the specific part only:

$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages'] 
= array(
   'backend' => 't3lib_cache_backend_MemcachedBackend',
   'options' => array(
     'servers' => array('tcp://localhost:11211'),
   ),
);

vg Steffen


More information about the TYPO3-project-4-3 mailing list