Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
error with pnrender compile?
  • Posted: 24.03.2004, 06:12
     
    AllKnightAccess
    rank:
    Softmore Softmore
    registered:
     March 2004
    Status:
    online
    Posts:
    52
    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.
  • Posted: 24.03.2004, 12:49
     
    rank:
    Professional Professional
    registered:
     April 2002
    Status:
    offline
    last visit:
    24.11.08
    Posts:
    716
    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
  • Posted: 25.03.2004, 04:17
     
    AllKnightAccess
    rank:
    Softmore Softmore
    registered:
     March 2004
    Status:
    online
    Posts:
    52
    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
  • Posted: 25.03.2004, 11:08
     
    rank:
    Professional Professional
    registered:
     April 2002
    Status:
    offline
    last visit:
    24.11.08
    Posts:
    716
    Please set up a bug in the bug tracker, so it won't get lost. Thank you,


    Jörg

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula