NYCPHP Meetup

[nycphp-talk] Smarty template problem - creating directories

Andrew Yochum andrew at digitalpulp.com
Thu Aug 7 11:34:20 EDT 2003


On Thu, Aug 07, 2003 at 11:31:36AM -0400, Jeff wrote:
> Hope someone has some experience with Smarty. I'm getting the following
> error message. Note the double forward slashes. Any know how to solve
> this one?
> 
> Warning: Smarty error: problem creating directory
> "/tmp/disk/home/webmaster/Files/WWW/tff_pref/templates/templates_c//%%-1
> 1/%%-1167457344" 

The double slashes should be fine, I think.  You probably have an unnecessary
trailing / in a config file somewhere.

Have you checked the permissions on the containing directory?  Does the user
the script is running as have permission to write to it?

-- 
Andrew Yochum
Digital Pulp, Inc.
212.679.0676x255
andrew at digitalpulp.com



More information about the talk mailing list