Loading...
 
Skip to main content

Features / Usability


Smarty error even with missing tpl fixed

I installed a CSS file for a new theme without installing any templates and tried to use the style. Instead I got this error: "Warning: Smarty error: unable to read resource: "tiki.tpl" in \lib\smarty\libs\Smarty.class.php on line 1083". So I put that file in that theme's directory, but still only this message is displayed. Flushing the cache directories doesn't help. I tried changing the spelling of the style's css file and templates folder and then choosing that theme, but still get the same error. How can I get Tiki (or Smarty) to recognize that the tiki.tpl file is in place now?

-- Gary

Just an idea: Are you sure your default tiki.tpl can be read by the server?

Yes, if I'm logged in and have chosen the problematic theme in my preferences (or with Switch Theme module), then I get the error. If I come to the site with a new browser, then I get the default theme for the site, which works fine. If I use phpMyAdmin to change my own theme preference (to avoid the broken one), then I can log in and the site works fine. But if I switch to the theme that was missing a tiki.tpl file then I get the error message again and no pages work.

-- Gary