From:             2simpletest at gmail dot com
Operating system: Windows Server 2003 Enterprise
PHP version:      5.2.6
PHP Bug Type:     Session related
Bug description:  session_start causes "The XML source file is unavailable for 
viewing" on IE.

Description:
------------
Have tried this in IE6 and IE7 - same problem happens, but doesn't happen
in Firefox.  Basically, the script won't let you view source on a
dynamically generated XML document if the script starts a session.  This in
itself is not so bad, but it also makes Flex think it hasn't loaded a
proper XML document, which is a much bigger problem for us.

The only thing different with this build of PHP from the default is the
inclusion of the MySQL and GD2 libraries, we have added a path for the log,
and the magic_quotes directive has been modified back and forth.

Hope this helps,

Reproduce code:
---------------
<?php
session_start();  //comment this line out and it works.
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n";
echo "<root>\n";
echo "\t<item>value</item>\n";
echo "</root>";
?>

Expected result:
----------------
You should see a short XML document displayed (which you will), but when
you right click and view source it should let you actually see the source
code (which it won't).

Actual result:
--------------
instead of showing source it prompts with a messagebox reading "The XML
source file is unavailable for viewing".  The source is not displayed.

-- 
Edit bug report at http://bugs.php.net/?id=45931&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45931&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45931&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45931&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45931&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45931&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45931&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45931&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45931&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45931&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45931&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45931&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45931&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45931&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45931&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45931&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45931&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45931&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45931&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45931&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45931&r=mysqlcfg

Reply via email to