#44364 [Fbk->Opn]: Access Violation when trying to access statement
| From: | johnw at litchfordgroup dot com | Date: | Fri, 07 Mar 2008 21:46:07 +0000 |
| Subject: | #44364 [Fbk->Opn]: Access Violation when trying to access statement | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123035@lists.php.net to get a copy of this message | ||
ID: 44364
User updated by: johnw at litchfordgroup dot com
Reported By: johnw at litchfordgroup dot com
-Status: Feedback
+Status: Open
Bug Type: MySQLi related
Operating System: Windows 2003 Server
PHP Version: 5.2.5
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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