logo       

Re: [SMARTY] All sorts of errors on Smarty 2.3.1: msg#00399

php.smarty.general

Subject: Re: [SMARTY] All sorts of errors on Smarty 2.3.1

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



--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise