Smarty quoting issue in container module Default.tpl
Reported by Richard Toohey | November 20th, 2011 @ 11:37 PM
Not sure if I've described it correctly - this is the error I get:
[Mon Nov 21 12:13:15 2011] [error] [client XXX.XXX.XXX.XXX] File does not exist: /usr/local/www/apache22/data/XXXXXX/.const.PATH_RELATIVE|cat:'framework, referer: http://XXXXXXX/
Sometimes when using the Cool Water theme I don't get module menus dropping down - but not always - so not exactly sure what is triggering this one.
grep shows me the PATH_RELATIVE bit is in here:
framework/modules-1/containermodule/views/Default.tpl
22 {script yui3mods="1" unique="container-chrome" src="$smarty.const.PATH_RELATIVE|cat:'framework/core/assets/js/exp-container.js'"}
If I add the backticks (just copied from line 19 in the same file) - all good - the drop-down menus appear and the message is no longer logged:
22 {script yui3mods="1" unique="container-chrome" src="`$smarty.const.PATH_RELATIVE|cat:'framework/core/assets/js/exp-container.js'`"}
But when I read the docs for 2.0.2 sounds like I should be removing backticks?
http://www.exponentcms.org/news/prepping-for-the-2-0-2-release-more...
So this change helps me, but don't think it is the right fix.
Comments and changes to this ticket
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS