This post originated from an RSS feed registered with PHP Buzz
by Forum One.
Original Post: Syntax, Smarty, and Safe Mode
Feed Title: Syntax Framework
Feed URL: http://blog.syntaxcms.org/rss.php?version=0.91
Feed Description: Finally, a place to answer Syntax questions
On shared hosts where safe_mode is enabled, Smarty won't be able to create directories for its compiled templates. You'll need to disable this behavior by editing private/lib/ext/PxDB/resources/Smarty-2.6.1/libs/Smarty.class.php and changing $use_sub_dirs to 'false'. This has moved 'Replacing Smarty with straight PHP' a little higher in the priority chain.