Loading...
 
Skip to main content

Architecture / Installation


Changed theme, now can't get into site

I changed the theme under the admin panel to "simple" and applied it. After that my site won't come up and I get this error:


Warning: Smarty error: problem creating directory '/home/name/public_html/templates_c/en/%%81/81C' in /home/name/public_html/lib/smarty/libs/Smarty.class.php on line 1088

Warning: fetch(templates_c//en/%%81/81C/81CEC827%%tiki.tpl.php) function.fetch: failed to open stream: No such file or directory in /home/name/public_html/lib/smarty/libs/Smarty.class.php on line 1251

Warning: fetch(templates_c//en/%%81/81C/81CEC827%%tiki.tpl.php) function.fetch: failed to open stream: No such file or directory in /home/name/public_html/lib/smarty/libs/Smarty.class.php on line 1251

Warning: fetch() function.include: Failed opening 'templates_c//en/%%81/81C/81CEC827%%tiki.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:.:/usr/lib/php:/usr/local/lib/php') in /home/name/public_html/lib/smarty/libs/Smarty.class.php on line 1251

What do I need to do to fix this? And what caused the meltdown after a simple theme change?

Thanks,

-Emiricol

I don't know specifically what's causing that error. It looks like the server can't create a cache directory for some reason. Normally, the Simple theme works fine and doesn't cause this kind of error. There seems to be something wrong with the server's file/directory permissions.

In the meantime, you can change your site's theme by access the database with phpMyAdmin or some other utility. Go to the tiki_preferences table and find the row where name = style and value = simple.css. Edit it by replacing simple.css with another theme name (including .css).

-- Gary

> I don't know specifically what's causing that error. It looks like the server can't create a cache directory for some reason. Normally, the Simple theme works fine and doesn't cause this kind of error. There seems to be something wrong with the server's file/directory permissions.
>
> In the meantime, you can change your site's theme by access the database with phpMyAdmin or some other utility. Go to the tiki_preferences table and find the row where name = style and value = simple.css. Edit it by replacing simple.css with another theme name (including .css).
>
> — Gary


Thank you! That fixed it. I brought it up to date and reapplied the styles and it worked this time. Weird.

Regards,

-Emiricol