Re: compiled templates gets too much -->follow up
| From: | Jun | Date: | Wed, 26 Feb 2003 14:41:16 +0000 |
| Subject: | Re: compiled templates gets too much -->follow up | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8220@lists.php.net to get a copy of this message | ||
Its not working again... waaah
"Jun" <juney20@yahoo.com> wrote in message
news:20030225165811.86552.qmail@pb1.pair.com...
>
> Hi! I don't know if this is a server error or my account is limited to a
> certain number of directories and subdirectories. I uploaded my the
scripts
> for my site which is now using Smarty. The problem now is, loads of error
> is starting to appear saying that "Access Denied" ... The script is unable
> to write a file to templates_c/ where the compiled templates are stored.
> here are the errors/warnings:
>
> ---------------------------------------------------
> Warning: Smarty error: problem creating directory
> "/home/paulinos/public_html/smarty/templates_c/%%188/%%1880104552" in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 999
>
> Warning: Smarty error: problem writing
>
'/home/paulinos/public_html/smarty/templates_c/%%188/%%1880104552/menu-heade
r.tpl.php.'
> in /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 999
>
> Warning: touch() [function.touch ]: Unable to create file
>
/home/paulinos/public_html/smarty/templates_c/%%188/%%1880104552/menu-header
.tpl.php
> because Permission denied in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 1518
>
> Warning:
>
_smarty_include(/home/paulinos/public_html/smarty/templates_c/%%188/%%188010
4552/menu-header.tpl.php)
> [function.-smarty-include]: failed to create stream: Permission denied in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 1708
>
> Warning: _smarty_include() [function.-smarty-include ]: Failed opening
>
'/home/paulinos/public_html/smarty/templates_c/%%188/%%1880104552/menu-heade
r.tpl.php'
> for inclusion (include_path='') in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 1708
>
> Warning: Smarty error: problem creating directory
> "/home/paulinos/public_html/smarty/templates_c/%%-51/%%-518941469" in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 999
>
> Warning: Smarty error: problem writing
>
'/home/paulinos/public_html/smarty/templates_c/%%-51/%%-518941469/prod-galle
ry-main.tpl.php.'
> in /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 999
>
> Warning: touch() [function.touch ]: Unable to create file
>
/home/paulinos/public_html/smarty/templates_c/%%-51/%%-518941469/prod-galler
y-main.tpl.php
> because Permission denied in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 1518
>
> Warning:
>
_smarty_include(/home/paulinos/public_html/smarty/templates_c/%%-51/%%-51894
1469/prod-gallery-main.tpl.php)
> [function.-smarty-include]: failed to create stream: Permission denied in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 1708
>
> Warning: _smarty_include() [function.-smarty-include ]: Failed opening
>
'/home/paulinos/public_html/smarty/templates_c/%%-51/%%-518941469/prod-galle
ry-main.tpl.php'
> for inclusion (include_path='') in
> /home/paulinos/public_html/classes/smarty/Smarty.class.php on line 1708
>
>
> --------------------------------------------------------------------------
----------
>
> What will be my next move? I have to get my site up and running again.
> tempates_c/ and cache/ directories are all world writable.
> chmod o+rwx templates_c/ chmod o+rwx cache/
> But why did apache is not allowed to write to "that" directory?
>
>
> Hope you can help me... thanks!
>
>
> jun
>
>
>
>
> --
> -------------------------------------
> its never enough
>