Page 1 of 1

Smarty error

Posted: Fri Apr 11, 2008 11:51 pm
by zikronix
went from 1.2 to 1.3 after being hacked yay coppermine

anywho now im getting a smarty error

now im getting a smarty error though.

Warning: Smarty error: unable to read resource: "file:sidebar.tpl" in /home/content/z/i/k/zikronix/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1092


i looked but i dont know what im actually looking for

Posted: Sat Apr 12, 2008 5:16 am
by judebert
I see we use that template when we configure plugins. When we load it, we search in two places: first we check your currently configured template, then we check the templates/default/ directory. If it's not in either of those, it default to the current directory.

The URI 'file:sidebar.tpl' indicates that it's defaulting to the current directory. It's not finding it in the other directories. It's definitely included in the templates/default/ directory in the tarball.

If the file templates/default/sidebar.tpl doesn't exist, your installation was corrupted or incomplete. You'll want to re-upload Serendipity. If it does exist, something is wrong with s9y or Smarty. Re-uploading couldn't hurt.