Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [Smarty] - Problem z clear all cache
aleks365
post
Post #1





Grupa: Zarejestrowani
Postów: 134
Pomógł: 1
Dołączył: 26.02.2012

Ostrzeżenie: (0%)
-----


Witam

Zaczynam się uczyć Smarty dokładnie buforowania cache i mam jeden problem

jak chcę usunąć cache funkcją
  1. $smarty->clear_all_cache();

To wywala mi taki błąd
  1. Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'clear_all_cache'.' in D:\xampp\htdocs\Smarty\sysplugins\smarty_internal_templatebase.php:806 Stack trace: #0 [internal function]: Smarty_Internal_TemplateBase->__call('clear_all_cache', Array) #1 D:\xampp\htdocs\adm2\index.php(32): Smarty->clear_all_cache() #2 {main} thrown in D:\xampp\htdocs\Smarty\sysplugins\smarty_internal_templatebase.php on line 806
Go to the top of the page
+Quote Post
rocktech.pl
post
Post #2





Grupa: Zarejestrowani
Postów: 587
Pomógł: 131
Dołączył: 8.02.2010

Ostrzeżenie: (0%)
-----


Witam.

Zobacz na dokumentację clearAllCache(). Smarty3 nie Smarty2.

  1. $smarty->clearAllCache();


Ten post edytował rocktech.pl 10.12.2012, 13:01:51
Go to the top of the page
+Quote Post
aleks365
post
Post #3





Grupa: Zarejestrowani
Postów: 134
Pomógł: 1
Dołączył: 26.02.2012

Ostrzeżenie: (0%)
-----


Dzięki działa (IMG:style_emoticons/default/wink.gif)

hehe coś pomyliłem w dokumentacji z wersjami Smarty
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 13:22