RE: [SMARTY] smarty problems - problem creating directory "/%%-13/%%-135052920
| From: | Chris Hubbard | Date: | Wed, 10 Dec 2003 02:05:00 +0000 |
| Subject: | RE: [SMARTY] smarty problems - problem creating directory "/%%-13/%%-135052920 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10653@lists.php.net to get a copy of this message | ||
Nick,
For me when I get this message it's always been an permissions problem. The
smarty class had insufficient permissions.
Changing the permissions of the templates_c folder to 777 always fixed that
one. Once I got it working I'd scale back the permissions, usually to 755.
If changing the templates_c folder doesn't work, try deleting it, and
writing a script (mkdir) to create the folder. That way the same user (the
web server) is creating the folder, and in theory, the permissions will be
the same.
Good luck
Chris
-----Original Message-----
From: Nick Allen [mailto:allen@cis.ohio-state.edu]
Sent: Tuesday, December 09, 2003 5:43 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] smarty problems - problem creating directory
"/%%-13/%%-135052920
Hello All-
I have developed a simple PHP app using Smarty on my own server and have
it working just fine. When I install the tool at the University where
it will be used, I get all sorts of weird error messages.
I have searched the web and found nothing that explains this sort of
error. I am sure someone has run into this problem before since I found
a number of public sites across the net with similar error messages
showing, likely unknown to the site admin. Some of the error messages
follow.
Thanks in advance for any help!
--Nick
Warning: Smarty error: problem creating directory "/%%-13/%%-135052920"
in /n/02/ntg/public_html/bertha/smarty/libs/Smarty.class.php on line
1042
Warning: Smarty error: problem writing temporary file
'/%%-13/%%-135052920/3fd6765e703e9' in
/n/02/ntg/public_html/bertha/smarty/libs/Smarty.class.php on line 1042
Warning: touch() [function.touch]: Unable to create file
/%%-13/%%-135052920/header.tpl.php because No such file or directory in
/n/02/ntg/public_html/bertha/smarty/libs/Smarty.class.php on line 1575
Warning: fetch(/%%-13/%%-135052920/header.tpl.php) [function.fetch]:
failed to create stream: No such file or directory in
/n/02/ntg/public_html/bertha/smarty/libs/Smarty.class.php on line 1158
Warning: fetch() [function.fetch]: Failed opening
'/%%-13/%%-135052920/header.tpl.php' for inclusion
(include_path='.:/usr/local/lib/php:/usr/local/lib/php/physics') in
/n/02/ntg/public_html/bertha/smarty/libs/Smarty.class.php on line 1158
--
Nick Allen <allen@cis.ohio-state.edu>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php