CaptainChainsaw Posted August 6, 2008 Share Posted August 6, 2008 Hi all, This may not be the best place to post this but as I'm sure many of you have used Smarty it might be ok. It's simple really, I have a template in the smarty/templates dir, I've updated the template and uploaded it to this directory yet the changes aren't displayed on the page. I've also deleted the corresponding compiled template in the smarty/templates_c dir but that still hasn't solved the problem. Anyone have any ideas on this? Thanks again, CC Link to comment https://forums.phpfreaks.com/topic/118528-off-topic-smarty-template-engine-question/ Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Check the cache? Link to comment https://forums.phpfreaks.com/topic/118528-off-topic-smarty-template-engine-question/#findComment-610206 Share on other sites More sharing options...
CaptainChainsaw Posted August 7, 2008 Author Share Posted August 7, 2008 Hi DarkWater, I've deleted everything in smarty/templates_c, reuploaded the template and also checked the smarty/cache folder (there was nothing in it). I also tried deleting the template altogether and the file still showed, even on someone else's machine. Any other ideas? Such a simple thing to fix no doubt. Thanks again, CC Link to comment https://forums.phpfreaks.com/topic/118528-off-topic-smarty-template-engine-question/#findComment-611091 Share on other sites More sharing options...
DarkWater Posted August 7, 2008 Share Posted August 7, 2008 And just to make sure, something like this doesn't work? <?php require ('Smarty.class.php'); $smarty = new Smarty; $smarty->caching = 1; $smarty->clear_all_cache(); ?> >_> What changes exactly did you make to the template? Link to comment https://forums.phpfreaks.com/topic/118528-off-topic-smarty-template-engine-question/#findComment-611096 Share on other sites More sharing options...
CaptainChainsaw Posted August 7, 2008 Author Share Posted August 7, 2008 Hi DarkWater, all fixed now......... thanks for you're replies, turned out to be a path problem *sigh* code + beer != good idea Link to comment https://forums.phpfreaks.com/topic/118528-off-topic-smarty-template-engine-question/#findComment-611116 Share on other sites More sharing options...
DarkWater Posted August 7, 2008 Share Posted August 7, 2008 Lol, I figured that, but I wanted to cover all the other things first. xD Glad you got it solved. Link to comment https://forums.phpfreaks.com/topic/118528-off-topic-smarty-template-engine-question/#findComment-611118 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.