note 105693 deleted from mysqli-stmt.get-result by danbrown
| From: | danbrown@php.net | Date: | Wed, 07 Sep 2011 23:25:11 +0000 |
| Subject: | note 105693 deleted from mysqli-stmt.get-result by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183018@lists.php.net to get a copy of this message | ||
Note Submitter: anotherspamdump at yahoo dot com
----
Just a friendly warning: I developed a website that worked absolutely fine on my localhost
development workstation (Wampserver 2.1, PHP 5.3.5, Apache 2.2.17, Windows XP 32-bit). I used this
method to return an array of results, passing it to other functions. After uploading the website to
the production server, I received an HTTP 500 error when trying to access many of the scripts. I
checked the logs, and found lines as follows:
"PHP Fatal error: Call to undefined method mysqli_stmt::get_result() in [/path/to/file]"
I couldn't figure out why this would be. Then, I looked at the top of this very page:
"(No version information available, might only be in SVN)"
If you're having this problem, your production server likely doesn't have a version of PHP
that supports this method.