We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to remove old template from cache | Forum

Vivek
Vivek May 25 '14
hello ,
I am working on custom plugin on oxwall. I created the admin page including a class for creating form . Problem is when i try to  delete one field from the admin.php and template.html page . It give this error. Somehow  oxwall is reading the codes of previous template. I dont know how to solve this . Because in future i might need to change the field of admin page.

Attachments:
  errrr.jpg (124.65Kb)
Alia Team
Alia May 27 '14
Vivek, try enabling DEV MODE in ow_includes/config.php  in following way:

define('OW_DEV_MODE', 63);

This will clean smarty/template/static cache  and should solve your issue.

Vivek
Vivek May 27 '14
Thanks Aliia for reply ,
I found these two functions , works good for me .
OW_ViewRenderer::getInstance()->clearCompiledTpl();
OW::getCacheManager()->clean(array(),OW_CacheManager::CLEAN_ALL);
The Forum post is edited by Vivek May 27 '14