I know it's hard without more details. And that's exactly what stumps anyone
trying to make sense of this.
Even with all the details at hand and with three years' worth of heavy-duty
ColdFusion experience I can't make heads or tails of it.
To answer your questions: no, I don't do <cfif myVar EQ "">. If I need to do
something like that I usually go for <cfif len(trim(myVar))>, but usually I
make things so that I can do <cfif isdefined("myVar")>.
The crashing template that generates PCode errors has nothing to do with
datasources.
It *is* a tmeplate that does cfhttp though. need i say more?
Didn't think so. Bah.
Michel Vuijlsteke
Managing Director
Netpoint NV
> -----Original Message-----
> From: Christoph Schmitz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 15, 2001 1:37 AM
> To: CF-Talk
> Subject: AW: REPOST: Weird pcode error (please! help!)
>
>
> Hi,
>
> are you doing something like <cfif myVar EQ ""> in your
> cfexectask.cfm? This
> is known to generate PCode errors sometimes. (Could even be that the
> CFSCHEDULE has nothing to do with the error at all, although
> it is mentioned
> in the error msg!)
>
> And for the "unknown query" ... maybe the crashing template
> uses the same
> datasource and when it crashes the datasource is locked? Just guessing
> though, hard to say without more details...
>
> HTH,
>
> Chris
>
> > > > unknown exception condition
> > > > PCodeRuntimeContextImp::setVariableThe error
> > > > occurred while processing an element with a general
> identifier of
> > > > (CFSCHEDULE), occupying document position (3:1) to
> (5:13).Date/Time:
> > > > 02/11/01 21:51:28Browser: Remote Address: Template:
> > > > C:\CFUSION\Scripts\cfexectask.cfmQuery String: TASK=check for
> > > > db upload
> > > >
> > > > (all of them in cfschedule processing)
> > > > ......and right about the same time, this simple piece of code:
> > > >
> > > > <CFQUERY NAME="Getcarbrands" DATASOURCE="dsn">
> > > > SELECT distinct Merk FROM Cars
> > > > </CFQUERY>
> > > >
> > > > <SELECT name="Merk">
> > > > <CFOUTPUT QUERY="Getcarbrands">
> > > > <OPTION VALUE="#Merk#">#Merk#</OPTION>
> > > > </cfoutput>
> > > > </SELECT>
> > > >
> > > > started throwing this exception:
> > > >
> > > > QUERY The QUERY attribute of the tag does not specify
> the name of an
> > > > available query
> > > > The error occurred while processing an element with a general
> > > > identifier of
> > > > (CFOUTPUT), occupying document position (270:1) to (270:31)
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists