[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    AW: [SMARTY] Safe mode error with Smarty-2.5.0
From:       "Werner Schweizer" <W.Schweizer () SwissOnline ! ch>
Date:       2003-08-15 19:06:47
[Download RAW message or body]

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
> 


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic