Weegs, how did the test go?

  _____  

From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 10:37 PM
To: CF-Talk
Subject: RE: Very vague error message

how about it?

never used it :)

tw

-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 10:33 PM
To: CF-Talk
Subject: RE: Very vague error message

How about cftrace?

  _____  

From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 10:24 PM
To: CF-Talk
Subject: RE: Very vague error message

i always use

Im here (#timeFormat(now(),'hh:mm:ss')#> !
<cfabort>

and place it before trouble points, or after them to see
if they are really, trouble points.  stepping through
the code, its the easiest way i can see for myself to debug, unless
i know *exactly* where the code is wrong, of course.

but, you probably already use something like this... :)

and funny enough, the message "Im here" is usually a gauge
of frustration with the particular problem, lots of times
it has some four letter words mixed in, cursing that damn jeremy
allaire for creating this cursed thing we all LOVE, cf.

tony

-----Original Message-----
From: Michael S. Hodgdon [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 10:18 PM
To: CF-Talk
Subject: RE: Very vague error message

I have never come across this in a ColdFusion.  One way you can try to
pinpoint the error is to place <cfabort> statement at say, line 50. Run
your
code and if you don't get an error, place the <cfabort> on line 100 and
run
the code.  Keep doing this until you get closer to the error.

Do you have any idea where it could be?  It sounds as though ColdFusion
is
saying do not place a dynamic variable in this evaluating statement.  I
can't think of a place where this would be so.  Are you using <cfscript>
in
this page anywhere?  If so, if you are using a case statement that reads
case constant, this may be the culprit.

Hope that helps.

  -----Original Message-----
  From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
  Sent: Sunday, November 16, 2003 10:41 AM
  To: CF-Talk
  Subject: Very vague error message

  Hello

  I have a rather large page of code which ive been working on, and I
get
the
  following error:

  This _expression_ must have a constant value.

  It doesnąt give me a line number, or a code snippet, just that text.

  As I said I have a lot of code (1000+ lines) and I cant quite tie down
the
  problem... Has anyone come across this before?

  Thanks,
  Ryan

  _____  

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to