Re: [SMARTY] start-condition stack underflow
boots <[email protected]> Mon, 22 May 2006 14:03:26 -0700 (PDT)
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
hmm. Whatever is causing it, it seems to be a problem with PHP's lexer/scanner as that error seems like some flex generated message. You can see the same error message in many flex based projects and indeed, the PHP scanner has it: http://gcov.php.net/PHP_4_4/lcov/build/lcov_data/Zend/zend_ini_scanner.c.gcov.php I can only find this old bug that references the error message at bugs.php.net: http://bugs.php.net/bug.php?id=28391 boots --- 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 > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php