Project

General

Profile

Actions

Bug #20238

closed

memcache class not existant, only backend memcache class exists (http://bugs.typo3.org/view.php?id=9645)

Added by oliver leitner over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2009-03-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I tried to use the memcache tutorial from Dimitri.

Did not work (-vv option shows my test memcached php script is working, but typo3 is not using memcached), so i tried to apply the patches from:

http://bugs.typo3.org/view.php?id=9645

files not found...

i looked into t3lib/cached/backend/

and there is no such file...

webdev:/var/www/test43alpha# patch p0 < 9645_v2.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
-------------------------
|Index: t3lib/cache/backend/class.t3lib_cache_backend_memcached.php |=================================================================== |--- t3lib/cache/backend/class.t3lib_cache_backend_memcached.php (revision 4488) |+++ t3lib/cache/backend/class.t3lib_cache_backend_memcached.php (working copy)
--------------------------
File to patch: ^C

Is there somewhere an api for that, where i may read out the changes?

id love to try memcache with t3.

1.) svn co... current t3 4.3 trunk
2.) put the symlink to your page
3.) install memcached and run it (per default on any:11211)
4.) do the things explained in dimitris blog entry:
http://dmitry-dulepov.com/article/how-to-enable-memcached-cache-in-typo3-43.html
5.) eventually try to apply the patches from: http://bugs.typo3.org/view.php?id=9645

Maybe the functionality has a problem with the fact, that the page is cached in the "default typo3 way"...

(issue imported from #M10780)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20133: update the caching framework to the latest version as in FLOW3ClosedIngo Renner2009-03-05

Actions
Actions #1

Updated by Dmitry Dulepov over 15 years ago

That article is quite old. There is no need for that patch anymore.

Actions #2

Updated by oliver leitner over 15 years ago

fixed, my mistake, t3lib/ the defaults file holds all info needed...

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

This works, param name has changed since dimitry wrote his blog entry...

Actions #3

Updated by Oliver Hader over 15 years ago

The caching framework was upgraded in the last alpha. The file you were referring to is now called class.t3lib_cache_backend_memcachedbackend.php (before: class.t3lib_cache_backend_memcached.php).

Using the way you described is fine...

Actions #4

Updated by Oliver Hader over 15 years ago

The update of the caching framework during 4.3 alpha phase was handled in issue #20133

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF