[SMARTY] Error upon updating Smarty
Dark Siren Sally <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Hello. I'm now attempting to update Smarty from 2.5.0 to 2.6.10. So far all I've done was replace the old smarty directory with the updated (2.6.10) one. I left the cache, configs, templates and templates_c directories intact. When loading a web page in a subdirectory using Smarty, I get the following error: Fatal error: Smarty error: the $compile_dir 'templates_c' does not exist, or is not a directory. in /home/darksire/public_html/smarty/libs/Smarty.class.php on line 1088 If I create templates_c in the subdirectory, it works fine. But I wanted to have a single templates_c directory kept in the web root directory. I also have a single templates directory in the web root, and Smarty seems to find this one fine. I'm baffled as to why it won't recognize my templates_c. Is there some variable in Smarty.class.php I need to change so that I can have a single templates and templates_c directory for my whole site? Thanks, Sally -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php