Menu

Max number of variables in a template

ant100984
2006-12-20
2013-04-09
  • ant100984

    ant100984 - 2006-12-20

    Hi, i'm using Quicktemplate class and i find it very useful, but i'm discovering a problem, and it is that seems to be a max number of variables (es. {VARIABLE}) that can i use in a template. When there are too many variables in the template it returns me this error:

    DebugQT:[_getBlockPart_]:Cannot find part: main
    DebugQT:[_parse_]: Parsing next block: online failed because block online is not an object!
    DebugQT:[_parse_]: Parsing next block: su failed because block su is not an object!

    I anticipate that i've already changed to "true" the variable  $QTPLPRECACHE

    $QTPLPRECACHE          = true;              //want to use secondar cache?   (recomanded: true for large templates)

    someone could help me? it's very important for me to use a great number of variables in the template. Thank you.

     
    • ant100984

      ant100984 - 2006-12-20

      Excuse me, but i i've mistaken the error. The problem isn't the number of variables, but the size of the template, i've reached the max size of the template, infact even if i add a <b> tag, it raises the error:

      DebugQT:[_getBlockPart_]:Cannot find part: main
      DebugQT:[_parse_]: Parsing next block: online failed because block online is not an object!
      DebugQT:[_parse_]: Parsing next block: su failed because block su is not an object!

      There's some way to use a bigger template?

      Thanks.

       

Log in to post a comment.

MongoDB Logo MongoDB