ID: 34550 Updated by: [EMAIL PROTECTED] Reported By: rudy dot metzger at pareto dot nl -Status: Open +Status: Feedback Bug Type: Session related Operating System: Redhat ES 3 PHP Version: 5.0.5 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-09-21 14:38:14] rudy dot metzger at pareto dot nl Sorry to be such a pain in the a$$, but i cannot agree to this. I did more tests and updated my page at http://parlnx01.pareto.nl/phpbug/ with more info. Maybe it was a misunderstanding/misinterpretation of my error report. Please have a look again at the url, as this error is 100% reproduceable for me, on various platforms with various MySQL version. So it seems to be a bug of PHP (the mysqli extension?). ------------------------------------------------------------------------ [2005-09-20 11:14:51] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2005-09-20 10:47:45] rudy dot metzger at pareto dot nl Same problem with the snapshot version, see output below: --------------------------------------------------------- The link identifier after connect. it is valid<br> object(mysqli)#3 (0) { } Ping of the DB. Returns true, we can ping it<br> bool(true) PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/zwizzle/zcm/public/test.php:36) in /var/www/zwizzle/zcm/public/test.php on line 22 PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/zwizzle/zcm/public/test.php:36) in /var/www/zwizzle/zcm/public/test.php on line 22 Writing, now it goes wrong! ping returns NULL, which is undefined!<br> PHP Warning: Couldn't fetch mysqli in /var/www/zwizzle/zcm/public/test.php on line 61 NULL ------------------------------------------------------- The problem is the NULL in the very last line I am using for MySQL MySQL-shared-standard-4.1.14-0.rhel3 MySQL-devel-standard-4.1.14-0.rhel3 and my linux is Linux www1.zwizzle.nl 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 i686 i386 GNU/Linux (Redhat ES3) Configured with ./configure --with-apxs2 --with-mysqli=/usr/bin/mysql_config --with-gd --with-zlib --with-openssl --enable-pcntl --with-curl --enable-mbstring I reinstalled php-5.0.4 again, and everything works again (the NULL is then boolean(true)) ------------------------------------------------------------------------ [2005-09-19 17:39:13] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Works perfectly fine here. ------------------------------------------------------------------------ [2005-09-19 17:20:58] rudy dot metzger at pareto dot nl fixed, was still in the process of setting it up. sorry ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34550 -- Edit this bug report at http://bugs.php.net/?id=34550&edit=1