problem creating directory - all configured directories are related
| From: | Tobias Grosser | Date: | Thu, 31 Oct 2002 07:26:12 +0000 |
| Subject: | problem creating directory - all configured directories are related | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6281@lists.php.net to get a copy of this message | ||
Hello Everybody,
today ich installed my Smarty Template System @home, but unfortunately
it doesn't work, but dumps following error messages.
It is installed in /usr/local/apache2/current/htdocs/Smarty and running
under the current (from today) Apache2 und PHP Release.
Unlike all the other people, who had that problem, php is not running in
"safe_mode".
It seems to act from / (root) instead of the directory from which it was
executed. And of course if I do
chown nobody:nobody /
Smarty works in part. But of course it could not find the config
directory and all cached templates are written under / (root)
My php.ini is attached and below there are the errors:
I would feel happy about any help.
Tobias Grosser
Warning: mkdir() failed (Permission denied) in
/usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on line 1605
Warning: Smarty error: problem creating directory "/%%117/%%1172603085"
in /usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on
line 590
Warning: Smarty error: problem writing
'/%%117/%%1172603085/index.tpl.php.' in
/usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on line 590
Warning: Failed opening '/%%117/%%1172603085/index.tpl.php' for
inclusion (include_path='.:/usr/local/lib/php') in
/usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on line 687
Warning: mkdir() failed (Permission denied) in
/usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on line 1605
Warning: Smarty error: problem creating directory "/%%151/%%1517486510"
in /usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on
line 590
Warning: Smarty error: problem writing
'/%%151/%%1517486510/debug.tpl.php.' in
/usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on line 590
Warning: Failed opening '/%%151/%%1517486510/debug.tpl.php' for
inclusion (include_path='.:/usr/local/lib/php') in
/usr/local/apache2/2.0.40/htdocs/Smarty-2.3.0/Smarty.class.php on line 776