Re: Safe mode restrictions
| From: | Michael Temeschinko | Date: | Sat, 26 May 2001 12:40:18 +0000 |
| Subject: | Re: Safe mode restrictions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-819@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Michaël Tartar" <mtartar@club-internet.fr>
To: <smarty@lists.ispi.net>
Sent: Friday, May 25, 2001 11:13 PM
Subject: [smarty] Safe mode restrictions
Hi all,
I was really impressed by Smarty when I tested it at home with PHP4.0.4 on
Windows95.
Unfortunately, when I ported my code to my hoster, it failed due to safe
mode restrictions. Below is the error message :
Warning: SAFE MODE Restriction in effect. The script whose uid is 7380 is
not allowed to access ./templates_c/main.tpl.php owned by uid 33 in
/home/user/t/a/r/tartar/www/nara/classes/Smarty.class.php on line 370
Is there a way to solve this problem ?
yes change the owner of your script
chown 33 <scriptname>
hth
micha