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

From: Date: Fri, 15 Aug 2003 19:06:47 +0000
Subject: AW: [SMARTY] Safe mode error with Smarty-2.5.0
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10081@lists.php.net to get a copy of this message
This worked for me. Thank you! Werner > -----Ursprüngliche Nachricht----- > Von: messju mohr [mailto:messju@lammfellpuschen.de] > Gesendet: Donnerstag, 14. August 2003 22:22 > An: Werner Schweizer > Cc: 'Smarty' > Betreff: Re: [SMARTY] Safe mode error with Smarty-2.5.0 > > > 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 (#10081) next »