Page 1 of 1

Strange Error

Posted: Wed Jul 06, 2005 8:24 am
by mahctagon
Hi,



I had installed version 8 a few weeks ago with no problem. But when I tried to access the page today, I get this:

Fatal error: Smarty error: unable to write to $compile_dir '/home/mahctag/public_html/ramblings/templates_c'. Be sure $compile_dir is writable by the web server user. in /home/mahctag/public_html/ramblings/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

Any suggestions? Thanks!

Posted: Wed Jul 06, 2005 8:54 am
by nohn

Code: Select all

$ mkdir -p /home/mahctag/public_html/ramblings/templates_c
$ chmod a+rw /home/mahctag/public_html/ramblings/templates_c

Thanks

Posted: Thu Jul 07, 2005 6:18 pm
by mahctagon
Do you think you could clarify what I'm supposed to do with this code? I'm pretty new to this stuff, and I'm not really sure what to do. Thanks again...

Re: Thanks

Posted: Thu Jul 07, 2005 6:48 pm
by garvinhicking
You need to use SSH or your FTP utility to make the folder "templates_c" world writable. Look for a "chmod" or "permission" option in your FTP client. :)

If you have SSH, you can execute the exact code nohn told you :)

Regards,
Garvin

Success!!!

Posted: Thu Jul 07, 2005 11:54 pm
by mahctagon
Thanks! CHMOD - I know that term. I made the changes, and it's all good....(for now)....

Thanks again, much appreciated!