Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [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
 
Start new topic
Odpowiedzi (1 - 2)
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


--------------------
Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo. --Brian Moore

I never go looking for a sucker. I look for a Champion and make a sucker of of him. --Amarillo Slim


Home-made : js-gui-classes | Accordion | Tabs | Carousel / php-sms-classes | Obsługa bramki SMS MultiInfo | Obsługa bramki SMS Mobiltek
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 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
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 14:56