RE: [SMARTY] question on error with smarty
| From: | Serbinski, Theodore S | Date: | Tue, 15 Oct 2002 15:10:06 +0000 |
| Subject: | RE: [SMARTY] question on error with smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6150@lists.php.net to get a copy of this message | ||
Well I just changed the user/group of Apache to my local account, then chown
and chmod appropriately. But now I'm getting this again:
Warning: Smarty error: 'file: header.php' is not readable in
/home/tsserbin/work/triage/frontend/smarty/Smarty.class.php on line 589
Warning: Failed opening '' for inclusion
(include_path='.:/usr/local/lib/php') in
/home/tsserbin/work/triage/frontend/smarty/Smarty.class.php on line 1176
Originally I got this because templates_c and templates were in different
directories. I moved them into the same directory, then I got the error at
the bottom of this page. Fixed permissions, and now I'm back to the above
error. *sigh*
Thanks.
ted
> -----Original Message-----
> From: Eskil Kvalnes [mailto:eskil@uten.net]
> Sent: Tuesday, October 15, 2002 10:55 AM
> To: Serbinski, Theodore S
> Subject: Re: [SMARTY] question on error with smarty
>
>
> Chmod templates_c as it says in the manual.
>
> ---------------
> Sincerely,
> Eskil Kvalnes
> eskil@uten.net
>
> ----- Original Message -----
> From: "Serbinski, Theodore S" <theodore.s.serbinski@intel.com>
> To: <smarty-general@lists.php.net>
> Sent: Tuesday, October 15, 2002 4:44 PM
> Subject: [SMARTY] question on error with smarty
>
>
> > Hi everyone. For some reason I keep getting some errors
> when I run Smarty
> > (see bottom of email). I think I've narrowed this down to read/write
> access
> > for smarty. However, for some reason chown isn't allowed on
> my machine.
> >
> > I'm running Linux, and I've just did a fresh install of the latest
> versions
> > of Apache, PHP, mySQL, and Smarty. Also, I've installed all of this
> programs
> > and set them up to run in my directory, verse the root
> directory. That way
> I
> > can avoid root permission problems. However, it seems
> Smarty doesn't want
> to
> > work.
> >
> > Any ideas? Thanks.
> >
> > ted
> > ~~~~~~~~~~~~~
> > Warning: mkdir() failed (Permission denied) in
> > /home/tsserbin/work/triage/frontend/smarty/Smarty.class.php
> on line 1604
> >
> > Warning: Smarty error: problem creating directory
> "/%%117/%%1172603085" in
> > /home/tsserbin/work/triage/frontend/smarty/Smarty.class.php
> on line 589
> >
> > Warning: Smarty error: problem writing
> '/%%117/%%1172603085/index.tpl.php.'
> > in
> /home/tsserbin/work/triage/frontend/smarty/Smarty.class.php
> on line 589
> >
> > Warning: Failed opening '/%%117/%%1172603085/index.tpl.php'
> for inclusion
> > (include_path='.:/usr/local/lib/php') in
> > /home/tsserbin/work/triage/frontend/smarty/Smarty.class.php
> on line 686
> >
> > ~~~~~~~~~~~~~~~~~~
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>