Re: [SMARTY] please help!

From: Date: Sun, 20 Apr 2003 13:54:54 +0000
Subject: Re: [SMARTY] please help!
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9349@lists.php.net to get a copy of this message
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.

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