On 11.06.2010 18:38, Grégory Joseph wrote:
Hi Matteo,
Did you remove the "default" site definition by any chance ?
Hi Grég,
sure, these are the steps I made:
1) Download Magnolia 4.3.2 from files.magnolia-cms.com
2) Installed Tomcat bundle (only author)
3) Cloned the website tree "demo-features" to "test"
4) Cloned the site "demo-features" and changed to "test" (also updated
the mapping.
5) Removed the extended NodeData and copied all missing configuration
from default site
6) Overwritten template "main.ftl" adding this line:
${stk.site.name!"not-found"}
7) Exception while calling "http://localhost:8080/magnoliaAuthor/test.html"
...
==> ${stk.site.name!"not-found"} [on line 32, column 12 in
templating-kit/templates/main.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression stk.site is
undefined on line 32, column 14 in templating-kit/templates/main.ftl.
...
8) Deleted default site definition
9) again exception...
That is...
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------