|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Ilija Studen Smarty n00b
Joined: 08 Sep 2003 Posts: 3 Location: Serbia / Serbia and Montenegro
|
Posted: Mon Sep 08, 2003 5:47 pm Post subject: How to change folder prefix??? |
|
|
All works fine on my localhost. When I uploaded site it simple stoped working... smarty just don`t compiles templates.
Somebody told me to upload compiled templates and set smarty not to compile them... Then I fount out what is wrong:
when I try to upload template I get access denied error on MKD command. I tried to make folder with "normal" name (like 'folder') and it worked. So, server doesn`t allow folder names that smarty generates.
How can I change prefix of folder names? What I need to do to make smarty works with new names?
Sorry for poor english |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Mon Sep 08, 2003 5:51 pm Post subject: |
|
|
1) did you empty the cache and templates_c folders?
2) is your server using safe mode? if so, then you must set $smarty->use_sub_dirs = false; |
|
Back to top |
|
Ilija Studen Smarty n00b
Joined: 08 Sep 2003 Posts: 3 Location: Serbia / Serbia and Montenegro
|
Posted: Mon Sep 08, 2003 6:01 pm Post subject: |
|
|
templates_c directory is empty. 777 owner ILIJA
i set use_sub_dirs to false. same thing ...
[php:1:b11d6f2250]$smarty = new Smarty;
$smarty->use_sub_dirs = false;
$smarty->compile_check = true;
$smarty->debugging = true;[/php:1:b11d6f2250] |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|