ID:               31037
 Comment by:       joey at alegria dot co dot jp
 Reported By:      php at trafex dot nl
 Status:           No Feedback
 Bug Type:         MySQLi related
 Operating System: Fedora core 1
 PHP Version:      5CVS-2005-04-26
 Assigned To:      georg
 New Comment:

Very bizzar (and frustrating). But I am 100% sure on this. I had no
errors from using mysqli_bind_param(); accross a number of scripts that
input data to MySQL. However, As soon as I made a script that requested
data from the database that also used mysqli_bind_result(), everything
that had mysqli_bind_param() started throwing up 

"Warning: mysqli_stmt::bind_param() [function.bind-param]: Number of
variables doesn't match number of parameters in prepared statement
in..."

even on scripts that worked fine before! Because I can find no way to
revert it to the working state, I also can't supply a sample script. Is
it possible the fist use of mysqli_bind_result() corrupts part of PHP?

I used PHP5.0.3 with MySQL 4.1.19 on Fedora Core 4 (x86)


Previous Comments:
------------------------------------------------------------------------

[2005-10-06 19:09:23] pavel dot stratil-jun at fenix dot cz

I get this error with PHP 5.0.4 on Sun Solaris 9 with Mysql 5.07beta.
Can you look into this again please?

------------------------------------------------------------------------

[2005-05-04 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2005-04-26 15:11:32] [EMAIL PROTECTED]

Cannot reproduce with different combinations of client and server API
as well as PHP versions

[EMAIL PROTECTED]:~/test> php 31037.php
Client version: 50004
Server version: 40112
Name: foo
[EMAIL PROTECTED]:~/test> php 31037.php
Client version: 50004
Server version: 40110
Name: foo
[EMAIL PROTECTED]:~/test> php 31037.php
Client version: 40110
Server version: 40110
Name: foo


Did you recompile PHP with 4.1.10 library or it is still using 4.1.7?

------------------------------------------------------------------------

[2005-03-06 18:26:47] [EMAIL PROTECTED]

Assigning to the maintainer..


------------------------------------------------------------------------

[2005-03-04 17:06:10] php at trafex dot nl

I've tested it again with the these versions:
- PHP version 5.04-cvs (snapshot of 4 march 05)
- MySQL version 4.1.10

And again the same error.

------------------------------------------------------------------------

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/31037

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

Reply via email to