From: mail at rene-schwarz dot com Operating system: Windows Server 2003 R2 x64 Datac PHP version: 5.3.0 PHP Bug Type: MySQL related Bug description: no page generation unless MySQL will be closed with link identifier $link
Description: ------------ PHP 5.3.0 generates no output page in case a MySQL connection is closed without any identifier. My solution for this problem was to change all PHP scripts to the following: $link = @mysql_connect(...); // some code here mysql_close($link); I noticed this error when I'm getting a blank page as output and when I successively inserted a die() command each line until I got a blank page (mysql_close() was the reason). All software / scripts using MySQL has been affected (f.e. RoundCube). Reproduce code: --------------- @mysql_connect(...); // some code here mysql_close(); Expected result: ---------------- Page generation. Actual result: -------------- No page generation -- blank page. -- Edit bug report at http://bugs.php.net/?id=49655&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49655&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49655&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49655&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49655&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49655&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49655&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49655&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49655&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49655&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49655&r=support Expected behavior: http://bugs.php.net/fix.php?id=49655&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49655&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49655&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49655&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49655&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49655&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49655&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49655&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49655&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49655&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49655&r=mysqlcfg
