View previous topic :: View next topic |
Author |
Message |
carcaix Smarty Rookie
Joined: 30 Aug 2010 Posts: 6
|
Posted: Thu Sep 09, 2010 8:15 pm Post subject: Smarty and hosting |
|
|
Hi all,
I have finished my small project MVC in localhost and now I want to put it in a server capable to support smarty, I have been trying one hosting but it doesn't work, please does anyone know some hosting for smarty (and if possible free) |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Sep 09, 2010 8:51 pm Post subject: |
|
|
most any host should support smarty, its just a matter of file permissions on your part (?) what host did you try? |
|
Back to top |
|
carcaix Smarty Rookie
Joined: 30 Aug 2010 Posts: 6
|
Posted: Thu Sep 09, 2010 9:49 pm Post subject: |
|
|
I have tried 00webhost but I have lots of problems and the templates don't display and also there are a problem with the compile dir look at this link :
Last edited by carcaix on Thu Jan 27, 2011 1:06 pm; edited 1 time in total |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Sep 09, 2010 9:53 pm Post subject: |
|
|
the error at the end:
Code: | Fatal error: Smarty error: unable to write to $compile_dir '/home/a8510067/public_html/wck/views/templatesc'. Be sure $compile_dir is writable by the web server user. in /home/a8510067/public_html/smarty/libs/Smarty.class.php on line 1093 |
So. make sure the web server has write access to /home/a8510067/public_html/wck/views/templatesc (and make sure that is the right name, templatesc or templates_c?) |
|
Back to top |
|
carcaix Smarty Rookie
Joined: 30 Aug 2010 Posts: 6
|
Posted: Thu Sep 09, 2010 10:01 pm Post subject: |
|
|
It is the write name because i have had templates_c and I change to templatesc thinking that probably the underscore may make it doesn't work.
How can I change the persmissions? |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Sep 09, 2010 10:05 pm Post subject: |
|
|
usually your FTP program will let you change perms on a file/folder. ask their tech support. |
|
Back to top |
|
carcaix Smarty Rookie
Joined: 30 Aug 2010 Posts: 6
|
Posted: Thu Sep 09, 2010 10:27 pm Post subject: |
|
|
I have search a bit more and i realise that there are an option of something called chmod what is it? and why are you talking me about FTP i usually use Filezilla. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Sep 10, 2010 1:57 am Post subject: |
|
|
yes chmod |
|
Back to top |
|
|