Smarty problem with templates_c

1 reply
gnd
gnd's picture
Joined: 03/26/2010
User offline. Last seen 22 weeks 1 day ago.

Hello,

when trying to access the greensql console i get this errors.


Warning: Smarty error: problem writing temporary file 'templates_c/wrt4bac9f41db8a7' in /usr/share/php/smarty/libs/Smarty.class.php on line 1092

Warning: Smarty::include(templates_c/%%6A^6A5^6A537DD8%%login.tpl.php) [smarty.include]: failed to open stream: No such file or directory in /usr/share/php/smarty/libs/Smarty.class.php on line 1255

Warning: Smarty::include() [function.include]: Failed opening 'templates_c/%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/php/smarty/libs/Smarty.class.php on line 1255
getting news failed to write to templates_c/news.txt

I tried everything from chmod to 777, to link to /tmp/templates_c (as described elsewhere in the forums), but still i get this error... Cant seem to find out ehat is wrong. The dir is owned by the user & group running apache.

yuli
yuli's picture
Joined: 01/30/2008
User offline. Last seen 37 min 12 sec ago.

Hello

Try to specify full path to templates_c directory in the config.php file and say if it works for you.

Best regards,
Yuli

Back to top