[PHP-DEV] Bug #12299 Updated: Opening a new session truncates the html output

2001-08-20 Thread sniper

ID: 12299
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Session related
Operating System: Debian Potato 2.2.19
PHP Version: 4.0.6
New Comment:

No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS 
snapshot from http://snaps.php.net/


Previous Comments:


[2001-07-22 17:50:13] [EMAIL PROTECTED]

That works for me on Linux. Are you using transparent session id propagation and/or 
output buffers? 

Thanks.



[2001-07-22 09:58:31] [EMAIL PROTECTED]

I was able to reproduce this with the latest CVS of PHP 4.0.7-dev on Win32, built as 
CGI and the following script:

?php
session_start();
?
html
  body
  /body
/html

output:

html
  body
  /body
/




[2001-07-21 12:16:17] [EMAIL PROTECTED]

CODE SNIPPET:

?
session_start();

echo '
html
head
/head
body
some text here
/body
/html
';

?

The output will be the following:
html
head
/head
body
some text here
/body
/


It truncates the last /html tag! When I reload the page, it displays correctly. When 
I open a new browser (so a new session id must be created), the problem is the same. 

When I close the session with session_destroy before the  output, then it works fine.


CONFIGURE LINE:
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' 
'--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug' 
'--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' 
'--enable-ctype' '--with-db2' '--with-ndbm' '--enable-exif' '--enable-filepro' 
'--enable-ftp' '--with-gettext' '--with-mm' '--enable-mbstring' 
'--enable-mbstr-enc-trans' '--with-pcre-regex=/usr' '--enable-shmop' 
'--enable-sockets' '--enable-wddx' '--enable-yp' '--with-zlib' '--without-pgsql' 
'--disable-static' '--with-layout=GNU' '--with-gd=shared,/usr' 
'--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr' '--with-mhash=shared,/usr' 
'--with-mysql=shared,/usr'


ADDITIONAL SYSTEM DESCRIPTION:

APACHE 1.3.20





Edit this bug report at http://bugs.php.net/?id=12299edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12299 Updated: Opening a new session truncates the html output

2001-07-22 Thread sbergmann

ID: 12299
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Session related
Operating System: Debian Potato 2.2.19
PHP Version: 4.0.6
New Comment:

I was able to reproduce this with the latest CVS of PHP 4.0.7-dev on Win32, built as 
CGI and the following script:

?php
session_start();
?
html
  body
  /body
/html

output:

html
  body
  /body
/


Previous Comments:


[2001-07-21 12:16:17] [EMAIL PROTECTED]

CODE SNIPPET:

?
session_start();

echo '
html
head
/head
body
some text here
/body
/html
';

?

The output will be the following:
html
head
/head
body
some text here
/body
/


It truncates the last /html tag! When I reload the page, it displays correctly. When 
I open a new browser (so a new session id must be created), the problem is the same. 

When I close the session with session_destroy before the  output, then it works fine.


CONFIGURE LINE:
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' 
'--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug' 
'--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' 
'--enable-ctype' '--with-db2' '--with-ndbm' '--enable-exif' '--enable-filepro' 
'--enable-ftp' '--with-gettext' '--with-mm' '--enable-mbstring' 
'--enable-mbstr-enc-trans' '--with-pcre-regex=/usr' '--enable-shmop' 
'--enable-sockets' '--enable-wddx' '--enable-yp' '--with-zlib' '--without-pgsql' 
'--disable-static' '--with-layout=GNU' '--with-gd=shared,/usr' 
'--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr' '--with-mhash=shared,/usr' 
'--with-mysql=shared,/usr'


ADDITIONAL SYSTEM DESCRIPTION:

APACHE 1.3.20





Edit this bug report at http://bugs.php.net/?id=12299edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12299 Updated: Opening a new session truncates the html output

2001-07-22 Thread sas

ID: 12299
Updated by: sas
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Session related
Operating System: Debian Potato 2.2.19
PHP Version: 4.0.6
New Comment:

That works for me on Linux. Are you using transparent session id propagation and/or 
output buffers? 

Thanks.

Previous Comments:


[2001-07-22 09:58:31] [EMAIL PROTECTED]

I was able to reproduce this with the latest CVS of PHP 4.0.7-dev on Win32, built as 
CGI and the following script:

?php
session_start();
?
html
  body
  /body
/html

output:

html
  body
  /body
/




[2001-07-21 12:16:17] [EMAIL PROTECTED]

CODE SNIPPET:

?
session_start();

echo '
html
head
/head
body
some text here
/body
/html
';

?

The output will be the following:
html
head
/head
body
some text here
/body
/


It truncates the last /html tag! When I reload the page, it displays correctly. When 
I open a new browser (so a new session id must be created), the problem is the same. 

When I close the session with session_destroy before the  output, then it works fine.


CONFIGURE LINE:
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' 
'--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug' 
'--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' 
'--enable-ctype' '--with-db2' '--with-ndbm' '--enable-exif' '--enable-filepro' 
'--enable-ftp' '--with-gettext' '--with-mm' '--enable-mbstring' 
'--enable-mbstr-enc-trans' '--with-pcre-regex=/usr' '--enable-shmop' 
'--enable-sockets' '--enable-wddx' '--enable-yp' '--with-zlib' '--without-pgsql' 
'--disable-static' '--with-layout=GNU' '--with-gd=shared,/usr' 
'--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr' '--with-mhash=shared,/usr' 
'--with-mysql=shared,/usr'


ADDITIONAL SYSTEM DESCRIPTION:

APACHE 1.3.20





Edit this bug report at http://bugs.php.net/?id=12299edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]