[Typo3-dev] Clear Cache

Ingo Renner typo3 at ingo-renner.com
Mon Apr 4 00:18:01 CEST 2005


Am Sat, 02 Apr 2005 11:57:47 +0200 schrieb Kraft Bernhard:

Hi,

> I do:
> 
> --------------snip---------------------
>           $tce = t3lib_div::makeInstance('t3lib_TCEmain');
>           $tce->admin = 1;
>           $tce->clear_cacheCmd('pages');
>           header('Location: '.t3lib_div::linkThisScript(array($this->prefixId => '', $this->prefixId.'[showUid]' => $new_id)));
> --------------snip---------------------
> 
> in one of my FE-scripts ... don't know if it will work for a BE script. I'm also curious.

I'm currently in the need of this, too. 

when I call 
$tce = t3lib_div::makeInstance('t3lib_TCEmain');
in a FE script I get a fatal error:
Fatal error: Cannot instantiate non-existent class: t3lib_tcemain in
d:\projects\ingo-renner.com\www_v2\html\t3lib\class.t3lib_div.php on line
3229

any hints?

Ingo




More information about the TYPO3-dev mailing list