ID: 49655 Updated by: [email protected] Reported By: mail at rene-schwarz dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Windows Server 2003 R2 x64 Datac PHP Version: 5.3.0 New Comment:
Duplicate of #48754, which is now fixed in SVN. Previous Comments: ------------------------------------------------------------------------ [2009-09-24 11:17:54] mail at rene-schwarz dot com Seems similar to solved bug #7879 some years ago. ------------------------------------------------------------------------ [2009-09-24 11:16:31] mail at rene-schwarz dot com 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 this bug report at http://bugs.php.net/?id=49655&edit=1
