Re: Re: [SMARTY] please help!

From: Date: Sun, 20 Apr 2003 15:57:27 +0000
Subject: Re: Re: [SMARTY] please help!
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9351@lists.php.net to get a copy of this message
recreating the folder worked - I switched use_sub_dirs to false, the templates_c folder contents look much neater now ... why is that even an option? or rather, why is use_sub_dirs set to try by default? I don't see how it could be an advantage to have hundreds of folders and files, instead of just one neat folder with the full set of compiled templates? --- At 2003-04-21, 01:54:00, Eaden McKee <email@eadz.co.nz> wrote: >Rasmus Schultz wrote: > >>our web site (Smarty installation) has crashed - it looks like >>the "templates_c" folder has been corrupted, all scripts give >>me the same error: >> >>unable to create file templates_c/%192/%1926952680/main.tpl.php because No such file or >>directory >> >>in sheer desperation, I wiped the "templates_c" folder, and >>disabled caching, same deal. I also downloaded and installed >>the latest version (2.5.0) of Smarty, to no avail. >> >> >Caching doesn't have any effect on compiled templates. > >>the weird thing is, the "templates_c" folder never had folders >>name "%anything" in it - why would it suddenly start looking >>for those??? the folders it had were named "128", "N26" etc. >> >> >- Re create your template_c folder, give it 777 permissions ( chmod 777) >- Set use subdirs to false : $Smarty->use_sub_dirs = FALSE; >Hope that helps. >Eaden. > > >-- >Smarty General Mailing List (http://smarty.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#9351) next »