Edit report at http://pear.php.net/bugs/bug.php?id=17024&edit=1

ID: 17024
Comment by: mila7676
Reported By: milamamu at tiscali dot it
Summary: Warning: Parameter 3 to mysqli_stmt_bind_param()
expected to be a reference
Status: Feedback
Type: Bug
Package: MDB2_Driver_mysqli
Operating System: Windows 7 64bit
Package Version: 1.4.1
PHP Version: 5.3.1
New Comment:

Don't work with 2.5.0

You can't to use mysqli driver with 5.3.

Previous Comments:

[2010-01-23 03:34:00] doconnor

(and accordingly, this driver)

pear upgrade -f MDB2_Driver_mysqli


[2010-01-23 03:33:11] doconnor

<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Feedback</span>
</div>Want to try the 2.5.0b2 package of MDB2? It's two years more up
to date, just not marked as stable.

pear upgrade -f MDB2

should do it.


[2010-01-22 11:46:54] cifroes

Zend framework solved this problem with this patch:

A similar solution also works for MDB2...


[2010-01-22 06:46:20] cifroes

Just upgraded to php 5.3 (5.3.1) from 5.2.x and I noticed that in my
app the delete statements don't work (insert and selects seem to work

When I was debugging (putting echo's in mysqli.php :) ), I noticed a
warning that can be the cause of my problem, in the line:

$result = call_user_func_array('mysqli_stmt_bind_param', $parameters);

Warning: Parameter 3 to mysqli_stmt_bind_param() expected to be a
reference, value given in C:\www\lib\PEAR\MDB2\Driver\mysqli.php on line

It seems that MDB2 1.4.1 needs to be patched to work with php 5.3.1.


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedMar 21, '10 at 7:42p
activeMar 21, '10 at 7:42p

1 user in discussion

Mila7676: 1 post



site design / logo © 2022 Grokbase