Re: Smarty 2.2.0 released
| From: | Norbert Röcher | Date: | Fri, 12 Jul 2002 15:02:08 +0000 |
| Subject: | Re: Smarty 2.2.0 released | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5271@lists.php.net to get a copy of this message | ||
I'm still getting nice errors while smarty 2.2.0 tries to write to the
root.
Apps code:
chdir (dirname(__FILE__));
include ('classes/smarty/Smarty.class.php');
$theme = 'myTheme';
$smarty = New Smarty;
$smarty -> template_dir = "modules/pfSmarty/themes/$theme/templates";
$smarty -> compile_dir = "modules/pfSmarty/themes/$theme/compiled";
$smarty -> config_dir = "modules/pfSmarty/themes/$theme/configs";
$smarty -> cache_dir = "modules/pfSmarty/themes/$theme/cache/pages";
$smarty -> display ('user.tpl', "{$pid}");
results in:
Warning: Smarty error: problem writing '/N-15/N-15209623/user.tpl.php.' in
/path/to/root/includes/classes/smarty/Smarty.class.php on line 553
Warning: Failed opening '/N-15/N-15209623/user.tpl.php' for inclusion
(include_path='.:/usr/local/lib/php') in
/path/to/root/includes/classes/smarty/Smarty.class.php on line 650
Norbert