Re: [SMARTY] Re: new user install problem
| From: | Steve | Date: | Thu, 06 Feb 2003 16:17:28 +0000 |
| Subject: | Re: [SMARTY] Re: new user install problem | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7551@lists.php.net to get a copy of this message | ||
In article <20030206154749.GB25390@pharao.lammfellpuschen.de>,
messju@lammfellpuschen.de (M Mohr) wrote:
> On Thu, Feb 06, 2003 at 03:14:53PM +0100, Steve wrote:
> > In article <steve-2DE9DA.17403404022003@pb1.pair.com>,
> > steve@conceptualthink.com (Steve) wrote:
> >
> > > 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,
>
> if everything else works fine, put an '@' before the call to file_exists()
> in line 2660. i think there was one in Smarty-2.3.1.
Mmm.. yes, that does it! No idea exactly *what* it does.. but it works;)
Thanks,
Steve
--
steve@conceptualthink.com