#23996 [Bgs]: Undefined Function mysql_result_array() on first call after restart
| From: | MattPfenninger at mac dot com | Date: | Wed, 04 Jun 2003 06:01:52 +0000 |
| Subject: | #23996 [Bgs]: Undefined Function mysql_result_array() on first call after restart | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41107@lists.php.net to get a copy of this message | ||
ID: 23996
User updated by: MattPfenninger at mac dot com
Reported By: MattPfenninger at mac dot com
Status: Bogus
Bug Type: Reproducible crash
Operating System: MacOS 10.2.6
PHP Version: 4.3.1
New Comment:
My mistake. The function call is "mysql_fetch_array()"
not "mysql_result_array()".
Previous Comments:
------------------------------------------------------------------------
[2003-06-04 00:32:55] rasmus@php.net
Sorry, mysql_result_array() is not a PHP function.
------------------------------------------------------------------------
[2003-06-04 00:25:27] MattPfenninger at mac dot com
Um...It's part of the standard functions compiled into
PHP (when compiled with MySQL Support).
------------------------------------------------------------------------
[2003-06-03 22:33:35] sniper@php.net
This mysql_result_array() function you're trying to call..is it defined
in your scripts somewhere?
------------------------------------------------------------------------
[2003-06-03 17:05:31] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
If the problem persists, please indicate if you are loading the MySQL
extension dynamically.
------------------------------------------------------------------------
[2003-06-03 12:55:15] MattPfenninger at mac dot com
My Setup: Running Server Logistics/Aaron Faby
precompiled Apache2.0.45/PHP4.3.1/MySQL4.0.12 on MacOS
10.2.6. Setup is default except for including "*.htm"
as HTML in httpd.conf. (full phpinfo() available on
request)
My Application: I am writing an HTML form processor
(script available on request) using the common re-
entrant (via POST) PHP script technique. (I can send
either the script or a snippet if desired)
The Problem: The script works perfectly EXCEPT for the
first execution after an Apache restart (graceful,
haven't checked hard restart, yet).
On the first execution after restart, I receive a
"Fatal Error: Call to undefined function
mysql_result_array()" on the first attempt to call that
function. Reloading/(Reposting to) the script does not
produce the error, nor does reloading the script later
in the workday. Error only occurs the first call after
restarting the server.
Any ideas/suggestions? Could this be a bug in PHP's
code cache?
Thanks for your time.
- Matt Pfenninger
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23996&edit=1