Re: [SMARTY] hi error message
| From: | Craig | Date: | Thu, 23 May 2002 13:48:36 +0000 |
| Subject: | Re: [SMARTY] hi error message | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4385@lists.php.net to get a copy of this message | ||
Are you sure that the web server is running as user 'nobody'?
ps -ef | grep httpd
will tell you the user name the apache web server is running under, which I
suspect may be 'apache'.
Alternatively, if your server is in a fairly secure environment and you want
to verify that it is a permissons issue, try assigning global permisions to
the directory (never to be done in production)
chmod -R 777 templates_c
Once you know the user name the webserver is running under, substitute the
user name into the instructions in the documentation.
On Thursday 23 May 2002 01:03 am, you wrote:
> i do
> chown nobody:nobody templates_c
>
> chmod 700 templates_c
>
> and same for cache
>
> but i make the templates_c and the cache
>
> in /var/www/html/
>
> but the thing is, that i get all the index page until the combobox after :
>
> This is an example of the html_options function:
>
> in the index.php
>
> still get the error message
>
> thanks
> ---------------------------------------------------------------------------
>- -
> Always two they are, a Master and an Apprentice
> ----- Original Message -----
> From: "Gary Loescher" <gary@loescher.org>
> To: <smarty-general@lists.php.net>
> Sent: Thursday, May 23, 2002 2:29 AM
> Subject: RE: [SMARTY] hi error message
>
> > Did you do the following (from Smarty documentation:)?
> >
> > chown nobody:nobody templates_c
> > chmod 700 templates_c
> >
> > >Hi, i try to install smarty 2.11
> > >i compile the smarty.php.class
> > >when i go to the index.php i get at the end this message :
> > >Warning: Smarty error: problem writing
> > >'templates_c/N75/N759808900/0.php.' in
> > >/var/www/html/Smarty-2.1.1/Smarty.class.php on line 546
> > >
> > >
> > >
> > >i am a newbie in linux, may be i forget something, i don't think so.
> > >(i am french to :p so sorry for the poor english ^_^)
> > >
> > >-------------------------------------------------------------------
> > >----------
> > >Always two they are, a Master and an Apprentice
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php