Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

ohiosmith

(24,262 posts)
Wed Jan 25, 2012, 06:09 PM Jan 2012

What the hell is this?

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

24 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
What the hell is this? (Original Post) ohiosmith Jan 2012 OP
It's just a warning Duer 157099 Jan 2012 #1
This message was self-deleted by its author Mosby Jan 2012 #2
It was you, wasn't it? Don't stand there looking all innocent. ohiosmith Jan 2012 #5
I didn't do it Major Nikon Jan 2012 #16
I don't know...I can only click on threads from the latest page. ScreamingMeemie Jan 2012 #3
You pushed the wrong button Angry Dragon Jan 2012 #4
It happened to me in Help and Meta... CaliforniaPeggy Jan 2012 #6
Who you calling weird? ohiosmith Jan 2012 #7
NEVER you, lol! CaliforniaPeggy Jan 2012 #8
Simple Glassunion Jan 2012 #9
speak english damnit slay Jan 2012 #20
I got it too. I thought it was just my connection. n/t RebelOne Jan 2012 #10
Check the bottoms of your shoes. pintobean Jan 2012 #11
Hold on! They're in the closet. ohiosmith Jan 2012 #12
Well, something stinks. pintobean Jan 2012 #13
I don't have a dog. ohiosmith Jan 2012 #14
It means someone fucked up (not you). HopeHoops Jan 2012 #15
I've got the answer to this one Generic Brad Jan 2012 #17
its a nerd mating call nadine_mn Jan 2012 #18
Well to me it looks like slay Jan 2012 #19
You have been warned 396 times already. HappyMe Jan 2012 #21
Now you've done it! Bake Jan 2012 #22
Damn kids. This is why we can't have nice things. Ikonoklast Jan 2012 #23
This is why Mommy and Daddy drink. Bake Jan 2012 #24

Response to ohiosmith (Original post)

ScreamingMeemie

(68,918 posts)
3. I don't know...I can only click on threads from the latest page.
Wed Jan 25, 2012, 06:10 PM
Jan 2012

Not from the forums. Click on forums and get that (Warning: mysqli_stmt_bind_result() [function.mysqli-stmt-bind-result]: Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396) too.

Glassunion

(10,201 posts)
9. Simple
Wed Jan 25, 2012, 06:40 PM
Jan 2012

In your query statement, you only need to bind one parameter, the id. Try to replace your "SELECT *" with the exact field list you want to retrieve. Also, you are probably missing a column. The code will work if you have less columns than the retrieved in the result set.

I'd start with line 396 in the forum.php file.

Or Elad may just be toying with you.

 

pintobean

(18,101 posts)
13. Well, something stinks.
Wed Jan 25, 2012, 06:59 PM
Jan 2012

That's usually the first thing I check, then move up from there. Whatever the problem is, my first instinct is to try to blame the dog.

Generic Brad

(14,275 posts)
17. I've got the answer to this one
Wed Jan 25, 2012, 11:03 PM
Jan 2012

Number of bind variables doesn't match number of fields in prepared statement.

Once you get to the meat of the gobbledygook sandwich the filling just falls out on your lap.

You're welcome.

 

slay

(7,670 posts)
19. Well to me it looks like
Thu Jan 26, 2012, 06:12 AM
Jan 2012

"Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396

Warning: mysqli_stmt_bind_result() : Number of bind variables doesn't match number of fields in prepared statement. in /home/httpd/html/src/forum.php on line 396"

Ikonoklast

(23,973 posts)
23. Damn kids. This is why we can't have nice things.
Thu Jan 26, 2012, 01:22 PM
Jan 2012

Christmas was barely a month ago, and they already broke their shiniest toy.

Latest Discussions»The DU Lounge»What the hell is this?