Posted by Janwillem Borleffs on 01/04/06 03:34
cshih16@yahoo.com wrote:
> my php file contains:
> $smarty->template_dir = BASE_DIR.'templates/';
> $smarty->compile_dir = BASE_DIR.'templates_c/';
>
> but still get error: unable to write to $compile_dir
> '/home/templates_c'. Be sure $compile_dir is writable by the web
> server user
>
> what goes wrong? how to fix?
>
The permissions are incorrect; modify to 777 to fix:
$ chmod 777 templates_c
Also, see the Smarty README and INSTALL files when provided.
JW
Navigation:
[Reply to this message]
|