Hi!
I get this error: PHP has encountered an Access Violation at 04C3451C
It occurs at the while line, as I get a and b, but not c. I run this
a number of times, but the 3 first times it works, at the fourth, which
returns 2 rows, results in this error at that point.
Why?
echo "#a ";
if(odbc_num_rows($result)>1)
{
echo "#b ";
while(odbc_fetch_row($result))
{
echo "#c ";
$itemtosearch1[]=odbc_result($result,1);
$itemtosearch2[]=odbc_result($result,2);
}
} 5 1890
Sonnich wrote:
Hi!
I get this error: PHP has encountered an Access Violation at 04C3451C
It occurs at the while line, as I get a and b, but not c. I run this
a number of times, but the 3 first times it works, at the fourth, which
returns 2 rows, results in this error at that point.
Why?
By a closer look the 3 first runs DO NOT return any data.
The result at the point is still 2 rows.
>
echo "#a ";
if(odbc_num_rows($result)>1)
{
echo "#b ";
while(odbc_fetch_row($result))
{
echo "#c ";
$itemtosearch1[]=odbc_result($result,1);
$itemtosearch2[]=odbc_result($result,2);
}
}
Sonnich wrote:
Hi!
I get this error: PHP has encountered an Access Violation at 04C3451C
It occurs at the while line, as I get a and b, but not c. I run this
a number of times, but the 3 first times it works, at the fourth, which
returns 2 rows, results in this error at that point.
Why?
By a closer look the 3 first runs DO NOT return any data.
The result at the point is still 2 rows.
>
echo "#a ";
if(odbc_num_rows($result)>1)
{
echo "#b ";
while(odbc_fetch_row($result))
{
echo "#c ";
$itemtosearch1[]=odbc_result($result,1);
$itemtosearch2[]=odbc_result($result,2);
}
}
Sonnich wrote:
Hi!
I get this error: PHP has encountered an Access Violation at 04C3451C
It occurs at the while line, as I get a and b, but not c. I run this
a number of times, but the 3 first times it works, at the fourth, which
returns 2 rows, results in this error at that point.
Why?
By a closer look the 3 first runs DO NOT return any data.
The result at the point is still 2 rows.
>
echo "#a ";
if(odbc_num_rows($result)>1)
{
echo "#b ";
while(odbc_fetch_row($result))
{
echo "#c ";
$itemtosearch1[]=odbc_result($result,1);
$itemtosearch2[]=odbc_result($result,2);
}
}
Sonnich wrote:
Hi!
I get this error: PHP has encountered an Access Violation at 04C3451C
It occurs at the while line, as I get a and b, but not c. I run this
a number of times, but the 3 first times it works, at the fourth, which
returns 2 rows, results in this error at that point.
Why?
echo "#a ";
if(odbc_num_rows($result)>1)
{
echo "#b ";
while(odbc_fetch_row($result))
{
echo "#c ";
$itemtosearch1[]=odbc_result($result,1);
$itemtosearch2[]=odbc_result($result,2);
}
}
>From the memory address, it doesn't look like the it's crashing within
the PHP executable. You might be using a broken ODBC driver.
Sonnich wrote:
Hi!
I get this error: PHP has encountered an Access Violation at 04C3451C
It occurs at the while line, as I get a and b, but not c. I run this
a number of times, but the 3 first times it works, at the fourth, which
returns 2 rows, results in this error at that point.
Why?
echo "#a ";
if(odbc_num_rows($result)>1)
{
echo "#b ";
while(odbc_fetch_row($result))
{
echo "#c ";
$itemtosearch1[]=odbc_result($result,1);
$itemtosearch2[]=odbc_result($result,2);
}
}
Message was screwed up by a stray bracket...
>From the memory address, it doesn't look like the crash occurs within
PHP. The PHP executable starts at the address 0x04000000. It is not
large enough to reach 0x04C3451C. phpts#.dll normally starts at
0x10000000.
It could be that you're using a broken ODBC driver. Look at the crash
log, it'll tell you in which DLL the crash actually occurred. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: peterlai |
last post by:
<html>
<head>
</head>
<body><pre>
<?php
$connection =
odbc_connect("test","root","passwd");
|
by: Steven Reddie |
last post by:
I understand that access violations aren't part of the standard C++
exception handling support. On Windows, a particular MSVC compiler
option enables Microsoft's Structured Exception Handling...
|
by: Steven Reddie |
last post by:
In article <slrnbnj19j.av.juergen@monocerus.manannan.org>, Juergen
Heinzl wrote:
>In article <f93791bd.0309282133.650da850@posting.google.com>, Steven
Reddie wrote:
>> I understand that access...
|
by: thomasp |
last post by:
I am trying to get a record count of a PHP query on a MS Acess database
using ODBC with a DSN for MS ACCESS connection. I got this code from the
PHP manual user notes. It seems to return the...
|
by: Microsoft News |
last post by:
I'm getting the following error when I shut down my C# .NET v1.1
application:
0xC0000005: Access violation reading location 0x73bc0000
This error didn't occur until I added a...
|
by: Boris Fortes |
last post by:
I need to unhook event receiver as result of native C++ event.
It unhooks successfully, but __raise does not return and throws access
violation.
Visual Studio 2003
How to reproduce:
Consol...
|
by: Yew12 |
last post by:
Hi, I'm having problems connecting to a Microsoft Access database. Im using PHP and ODBC but im not using a DNS.
The scripts below give no errors but I they only give me a blank white screen.
...
|
by: =?Utf-8?B?c29jYXRvYQ==?= |
last post by:
Hi,
I have a DLL in VC6, when a specific function is called it will spawns a
few threads and then return. The threads stay running and inside one of these
threads an event is created using the...
|
by: Martin |
last post by:
I have an intranet-only site running in Windows XPPro, IIS 5.1, PHP
5.2.5. I have not used or changed this site for several months - the
last time I worked with it, all was well.
When I tried it...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |