PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.smarty.general > start-condition stack underflow
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
start-condition stack underflow

Réponse
 
LinkBack Outils de la discussion
Vieux 18/05/2006, 15h12   #1
Anton Landmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut start-condition stack underflow

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
  Réponse avec citation
Vieux 19/05/2006, 08h01   #2
messju mohr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] start-condition stack underflow

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-----

  Réponse avec citation
Vieux 22/05/2006, 10h42   #3
Anton Landmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] start-condition stack underflow

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...
  Réponse avec citation
Vieux 22/05/2006, 15h35   #4
Robert Amos
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] start-condition stack underflow

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/
  Réponse avec citation
Vieux 22/05/2006, 16h35   #5
Anton Landmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] start-condition stack underflow

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



  Réponse avec citation
Vieux 22/05/2006, 22h03   #6
boots
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] start-condition stack underflow

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h34.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,56570 seconds with 14 queries