Topic: error with pnrender compile?
AllKnightAccess
avatar
Softmore
Softmore
Posts: 52

Posted:
24.Mar 2004 - 06:12

I am working in a moulde in the admin section. I disabled pnRender's cache and turned off compile check and force compilation. However, pages are still being placed in the compile directory. I click on delete compile templates, it says the templates have been deleted, but they are not. They are still in the directory and I have to manually delete them every time I want to reset the page. How can I temporarily disable the compile? The module code already has that cache is false.
jn

Professional
Professional
Posts: 716

Posted:
24.Mar 2004 - 12:49

You cannot disable compilation, this is how Smarty works. The templates are actually compiled to PHP scripts before they can be displayed.

The answer therefore is the other way: You have to enable compile check, otherwise the "old" compiled templates are used every time.

Jörg
AllKnightAccess
avatar
Softmore
Softmore
Posts: 52

Posted:
25.Mar 2004 - 04:17

thanks for the reply. the "delete compiled templates" still doesn't work though. it says they are deleted, but they still remain in the directory
jn

Professional
Professional
Posts: 716

Posted:
25.Mar 2004 - 11:08

Please set up a bug in the bug tracker, so it won't get lost. Thank you,


Jörg