Home > Archive > PHP Smarty Templates > February 2005 > Re: [SMARTY] caching problem with multiple fetch
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [SMARTY] caching problem with multiple fetch
|
|
| Abdul-Wahid Paterson 2005-02-28, 8:59 am |
| Messju,
That doesn't work. I now get this...
Call to undefined function: _get_plugin_filepath() in
/usr/lib/php/Smarty/internals/core.load_plugins.php on line 57
on all uncached pages.
Regards,
Abdul-Wahid
On Sun, 27 Feb 2005 02:21:39 +0300, messju mohr
<messju@lammfellpuschen.de> wrote:
> On Fri, Feb 25, 2005 at 03:12:30PM +0000, Abdul-Wahid Paterson wrote:
>
> yes it does.
>
> my proposed fix:
> Index: internals/core.write_compiled_include.php
> ========================================
===========================
> RCS file: /repository/smarty/libs/internals/core.write_compiled_include.php,v
> retrieving revision 1.4
> diff -u -r1.4 core.write_compiled_include.php
> --- internals/core.write_compiled_include.php 27 Jan 2005 08:51:21 -0000 1.4
> +++ internals/core.write_compiled_include.php 26 Feb 2005 21:21:36 -0000
> @@ -84,6 +84,7 @@
>
> require_once(SMARTY_CORE_DIR . 'core.write_file.php');
> smarty_core_write_file($_params, $smarty);
> + include($_compile_path);
> return true;
> }
>
> unfortunately i don't have an exhaustive testbed for complex caching
> right now, to see if this may have any negative side-effects. i cannot
> think of any, but my imagination may be a little limited here. :)
>
> maybe you can give the above a try?
>
> greetings
> messju
>
>
| |
| Messju Mohr 2005-02-28, 4:01 pm |
| On Mon, Feb 28, 2005 at 10:32:32AM +0000, Abdul-Wahid Paterson wrote:
> Messju,
>
> That doesn't work. I now get this...
>
>
> Call to undefined function: _get_plugin_filepath() in
> /usr/lib/php/Smarty/internals/core.load_plugins.php on line 57
i see. it seems it should be
$smarty->_include($_compile_path);
and not
include($_compile_path);
[color=darkred]
> on all uncached pages.
>
> Regards,
>
> Abdul-Wahid
>
> On Sun, 27 Feb 2005 02:21:39 +0300, messju mohr
> <messju@lammfellpuschen.de> wrote:
|
|
|
|
|