Re: OT, JS : Why am I getting this error?

2011-10-31 Thread .jonah
I agree. The query param is more of a hack "if you don't control the serving template." ;) On 10/31/11 6:19 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: > >>you can add > something like '?cachebuster=' + new Date().getTime() to your request URL. > > Right, but I prefer the first method. > Fi

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread Claude Schnéegans
>>you can add something like '?cachebuster=' + new Date().getTime() to your request URL. Right, but I prefer the first method. First because my Ajax function is getting the url in a parameter, sometimes with ?values in it, sometime with none, so sometimes ?cachebuster=should be added, sometime

Re: CFtransaction questions

2011-10-31 Thread Matt Blatchley
Win2003 Standard I removed the cflock and I'm currently using ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.co

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
I finally just broke down the long statement into individual statements, leaving behind the '||' operator and it works. I'm using other statements validating entries from other fields in the form without problem, but couldn't do it with this one. No problem, however, just more code, but work as

Re: CFtransaction questions

2011-10-31 Thread Russ Michaels
what type of cftransaction are you using, do u have cflocking as well, if so what type. are you really using Windows NT ? i'm pretty sure the minimum requirements for SQL Server 2008 is windows 2003 server. Russ ~| Order the Ad

Re: CFtransaction questions

2011-10-31 Thread Matt Blatchley
I'm not sure how much flexibility I have on this version because it's a hosted solution in a shared environment: Microsoft SQL Server 2008 (SP1) Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2) Database table stores the Metrics by daily values so it's constantly being hit

Re: CFtransaction questions

2011-10-31 Thread Jochem van Dieten
On Mon, Oct 31, 2011 at 8:56 PM, Matt Blatchley wrote: > So my question is this:  Is it possible to have multiple queues > running on different machines and dumping the data into the same > table? Yes. > Using cftransaction, the second queue attempts to run but has to wait > until the main Queu

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
Ok... will do... -Original Message- From: Claude Schnéegans [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >Nope... no IE for dev. Always FF with FB. OK, but still, use these headers, in case you have some users under IE. ~

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread .jonah
And if you don't control the that serving template, you can add something like '?cachebuster=' + new Date().getTime() to your request URL. On 10/31/11 3:13 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: > >>Nope... no IE for dev. Always FF with FB. > > OK, but still, use these headers, in case

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread .jonah
Ha! Nice. We get so used to non-typed CFML. ;) On 10/31/11 3:07 PM, Rick Faircloth wrote: > The console.log showed that all values were correct, > but I needed to use parseInt when calculating values > to avoid concatenation. ~

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread Claude Schnéegans
>>Nope... no IE for dev. Always FF with FB. OK, but still, use these headers, in case you have some users under IE. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?t

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
The console.log showed that all values were correct, but I needed to use parseInt when calculating values to avoid concatenation. -Original Message- From: .jonah [mailto:jonah@creori.com] Sent: Monday, October 31, 2011 5:49 PM To: cf-talk Subject: Re: OT, JS : Why am I getting this

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
Nope... no IE for dev. Always FF with FB. -Original Message- From: Claude Schnéegans [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >and sometimes changes document changes don't refresh Are you using Explorer ? There is a well known bug in IE about caching Ajax requests. See http://coldfus

Re: CFtransaction questions

2011-10-31 Thread Russ Michaels
How about using cfthread and processing multiple items with each request, that will at least half the time it takes. Regards Russ Michaels >From my mobile On 31 Oct 2011 19:57, "Matt Blatchley" wrote: > > Greeting all, > > I'm running into an issue and was wondering if someone could give me > s

RE: runing CF and ASP.NET on the same web server (IIS 6)

2011-10-31 Thread Russ Michaels
Then it can't be anything to do with cf, what is the actual error you get. Regards Russ Michaels >From my mobile On 31 Oct 2011 21:45, "Nathan Chen" wrote: > > Russ, no, it still didn't work after disabled CF. > > Nathan > > -Original Message- > From: Russ Michaels [mailto:r...@michaels

Re: Problem deleting Solr Keys

2011-10-31 Thread Dean Lawrence
Yea, 9.01 and CHF2. I did just look at my java version though and I am at 1.6.0_17, do you think that might be the issue? On Mon, Oct 31, 2011 at 5:35 PM, Raymond Camden wrote: > > Um- using latest CF? (Yeah, grasping at straws here.) And by latest I > mean 901+CHF2. > > > On Mon, Oct 31, 2011 a

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread Claude Schnéegans
>>and sometimes changes document changes don't refresh Are you using Explorer ? There is a well known bug in IE about caching Ajax requests. See http://coldfusion.tcs.de/coldfusion-ie-cache-problem-with-repeating-ajax-requests/ I've added this at the top of the called template, and it solved t

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread .jonah
Did tracing reveal any errors in the variables? Also, remove all but one test at a time to confirm each works individually. On 10/31/11 2:35 PM, Rick Faircloth wrote: > Ahhh... spoke too soon. Same error: > > syntax error for: > >> if ( atpos<1 || dotpos fie

RE: runing CF and ASP.NET on the same web server (IIS 6)

2011-10-31 Thread Nathan Chen
Russ, no, it still didn't work after disabled CF. Nathan -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Saturday, October 29, 2011 5:33 AM To: cf-talk Subject: Re: runing CF and ASP.NET on the same web server (IIS 6) does the ASP pages work if you disable CF

Re: Problem deleting Solr Keys

2011-10-31 Thread Raymond Camden
Um- using latest CF? (Yeah, grasping at straws here.) And by latest I mean 901+CHF2. On Mon, Oct 31, 2011 at 4:09 PM, Dean Lawrence wrote: > > Thanks Ray, > > I had done some troubleshooting using the status attribute and it only > ever showed 0 records being affected. The litFile variable is >

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
Ahhh... spoke too soon. Same error: syntax error for: > if ( atpos< 1 || dotpos< atpos + 2 || dotpos + 2 == fieldToValidate.val().length ) -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Monday, October 31, 2011 5:19 PM To: cf-talk Subject: RE: OT

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
Well... with a refresh after the change (this stuff is AJAX'ed and sometimes changes document changes don't refresh like I think they would) the validation seems to be working correctly. Thanks for the feedback, Jonah! :o) Rick -Original Message- From: .jonah [mailto:jonah@creori.co

Re: Problem deleting Solr Keys

2011-10-31 Thread Dean Lawrence
Thanks Ray, I had done some troubleshooting using the status attribute and it only ever showed 0 records being affected. The litFile variable is identical and I've even tried to delete a key by manually adding the key name in the delete action. I have also used the Solr server interface to pull t

Re: Problem deleting Solr Keys

2011-10-31 Thread Raymond Camden
Use the status attribute of cfindex. Look at the result. It should show how many items were deleted. You may also want to double check to ensure litFile is matching case-wise. On Mon, Oct 31, 2011 at 4:01 PM, Dean Lawrence wrote: > > I have a Solr collection for literature which I store both a

Problem deleting Solr Keys

2011-10-31 Thread Dean Lawrence
I have a Solr collection for literature which I store both a reference to the original file in a database and the physical file on the filesystem. When a new piece of literature is added to the system, I update the Solr collection with the following code:

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread .jonah
what I'd do in this case is log each of the tests above the if. console.log(atpos); console.log(dotpos); console.log(fieldToValidate.val().length); console.log(atpos < 1); console.log(dotpos < atpos + 2); console.log(dotpos + 2 == fieldToValidate.val().length); And see what's erroring. On 10

RE: OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
Yeah, I caught that one after sending my message. Now, I'm getting: 'syntax error' for: if ( atpos < 1 || dotpos < atpos + 2 || dotpos + 2 == fieldToValidate.val().length ) -Original Message- From: .jonah [mailto:jonah@creori.com] Sent: Monday, October 31, 2011 4:28 PM To: cf-

Re: OT, JS : Why am I getting this error?

2011-10-31 Thread .jonah
In JS Comparison (what you are doing) is "==", while assignment (what it's complaining about) is "=". On 10/31/11 1:19 PM, Rick Faircloth wrote: > Assuming the vars are correctly assigned, > why would this statement: > > var atpos = fieldToValidate.val().indexOf('@'); > var dotpos = fieldToValid

OT, JS : Why am I getting this error?

2011-10-31 Thread Rick Faircloth
Assuming the vars are correctly assigned, why would this statement: var atpos = fieldToValidate.val().indexOf('@'); var dotpos = fieldToValidate.val().lastIndexOf('.'); if ( atpos < 1 || dotpos < atpos + 2 || dotpos + 2 = fieldToValidate.val().length ) give me this error for the "if" line above

CFtransaction questions

2011-10-31 Thread Matt Blatchley
Greeting all, I'm running into an issue and was wondering if someone could give me some sort of feedback if this can be accomplished. Background: The project I'm working on involves running a CFC that calls the Google AdWords API for a number of specific accounts and then dumps the data into a