Re: [SMARTY] new user install problem
| From: | Jan Rosier | Date: | Tue, 04 Feb 2003 16:48:07 +0000 |
| Subject: | Re: [SMARTY] new user install problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7510@lists.php.net to get a copy of this message | ||
Hmm, maybe this is one for the FAQ ... ;-)
Hello Steve,
It also looks like PHP is running in safe mode
http://www.php.net/manual/en/features.safe-mode.php
Try to put the template_c dir in the open_basedir of PHP
or try $smarty->use_sub_dirs = false;
Greetings,
Jan Rosier
> Hi All,
> I'm new to the list and new to Smarty. I had Smarty 2.3.1 running
> without errors and was just about to learn more when version 2.4.0 came
> out. After installing it using the same procedure* I used with version
> 2.3.1 it gives me the following warnings at the bottom of the page:
>
> Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in
> effect. The script whose uid is 2277 is not allowed to access
> /usr/local/lib/php owned by uid 0 in
> /opt/guide/www.conceptualthink.com/HTML/Smarty-2.4.0/Smarty.class.php on
> line 2660
>
> * Unpacked the archive on the server, set the permissions of the
> templates_c directory and set $use_sub_dirs to false.
>
> What is going wrong? Any help appreciated,
>
> Steve
> --