#44364 [Opn]: Access Violation when trying to access statement
ID: 44364
User updated by: johnw at litchfordgroup dot com
Reported By: johnw at litchfordgroup dot com
Status: Open
Bug Type: MySQLi related
Operating System: Windows 2003 Server
PHP Version: 5.2.5
New Comment:
http://www.litchfordgroup.com/screen4.jpg
http://www.litchfordgroup.com/screen5.jpg
http://www.litchfordgroup.com/screen6.jpg
Previous Comments:
------------------------------------------------------------------------
[2008-03-07 21:47:12] johnw at litchfordgroup dot com
http://www.litchfordgroup.com/screen2.jpg
http://www.litchfordgroup.com/screen3.jpg
------------------------------------------------------------------------
[2008-03-07 21:46:59] johnw at litchfordgroup dot com
Here are the screen shots of my debugging tool configuration.
http://www.litchfordgroup.com/screen1.jpg
------------------------------------------------------------------------
[2008-03-07 21:46:07] johnw at litchfordgroup dot com
I cannot get this debug to work. I followed the steps in your link. The
instructions are missing a step (see screen 4 below).
Everything seems to be setup right, but when I run the php file that
fails, it does nothing.
------------------------------------------------------------------------
[2008-03-07 17:39:44] felipe@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2008-03-07 17:31:49] johnw at litchfordgroup dot com
Description:
------------
I am trying to take advantage of OOP, I have one function that I can
pass a sql query to and parameters to bind to. The function should
return the statement object so I can then use it in the calling
functon.
In the example, I am using a global variable to the class. I would
rather the function return the statement object but I was getting this
same error. So I tried it as a global variable with no luck.
Reproduce code:
---------------
http://www.litchfordgroup.com/example.txt
Expected result:
----------------
returns statement object so that I can bind the results and access the
values.
Actual result:
--------------
PHP has encountered an Access Violation at 0F18165A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44364&edit=1
Thread (9 messages)