NYCPHP Meetup

NYPHP.org

[nycphp-talk] oci8 bind error

Eric Gewirtz eric.gewirtz at solutiononecdi.com
Fri Jul 3 09:18:45 EDT 2009


Hi Dan,

I did not have E_NOTICE turned on (shame on me). I just tested the code with
the dumb typo bug with error_reporting(E_ALL) and it did show the warning.

Thanks again

Eric

SolutionOne
Eric Gewirtz
162 Turk Hill Road
Brewster NY, 10509
Phone: 845-729-7800
FAX:    845-279-5502


>-----Original Message-----
>From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
>Behalf Of Daniel Convissor
>Sent: Thursday, July 02, 2009 11:28 PM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] oci8 bind error
>
>Hi Eric:
>
>> I found my bug (actually my partner found it)- embarrassed to admit it
>but
>> here it is - the sql to parse is being stored in a var called $insSQL and
>> the oci_parse is using $insSql (note the QL vs ql)
>
>Ugh! :)
>
>That should have generated a notice saying $insSql is being used before
>being defined.  Are you running with E_NOTICE turned off?  If so, it's
>highly recommended to run error_reporting set to E_ALL, at least in
>development, so you can catch these things right off.
>
>--Dan
>
>--
> T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>            data intensive web and database programming
>                http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
>_______________________________________________
>New York PHP User Group Community Talk Mailing List
>http://lists.nyphp.org/mailman/listinfo/talk
>
>http://www.nyphp.org/show_participation.php





More information about the talk mailing list