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

List:       smarty-general
Subject:    Re: [SMARTY] Safe mode error with Smarty-2.5.0
From:       messju mohr <messju () lammfellpuschen ! de>
Date:       2003-08-14 20:21:56
[Download RAW message or body]

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