Re: [SMARTY] Smarty installation problem

[email protected] (C Remoshan Fernando) Thu, 09 Nov 2006 18:57:57 +0530
Newsgroups php.smarty.general
Message-ID <[email protected]>
Hi Rakesh,

you need to give write permission for directory 'templates_c'
since it compiles all the 'tpl' files into 'php' file  and tries to 
write into 'templates_c' directory

give these commands:
cd /home/rakesh/public_html/Smarty/
sudo chmod 777 templates_c

Regards,
Remo Fernando


Rakesh Mishra wrote:
> hello every body
>
> I am trying to install Smarty-2.6.14 on my FC5 machine.
> i am using PHP5 and apache2 and use my home dir for web hosting
>
> I am geting following error: -
> *Fatal error*: Smarty error: unable to write to $compile_dir
> '/home/rakesh/public_html/Smarty/templates_c'. Be sure $compile_dir is
> writable by the web server user. in *
> /usr/local/lib/php/Smarty/Smarty.class.php* on line *1095
>
> can any body hellp me out
>
> with regard
> rakesh
> *
>