"Problem creating directory '/cache'"

[email protected] (Marcus Bointon) Sat, 17 Jun 2006 15:11:11 +0100
Newsgroups php.smarty.general
Message-ID <[email protected]>
I don't know quite why, but my PHP app that works fine elsewhere is  
attempting to create a cache folder in / instead of the current  
directory. Safe mode is off, and open_basedir is unset. It's also  
trying to create '/./templates_c'. Both the cache and templates_c  
folders already exist in the current directory and are writable by  
the web server user. I've been looking in  
core.create_dir_structure.php, but I can't see why it should be  
ignoring the current dir.

It's the mkdir() call in there that's failing, but it shouldn't be  
trying to make them in / anyway.

FWIW I'm running Smarty 2.6.14 on PHP 5.1.4 on OS X 10.4.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Putting you in the picture
[email protected] | http://www.synchromedia.co.uk