Help - Search - Members - Calendar
Full Version: Smarty errors during install
Big Red Spark Forums > Big Red Spark.com Forums > Unit Command Climate Assessment and Survey System (UCCASS)
seabee
I am getting the following error just after installing:

Warning: Smarty error: problem creating directory "/home/xxxx/public_html/survey/smarty/templates_c/%%-19/%%-1965153610" in /home/xxxx/public_html/survey/smarty/Smarty.class.php on line 589

Warning: Smarty error: problem writing '/home/xxxx/public_html/paa/survey/smarty/templates_c/%%-19/%%-1965153610/main_header.tpl.php.' in /home/xxxx/public_html/survey/smarty/Smarty.class.php on line 589

Warning: Smarty error: problem creating directory "/home/xxxx/public_html/survey/smarty/templates_c/%%-10/%%-1057361658" in /home/xxxx/public_html/survey/smarty/Smarty.class.php on line 589

Warning: Smarty error: problem writing '/home/xxxx/public_html/survey/smarty/templates_c/%%-10/%%-1057361658/available_surveys.tpl.php.' in /home/xxxx/public_html/paa/survey/smarty/Smarty.class.php on line 589

Warning: Smarty error: problem creating directory "/home/xxxx/public_html/survey/smarty/templates_c/%%193/%%1936528999" in /home/xxxx/public_html/survey/smarty/Smarty.class.php on line 589

Warning: Smarty error: problem writing '/home/xxxx/public_html/survey/smarty/templates_c/%%193/%%1936528999/main_footer.tpl.php.' in /home/xxxx/public_html/survey/smarty/Smarty.class.php on line 589
JHolmes763
Make sure the templates_c directory is writable by PHP. this usually involves using chmod to adjust the permissions to 777 or as unrestrictive as you can make it.

Or there is a variable in smart.class.php on about line 150 that'll tell Smarty nit to use sub subdirectories. Set that to false, I believe. Something like $use_sub_dirs.

John
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.