"Problem creating directory '/cache'"

From: Date: Sat, 17 Jun 2006 14:11:11 +0000
Subject: "Problem creating directory '/cache'"
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13465@lists.php.net to get a copy of this message
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 marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

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