Very vague error message

2003-11-16 Thread Ryan Mitchell
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 proble

RE: Very vague error message

2003-11-16 Thread Michael S. Hodgdon
he 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   follo

RE: Very vague error message

2003-11-16 Thread Tony Weeg
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 stateme

RE: Very vague error message

2003-11-16 Thread Tony Weeg
assuming that it is within tags, that is ;) tony -Original Message- 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')#> ! and pl

RE: Very vague error message

2003-11-16 Thread Michael T. Tangorre
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')#> ! and place it before trouble points, or after them to se

RE: Very vague error message

2003-11-16 Thread Tony Weeg
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

RE: Very vague error message

2003-11-16 Thread Michael T. Tangorre
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

RE: Very vague error message

2003-11-16 Thread Tony Weeg
taking it @ max on the 20th :) studying while working tonight!! tw -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 10:42 PM To: CF-Talk Subject: RE: Very vague error message Weegs, how did the test go?   _   From: Tony Weeg

RE: Very vague error message

2003-11-16 Thread Michael T. Tangorre
Cool. I wish I wasn't up Managerial accounting homework is not as much fun as Cold Fusion Coding :-)   _   From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 10:42 PM To: CF-Talk Subject: RE: Very vague error message taking it @ max on the 20th :) studying

RE: Very vague error message

2003-11-16 Thread peter . tilbrook
AIL PROTECTED]>     <[EMAIL PROTECTED]cc:   omcast.net>      Subject:  RE: Ve

Re: Very vague error message

2003-11-17 Thread Ryan Mitchell
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 > > 

RE: Very vague error message

2003-11-17 Thread Philip Arnold
> 1000+ lines of code in a single CF template seems a bit excessive for > starters. That depends on several things For all we know it could be 500 lines of code and 500 lines of remarks and spacing I've seen some templates which have about 300 lines of code, but the whole template is over 1,200

Re: Very vague error message

2003-11-17 Thread Ryan Mitchell
> >   -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

RE: Very vague error message

2003-11-17 Thread Pascal Peters
sage- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:07 To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement: switch(type) {     case request.AUTH_ACL: resu

RE: Very vague error message

2003-11-17 Thread Philip Arnold
if() Oh, and you forgot the break; in the first 2 case statements -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 7:07 AM To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement

RE: Very vague error message

2003-11-17 Thread Pascal Peters
Looking at his code, I think it was intentional -Original Message- From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:21 To: CF-Talk Subject: RE: Very vague error message if() Oh, and you forgot the break; in the first 2 case statements [Todays Threads

Re: Very vague error message

2003-11-17 Thread Ryan Mitchell
> else if(type IS request.AUTH_MOD){ > result = result OR u_access[j]['auth_mod'] OR is_admin; > } > else if(type IS request.AUTH_ADMIN){ > result = result OR is_admin; > } > -Original Message- > From: Ryan Mitchell [mailto:[EMAIL PROTECTED] > Sent: maandag 17 n

RE: Very vague error message

2003-11-17 Thread Philip Arnold
y, November 17, 2003 7:20 AM To: CF-Talk Subject: RE: Very vague error message if(type IS request.AUTH_ACL){ result = u_access[j][key] OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_MOD){ result = result OR u_access[j]['auth_mod'] OR is_admin; } else

RE: Very vague error message

2003-11-17 Thread Pascal Peters
al Message- From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 14:40 To: CF-Talk Subject: RE: Very vague error message But, without the "break;" in the case, this doesn't do the same thing If you want to do EXACTLY what the switch did, then you don'