My -tpl file won't update!
I am running the site at www.euroworker.n开发者_如何学Goo, it's a linux server and the site has a backend editor. It's a smarty/php site, and when I try to update a few of the .tpl's (two or three) they don't update. I have tried uploading through FTP and that doesn't work either.
It runs on the livecart system.
any ideas?
Thanks!
Most likely, Smarty is fetching the template from the cache and not rebuilding it. If it's a one-time thing, just empty the cache directory or directories (templates_c
). If it happens more often, you may have to adjust smarty's caching behaviour in the configuration (among others, $smarty->caching
and $smarty->cache_lifetime
)
Are you saying that when you attempt to upload a new version it isn't updating the file? Or it's updating the file but the browser output does not conform to the new standards?
If it's the latter problem, delete all the files in your template_c
directory. If it's the former problem, er, might want to check out ServerFault or SuperUser.
精彩评论