Page 1 of 1

After successful installation I get error: string(140) Smarty error

Posted: Fri Jun 02, 2006 4:56 pm
by smaugli
http://valjohashen.com/

I created database, uploaded everything, chamod-ed what needed and created config.php where was successfully installed everything. But just after successful install nothing works:(

string(140) "Smarty error: problem writing temporary file '/usr/home/amaru/domains/valjohashen.com/public_html/tmp/templates_c/%%D8/D86/wrt44806c20b572b'" string(140) "Smarty error: problem writing temporary file '/usr/home/amaru/domains/valjohashen.com/public_html/tmp/templates_c/%%D8/D86/wrt44806c20b66aa'"
Warning: fetch(/usr/home/amaru/domains/valjohashen.com/public_html/tmp/templates_c/%%D8/D86/D862692E%%template%3A4.php): failed to open stream: No such file or directory in /usr/home/amaru/domains/valjohashen.com/public_html/lib/smarty/Smarty.class.php on line 1265

Warning: fetch(/usr/home/amaru/domains/valjohashen.com/public_html/tmp/templates_c/%%D8/D86/D862692E%%template%3A4.php): failed to open stream: No such file or directory in /usr/home/amaru/domains/valjohashen.com/public_html/lib/smarty/Smarty.class.php on line 1265

Warning: fetch(): Failed opening '/usr/home/amaru/domains/valjohashen.com/public_html/tmp/templates_c/%%D8/D86/D862692E%%template%3A4.php' for inclusion (include_path='.:/php/includes:/usr/local/lib/php/includes') in /usr/home/amaru/domains/valjohashen.com/public_html/lib/smarty/Smarty.class.php on line 1265

Re: After successful installation I get error: string(140) Smarty error

Posted: Sat Jun 03, 2006 7:53 am
by Piratos
You need permissions to folders below template_c, because smarty makes sub_dirs.

If you cannot do that change the source of content.functions.php line 53  from

//use_sub_dirs doesn't work in safe mode
if (ini_get("safe_mode") != "1")
$this->use_sub_dirs = true;

to

$this->use_sub_dirs = false;

Re: After successful installation I get error: string(140) Smarty error

Posted: Sun Jun 04, 2006 2:02 pm
by smaugli
It helped. Thanks.

But still funny because I CHMOD 777 all requred directories  ???