Re: [SMARTY] start-condition stack underflow

"Robert Amos" <[email protected]> Tue, 23 May 2006 00:35:31 +1000
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
Hi,

I'm unable to reproduce this error using PHP 4.4.1 or PHP 5.1.0RC1 (I
need to update, I know).

What version of PHP are you using there? I'm due for a recompile anyway :)

-bok

On 5/22/06, Anton Landmann <[email protected]> wrote:
> i just managed to catch the content from this line! :)
>
> ok, here we go:
> ../lib/smarty/internals/core.write_compiled_include.php on line 46
> i add var_dump...:
> ...
> if ($this_varname == '_smarty') {
>             /* rename $this to $_smarty in the sourcecode */
>             var_dump($_match[4]);  // <-- here
>             $tokens = token_get_all('<?php ' . $_match[4]);
> ...
>
> and after many many spent hours, i catched content on error.
> and here are the output:
>
> ------------
> string(568) "$this->_tag_stack[] = array('nocache', array());
> $_block_repeat=true;
> smarty_block_nocache($this->_tag_stack[count($this->_tag_stack)-1][1], null,
> $this, $_block_repeat);
> while ($_block_repeat) {
>  ob_start();
>  echo ((is_array($_tmp=@UNIQUE_ID)) ? $this->_run_mod_handler('default',
> true, $_tmp, 'none') : smarty_modifier_default($_tmp, 'none'));
>  $_block_content = ob_get_contents();
>  ob_end_clean();
>  $_block_repeat=false;
>  echo smarty_block_nocache($this->_tag_stack[count($this->_tag_stack)-1][1],
> $_block_content, $this, $_block_repeat);
> }
> array_pop($this->_tag_stack); "
>
> <br />
> <b>Fatal error</b>:  start-condition stack underflow in
> <b>/var/www/localhost/htdocs/cke/include/lib/smarty/internals/core.write_compiled_include.php</b>
> on line <b>46</b><br />
>
> ------------
>
> and anyway, i dont understand why this error come.
> and i dont yet find any rule to reproduce this error, i just click many
> hours on my website...
> i try to get one more content dump.
>
> hope it helps somebody..
>
>
> --
> mit freundlichen Grüßen,
>
> Hermann Bernwald
> Firma Yipix
> Nassaustraße 28
> 65719 Hofheim / Wallau
> Tel.: + 49 (0)6122 / 53 36 0
> Fax: + 49 (0)6122 / 53 36 29
> web: http://www.yipix.de
>
>
> "messju mohr" <[email protected]> schrieb im Newsbeitrag
> news:20060519070138.GA6735@dune...
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Xnyo - http://xnyo.odynia.org/

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php