FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » <beg> ADODB PHP Extension Help </beg>
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: <beg> ADODB PHP Extension Help </beg> [message #176229 is a reply to message #176224] Thu, 08 December 2011 18:41 Go to previous messageGo to previous message
Aul is currently offline  Aul
Messages: 7
Registered: December 2011
Karma:
Junior Member
On 12/8/2011 4:03 AM, Denis McMahon wrote:
>
> include("/path/to/adodb-exceptions.inc.php");
> include("/path/to/adodb.inc.php");
> $DB = NewADOConnection('oci8');
> $DB->Connect("", "scott", "tiger");
> try {
> $DB->Execute("select badsql from badtable");
> } catch (exception $e) {
> print_r($e);
> }
> -----------------------------------------------------------
> So did you try that, and if so, what error messages were printed?
>
> If you didn't try it yet, it seems an obvious next step to me.

I did try the try, actually, as my subsequent step, and was greeted with
the same exception and no information at all by the handler. It appears
that the catch can't catch the error. Which I guess is why they call it
try. ;)

Letting my MSVC debugger take control of the exception, I get,
"Unhandled exception in httpd.exe (PHP_MYSQLI.DLL): 0xC0000005: Access
Violation".

I did notice since enabling all warnings that I consistently get this
warning message, which seems related:

"Warning: mysqli_connect() [function.mysqli-connect]: Headers and client
library minor version mismatch. Headers:50051 Library:50153 in [my unit]"

Research and dig as I might, I can't really come up with much relevant
to my issue with this. Seems a rarely encountered error, and for
reasons I don't share.

Jerry may have been correct in his suspicion that there might be an
incompatibility between the latest PHP and the one ADODB was compiled
with. But then why wouldn't it have affected more people?

At any rate, I am grateful for your responses to my abrupt (and slightly
off-topic) beg. It has helped me to see things more clearly. Trying to
elucidate the problem in a well-documented fashion has helped, as well,
as it always does.

As I indicate in my reply to Jerry, I am fast approaching the trash bin
drop-off for this extension.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Poll software recommendations
Next Topic: regex help
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Oct 19 15:14:15 GMT 2024

Total time taken to generate the page: 0.04607 seconds