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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
smaugli

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

Post 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
Piratos

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

Post 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;
smaugli

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

Post by smaugli »

It helped. Thanks.

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

Return to “[locked] Installation, Setup and Upgrade”