From:             MattPfenninger at mac dot com
Operating system: MacOS 10.2.6
PHP version:      4.3.1
PHP Bug Type:     Reproducible crash
Bug description:  Undefined Function mysql_result_array() on first call after restart

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 bug report at http://bugs.php.net/?id=23996&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23996&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23996&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23996&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23996&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23996&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23996&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23996&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23996&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23996&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23996&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23996&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23996&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23996&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23996&r=gnused

Reply via email to