compiled templates gets too much
| From: | jun | Date: | Wed, 26 Feb 2003 05:58:06 +0000 |
| Subject: | compiled templates gets too much | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8191@lists.php.net to get a copy of this message | ||
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-header.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/%%1880104552/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-header.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-gallery-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-gallery-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/%%-518941469/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-gallery-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