PDA

View Full Version : Smarty Error


toplinkdir
02-25-2009, 05:08 AM
Hi,

I just updated links on my right_side.tpl file and now I am getting this error

Fatal Error:Smarty error: unable to write to $compile_dir '/home/sitefolder/public_html/temp/templates'. Be sure $compile_dir is writable by the web server user. in /home/sitefolder/public_html/libs/smarty/Smarty.class.php on line 1095

the url of my directory is small-url(dot)com/?cd

The site is getting good traffic,I request you to please help me asap.


Thanks

toplinkdir
02-25-2009, 05:10 AM
replace dot with .

James
02-25-2009, 05:25 AM
$compile_dir '/home/weblinks/public_html/temp/templates'. Be sure $compile_dir is writable by the web server user

that is the answer change the chmod of that folder to a writable one either 755, 666 , or 777

toplinkdir
02-25-2009, 05:31 AM
That was amazing..it is working fine now...but i didn't change the permissions than who did that ?..is there any security issue ?

please let me know the precautions

James
02-25-2009, 05:46 AM
I will say that they probably upgarded php and ran a script to change permissions ...

toplinkdir
02-25-2009, 05:50 AM
ok Thanks a lot James for your quick response :)