Re: [SMARTY] Safe mode error with Smarty-2.5.0

From: Date: Thu, 14 Aug 2003 20:21:56 +0000
Subject: Re: [SMARTY] Safe mode error with Smarty-2.5.0
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10079@lists.php.net to get a copy of this message
On Thu, Aug 14, 2003 at 10:07:30PM +0200, Werner Schweizer wrote: > After deploying my new web to the provider site, > I'm getting this warning: > > Warning: SAFE MODE Restriction in effect. > The script whose uid is 1526 is not allowed to access /usr/local/lib/php > owned by uid 0 > in /<path_to_web_directory>/PHP/Smarty-2.5.0/libs/Smarty.class.php on > line 2691 > > I do not access /usr/local/lib/php anywhere in my PHP or template code. maybe you have "/usr/local/lib/php" in your include_path. smarty traverses it if things cannot be found otherwise sometimes. you can ini_set('include_path', '.') even in safe_mode AFAIR. HTH messju > As I'm using the new backtick syntax, I can't go back to an earlier > Version > of Smarty. > > Any help is appreciated. > > Werner > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#10079) next »