Smarty caching problem
| From: | Rainer Collet | Date: | Tue, 13 Aug 2002 14:48:06 +0000 |
| Subject: | Smarty caching problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5673@lists.php.net to get a copy of this message | ||
hi all!
as i posted some weeks ago (that time no one replyed :-( ), i have problems
with smarty caching. with the normal smarty-distrinution it works very fine.
but i integrated smarty in a large framework and there it does not want to
work. so the problem must be somewhere in my smarty configuration.
the error i get is:
fopen("D:/www/Smarty-2.3.0/cache/\standard.tpl", "r") - No such file or
directory
i turned off using subdirs, but with turned it on the problem is similar.
the file is not created, although i have an custom error handler which is
using smarty and its cache-file is created.
does anybody has an idea what i do wrong?
my smarty object looks like this:
smarty Object
(
[template_dir] => D:/www/Smarty-2.3.0/templates/
[compile_dir] => D:/www/Smarty-2.3.0/templates_c/
[config_dir] => D:/www/Smarty-2.3.0/configs/
[plugins_dir] => Array
(
[0] => plugins
)
[debugging] =>
[debug_tpl] => file:D:/www/Smarty-2.3.0/debug.tpl
[debugging_ctrl] => URL
[global_assign] => Array
(
[0] => PHP_SELF
[HTTP_SERVER_VARS] => Array
(
[0] => REQUEST_URI
)
[1] => layers
)
[undefined] =>
[autoload_filters] => Array
(
)
[compile_check] => 1
[force_compile] =>
[caching] => 1
[cache_dir] => D:/www/Smarty-2.3.0/cache/
[cache_lifetime] => 1
[cache_handler_func] =>
[cache_modified_check] =>
[default_template_handler_func] =>
[php_handling] => 0
[security] => 1
[secure_dir] => Array
(
[0] => D:/www/Smarty-2.3.0/
[1] => D:/www/Smarty-2.3.0/templates/
)
[security_settings] => Array
(
[PHP_HANDLING] =>
[IF_FUNCS] => Array
(
[0] => array
[1] => list
[2] => isset
[3] => empty
[4] => count
[5] => sizeof
[6] => in_array
[7] => is_array
)
[INCLUDE_ANY] =>
[PHP_TAGS] =>
[MODIFIER_FUNCS] => Array
(
[0] => count
)
)
[trusted_dir] => Array
(
)
[left_delimiter] => {
[right_delimiter] => }
[compiler_class] => Smarty_Compiler
[request_vars_order] => EGPCS
[compile_id] =>
[use_sub_dirs] =>
[default_modifiers] => Array
(
)
[_error_msg] =>
[_tpl_vars] => [...]
[_smarty_vars] =>
[_sections] => Array
(
)
[_foreach] => Array
(
)
[_tag_stack] => Array
(
)
[_conf_obj] =>
[_config] => Array
(
)
[_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f
[_version] => 2.3.0
[_extract] => 1
[_inclusion_depth] => 0
[_compile_id] =>
[_smarty_debug_id] => SMARTY_DEBUG
[_smarty_debug_info] => Array
(
)
[_cache_info] => Array
(
)
[_plugins] => Array
(
[modifier] => Array
(
)
[function] => Array
(
)
[block] => Array
(
)
[compiler] => Array
(
)
[prefilter] => Array
(
)
[postfilter] => Array
(
)
[outputfilter] => Array
(
)
[resource] => Array
(
)
[insert] => Array
(
)
)
)
thanks very much,
rainer