#406 new
Richard Toohey

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:

 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?


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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket