Re: [SMARTY] All sorts of errors on Smarty 2.3.1
| From: | Didier McGillis | Date: | Tue, 28 Jan 2003 18:28:56 +0000 |
| Subject: | Re: [SMARTY] All sorts of errors on Smarty 2.3.1 | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7375@lists.php.net to get a copy of this message | ||
changing $smarty->use_sub_dirs = to false worked.
From: "Jan Rosier" <rosier@interstroom.nl> To: "Didier McGillis" <codesmoker@hotmail.com>,<smarty-general@lists.php.net> Subject: Re: [SMARTY] All sorts of errors on Smarty 2.3.1 Date: Tue, 28 Jan 2003 19:13:57 +0100 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_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963