Re: [SMARTY] All sorts of errors on Smarty 2.3.1
| From: | Jan Rosier | Date: | Tue, 28 Jan 2003 18:13:57 +0000 |
| Subject: | Re: [SMARTY] All sorts of errors on Smarty 2.3.1 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7374@lists.php.net to get a copy of this message | ||
Since you did upgrade Smarty from an older version
Try deleting the files under the templates_c dir and let Smarty recreate the
files
//--- code sniplet to clean up ----
$smarty = new Smarty;
// clear entire compile directory
$smarty->clear_compiled_tpl();
// clear the entire cache
$smarty->clear_all_cache();
//--- end code ---
> Warning: open_basedir restriction in effect. File is in wrong directory in
> /home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> line 775
It also looks like PHP is running in safe mode
http://www.php.net/manual/en/features.safe-mode.php
Try to put the template_c dir in the open_basedir of PHP
or try $smarty->use_sub_dirs = false;
Greetings,
Jan Rosier