Re:Smarty 1.4.5 available
| From: | Monte Ohrt | Date: | Wed, 19 Sep 2001 20:08:02 +0000 |
| Subject: | Re:Smarty 1.4.5 available | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1489@lists.php.net to get a copy of this message | ||
You can't make directories? Do you have access to exec()?
Otherwise, you'll have to rewrite the routine to use a filename like
1d-1d7c7a527b6335cc7a623305ca940e1f-d41d8cd98f00b204e9800998ecf8427e
Luc Saint-Elie wrote:
>
> At 10:42 19/09/01 -0500, Monte Ohrt wrote:
> >Smarty 1.4.5 is available, let me know of any problems. The
> >documentation is not quite up to date yet with some of the new changes.
>
> Hello,
>
> Its not really a problem but a characteristic of my ISP :mkdir() is disabled
>
> Result :
> ---------
> Warning: mkdir() has been disabled for security reasons. in
> Smarty.class.php on line 1076
>
> Warning: Smarty error: problem creating directory
> "./templates_c/1d/1d7c7a527b6335cc7a623305ca940e1f" in Smarty.class.php on
> line 1101
>
> Warning:
>
> fopen("./templates_c/1d/1d7c7a527b6335cc7a623305ca940e1f/d41d8cd98f00b204e9800998ecf8427e.php","w")
> - No such file or directory in Smarty.class.php on line 971
>
> Warning: Smarty error: problem writing
>
> './templates_c/1d/1d7c7a527b6335cc7a623305ca940e1f/d41d8cd98f00b204e9800998ecf8427e.php.'
> in Smarty.class.php on line 1101
>
> Warning: Unable to access
> ./templates_c/1d/1d7c7a527b6335cc7a623305ca940e1f/d41d8cd98f00b204e9800998ecf8427e.php
> in Smarty.class.php on line 526
>
> Warning: Failed opening
>
> './templates_c/1d/1d7c7a527b6335cc7a623305ca940e1f/d41d8cd98f00b204e9800998ecf8427e.php'
> for inclusion
> (include_path='/var/www/1/i/n/t/interpasnet.com/www/include/:.') in
> Smarty.class.php on line 526
>
> --------------------------------------------
> so I have problems with function _create_dir_structure($dir)
>
> Is it possible to modify Smarty NOT to use this function, and if yes what
> must I change and where (I don't use cache for the same reason)
>
> Luc
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/