|
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
hi guys,
i have a small problem. i dont no how to recreate this error, because i doesnt find any rule ![]() here the message: --- Fatal error: start-condition stack underflow in /var/www/localhost/htdocs/include/lib/smarty/internals/core.write_compiled_include.php on line 45 --- i see this error first-time in my 5 years php-coding time ![]() i'm little confused about this message, have anybody idea or can me? is that a problem with php-code or a smarty problem, anybody know? and what say this error? i can't find any related topic in internet for that error. thanks -- mit freundlichen Grüßen, Anton Landmann |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
hi,
it's an error raised by php. how does a string you pass to token_get_all() look like to trigger this? On Thu, May 18, 2006 at 04:12:17PM +0200, Anton Landmann wrote: > hi guys, > > i have a small problem. > i dont no how to recreate this error, because i doesnt find any rule ![]() > > here the message: > --- > Fatal error: start-condition stack underflow in > /var/www/localhost/htdocs/include/lib/smarty/internals/core.write_compiled_include.php > on line 45 > --- > i see this error first-time in my 5 years php-coding time ![]() > i'm little confused about this message, have anybody idea or can me? > is that a problem with php-code or a smarty problem, anybody know? > and what say this error? > i can't find any related topic in internet for that error. > > thanks > > -- > mit freundlichen Grüßen, > > Anton Landmann > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEbW1SubKPpFA4n0URAuWHAJwN7JcqvgVSSeGuedtmgE gc7Uf5jQCeIvkx t2Xo1mfMA+rKDbPgOSOJxYs= =RaD8 -----END PGP SIGNATURE----- |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
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 s 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" <messju@lammfellpuschen.de> schrieb im Newsbeitrag news:20060519070138.GA6735@dune... |
|
|
|
#4 (permalink) |
|
Messages: n/a
Hébergeur: |
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 <anton.landmann@arcor.de> 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 s 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" <messju@lammfellpuschen.de> 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/ |
|
|
|
#5 (permalink) |
|
Messages: n/a
Hébergeur: |
PHP: 5.0.5-pl5-gentoo
System: Linux 2.6.15-gentoo-r1 #1 SMP Wed Mai 22 17:18:47 CEST 2006 i686 ../configure --prefix=/usr/lib/php5 --sysconfdir=/etc --cache-file=./config.cache --disable-cli --with-apxs2=/usr/sbin/apxs2 --with-config-file-path=/etc/php/apache2-php5 --with-config-file-scan-dir=/etc/php/apache2-php5/ext-active --without-pear --enable-bcmath --with-bz2 --disable-calendar --with-curl --with-curlwrappers --disable-dbase --disable-exif --without-fbsql --without-fdftk --disable-filepro --enable-ftp --with-gettext --without-gmp --without-hwapi --without-informix --without-kerberos --enable-mbstring --with-mcrypt --enable-memory-limit --with-mhash --without-ming --without-mnogosearch --without-msql --without-mssql --with-ncurses --without-oci8 --without-oci8-instant-client --without-oracle --with-openssl --with-openssl-dir=/usr --without-ovrimos --disable-pcntl --without-pfpro --without-pgsql --with-pspell --without-recode --enable-shmop --without-snmp --enable-soap --enable-sockets --without-sybase --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --with-tidy --enable-wddx --with-xmlrpc --with-xsl --with-zlib --enable-debug --enable-dba --without-cdb --without-db4 --without-flatfile --with-gdbm --with-inifile --without-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-tiff-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gd --with-mysql=/usr/lib/mysql --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli=/usr/bin/mysql_config --with-readline --without-libedit --with-mm --enable-sqlite-utf8 php.ini config is attached... and here the error again, after 18 clicks on my website: string(470) "$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 $this->_tpl_vars['time_loaded']; $_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); " Fatal error: start-condition stack underflow in /var/www/localhost/htdocs/include/lib/smarty/internals/core.write_compiled_include.php on line 46 a little background info from my website, i have index.php, there i using DB-connection and retrieve some data, and display with using smarty... then, i edit this data, and send it to post.php, there i save this data and make header-refresh to index.php the error comes in index.php (on the location from formular, where the data will display) AND i become the error on post.php... thanks -- Anton Landmann "Robert Amos" <shiznatz@gmail.com> schrieb im Newsbeitrag news:1944df00605220735y3eeb4808t8671fe3d9d444ec2@m ail.gmail.com... 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 <anton.landmann@arcor.de> 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 s somebody.. > > > > "messju mohr" <messju@lammfellpuschen.de> 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 |
|
|
|
#6 (permalink) |
|
Messages: n/a
Hébergeur: |
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/bui...ner.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 <anton.landmann@arcor.de> 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 s 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" <messju@lammfellpuschen.de> 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 |
|
![]() |
| Outils de la discussion | |
|
|