Re: [SMARTY] Starnge Smarty error
| From: | messju mohr | Date: | Thu, 17 Apr 2003 16:44:58 +0000 |
| Subject: | Re: [SMARTY] Starnge Smarty error | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9300@lists.php.net to get a copy of this message | ||
On Thu, Apr 17, 2003 at 04:27:12PM -0000, Barrel wrote:
> Hi all,
>
> I am trying to install an application but keep getting error messages like:
> Warning: file_exists() [function.file-exists]: open_basedir restriction in
> effect. File(/usr/local/lib/php/plugins/compiler.math.php) is not within
> the allowed path(s): (/customer8/nauta/) in ..etc
>
> I know that this error comes from the math function I use in a template.
> If this is a standard error, how come Smarty cannot use it?
this errror would come with any plugin in /usr/local/lib/php/plugins/
. you have safe_mode enabled so you have to put your plugins in a
directory somewhere under "/customer8/nauta/"... .
> Thanks,
> Barry
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php