On Fri, 2004-06-18 at 09:10 -0400, john wrote:
[pear_error: message="failed to open stream:
Operation not permitted"
code=0 mode=return level=notice prefix="" info=""]
Sounds as if you don't have write permissions to /tmp. The parsed
template is stored there usually. You could adjust line 72 in PHPTAL-NP-
0.7.0/libs/PHPTAL.php to something else than /tmp/, another solution
would be
if (strtoupper(substr(PHP_OS, 0, 3)) == "WIN") {
define('PHPTAL_DEFAULT_CACHE_DIR', getenv("TMP") . "\\");
} else {
global $wgTmpDirectory;
define('PHPTAL_DEFAULT_CACHE_DIR', $wgTmpDirectory);
}
Gabriel Wicke