[TYPO3-project-4-3] Testing the memcached backend
Steffen Müller
typo3 at t3node.com
Fri Mar 13 16:09:31 CET 2009
Hi.
I am about to test the caching framework and tried to use memcached for
cache_pages. Therefore I used the example configuration mentioned in
config_default.php.
Trying to login to the backend, my system throws exceptions:
<b>Fatal error</b>: Uncaught exception 'ReflectionException' with
message 'Class does not exist' in
/var/www/typo3_src/typo3_src-trunk/t3lib/class.t3lib_div.php:4701
Stack trace:
#0 /var/www/typo3_src/typo3_src-trunk/t3lib/class.t3lib_div.php(4701):
ReflectionClass->__construct(NULL)
#1
/var/www/typo3_src/typo3_src-trunk/t3lib/cache/class.t3lib_cache_factory.php(83):
t3lib_div::makeInstance(NULL, Array)
#2 /var/www/typo3_src/typo3_src-trunk/t3lib/class.t3lib_cache.php(49):
t3lib_cache_Factory->create('cache_pages', 't3lib_cache_fro...',
't3lib_cache_bac...', Array)
#3 /var/www/typo3_src/typo3_src-trunk/typo3/init.php(207):
t3lib_cache::initPageCache()
#4 /var/www/typo3_src/typo3_src-trunk/typo3/index.php(63):
require('/var/www/typo3_...')
#5 {main}
thrown in
<b>/var/www/typo3_src/typo3_src-trunk/t3lib/class.t3lib_div.php</b> on
line <b>4701</b><br />
I added these lines to localconf.php:
$TYPO3_CONF_VARS['SYS']['caching'] = array(
'cacheConfigurations' => array(
'cache_pages' => array(
'backend' => 't3lib_cache_backend_MemcachedBackend',
'options' => array(
'servers' => array('localhost:11211'),
),
),
),
);
Also Frontend does not work.
using trunk rev5205, memcached 1.2.2 and php-memcache 3.0.1
Deleting typo3conf/temp_* did not help.
--
cheers,
Steffen
http://www.t3node.com/blog/is-sql-injection-possible-in-typoscript-objects/
More information about the TYPO3-project-4-3
mailing list