Share » Forums » General » TemplateCompile bug

TemplateCompile bug

TemplateCompile bug

Saturday 06 November 2004 9:02:13 am - 4 replies

Author Message

Lazaro Ferreira

Saturday 06 November 2004 9:08:30 am

Hi

Are you creating your templates from EZP admin or using a personal FTP account ?

the second could create files without write permissions for ezp template compiler , to be on the safe side just

chmod -R 777 design

 

from ezp root dir

Lazaro
http://www.mzbusiness.com

Marko Žmak

Saturday 06 November 2004 10:45:23 am

I've already set the 777 premissions for the design directory and cleared all the caches. I even tried deleting the cache directory, but the error remains the same.

Trust me I tried every tip I found in the docs, and everything I could think of. It just won't work. Please help.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Sunday 07 November 2004 3:07:09 pm

I found out more details about the error. The code that doesn't work is this:

{include uri=concat('design:',$template)}

And why? I guess because the concat operator doesn't work well with TeplateCompile directive.

I tried:

{include uri=concat('design:menuright_info.tpl')}

and everything worked OK. But when I tried:

{include uri=concat('design:','menuright_info.tpl')}

the template could not be loaded. So I guess the problem is in the concat function, but I would like an opinion from some of the EZ crew.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Balazs Halasy

Sunday 07 November 2004 3:15:50 pm

Hey,

Please file this as a bug report (http://www.ez.no/community/bug_reports) - describe exactly what we should do to reproduce the problem (basically the same stuff you have in your previous posts). Thanks.

Balazs

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu