Re: CF Blog software

2010-11-11 Thread Russ Michaels
could we have an example ? On Thu, Nov 11, 2010 at 2:21 AM, Sean Corfield seancorfi...@gmail.comwrote: On Wed, Nov 10, 2010 at 8:39 AM, Adrocknaphobia adrocknapho...@gmail.com wrote: Of course, if this is CF9, you can replace all the createObject() calls by using the 'new' keyword.

Re: CFMAIL Speed Issue

2010-11-11 Thread Russ Michaels
how do you generate the emails, is it a mailmerge from a database, in which case could it be the database query causing the problem ? On Thu, Nov 11, 2010 at 1:18 AM, Jake Churchill reyna...@gmail.com wrote: I'm having an odd issue with CFMAIL that comes and goes and Im not seeing a reason

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
thanks, this solution worked great and is now processing at a steady 2 seconds Hey, maybe try something like this? I haven't tested this, but it should theoretically be faster cfset sqlstring = / cfset questionIDLen = arrayLen(questionIDArray)!---put this in a variable so it

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
thanks for providing the details as to what is happening behind the scenes On Wed, Nov 10, 2010 at 12:40 AM, Richard White wrote: [query with 6600 cfqueryparams taking 9 seconds vs. 1 for plain SQL] In understand that adding the cfqueryparam is adding approx 6600 validations, however

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
transferring data from one app to another Hi, I am running the following cfquery which inserts a large amount of rows into a table (approx 2200) Just out of curiosity, where does your insert data originate from? ~|

RE: CFMAIL Speed Issue

2010-11-11 Thread Stephens, Larry V
Do you use cfmail parameters for naming the server, user and password? I'm on HostMySite and I'm not forced to use these parameters but I've found it's at least 300x faster (a few seconds compared to 3-5 minutes) if I do. -Original Message- From: Jake Churchill

RE: CFMAIL Speed Issue

2010-11-11 Thread Russ Michaels
That would imply an issue with the default SMTP server set in the cfadmin then, if you are specifying a different server in the cfmail tags to speed it up. -Original Message- From: Stephens, Larry V [mailto:steph...@indiana.edu] Sent: 11 November 2010 13:45 To: cf-talk Subject: RE:

Re: CFMAIL Speed Issue

2010-11-11 Thread Jake Churchill
IIS on the local box is what relays and no params are needed On Thu, Nov 11, 2010 at 7:44 AM, Stephens, Larry V steph...@indiana.eduwrote: Do you use cfmail parameters for naming the server, user and password? I'm on HostMySite and I'm not forced to use these parameters but I've found it's

Re: CFMAIL Speed Issue

2010-11-11 Thread Jake Churchill
however, on one of the boxes there was a username/password set up in the mail section of cfadmin. I removed it and I'll see if that helps. Thanks for the suggestion. On Thu, Nov 11, 2010 at 8:02 AM, Jake Churchill reyna...@gmail.com wrote: IIS on the local box is what relays and no params

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Will Tomlinson
transferring data from one app to another I'd just use Navicat to transfer the data. No CF needed. Quick and easy. Will ~| Order the Adobe Coldfusion Anthology now!

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Not sure where this goes in CF5.5. Place it in your error handler. !---if the request is ajax, throw an error that can be returned to the client in a basic string and then log the error as usual--- cfset requestHeaders = getHTTPRequestData().headers

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Thanks Tony! Will the cfheader statusCode=500 work with the site-wide error handler on? I tried adding this tag to my ajax code, but it is still returning as success. Thanks, Donnie ~| Order the Adobe Coldfusion Anthology

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Check firebug (how many times do people say this?) If you throw a 500 and abort after, the client should treat the response as an error. You need to configure the client too, not just put in cfheader statusCode=500. Use ALL of my code, not just a fragment. Thanks Tony! Will the cfheader

Countries Select Box

2010-11-11 Thread Rick Colman
I need to provide world-wide country postal abbreviations in a drop-down select box. there must be one of those out there, although I have searched. Anybody know where to get one. TNX. rick. ~| Order the Adobe Coldfusion

Re: Countries Select Box

2010-11-11 Thread John M Bliss
Little find-and-replace on this and you should be good to go: http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ On Thu, Nov 11, 2010 at 12:06 PM, Rick Colman rcol...@cox.net wrote: I need to provide world-wide country postal abbreviations in a drop-down select

Re: Countries Select Box

2010-11-11 Thread Russ Michaels
check cflib.org On Thu, Nov 11, 2010 at 6:15 PM, John M Bliss bliss.j...@gmail.com wrote: Little find-and-replace on this and you should be good to go: http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ On Thu, Nov 11, 2010 at 12:06 PM, Rick Colman

RE: Countries Select Box

2010-11-11 Thread Che Vilnonis
Rick, do you mean something like this? Most are there except Axis-of-Evil countries. Afghanistan AF Albania AL Algeria DZ American Samoa (U.S. Ter.) AS Andorra AD Angola AO Anguilla AI Antigua Barbuda AG Antilles (Netherland) AN Argentina AR Armenia AM Aruba AW Ascension GB2 Australia AU

Re: Countries Select Box

2010-11-11 Thread Dave Watts
I need to provide world-wide country postal abbreviations in a drop-down select box. there must be one of those out there, although I have searched. Anybody know where to get one. It's just HTML, right? So if you see a site with one, view source and copy the appropriate SELECT. Dave

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Hi Tony, Thanks again. I should mention that I want the site-wide error handler to run. It writes to log files, sends email notification as well as some other bug tracking pieces we have in place. If I put a cfabort in the code, the site-wide error handler won't run. Are you suggesting

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Hi Tony, I just realized you were intending for the code to go in the site-wide error handler and not the custom error handling of the AJAX code. I got it working. This was a great help!! Thanks again, Donnie Check firebug (how many times do people say this?) If you throw a 500 and

Re: Countries Select Box

2010-11-11 Thread Roger Austin
Rick Colman rcol...@cox.net wrote: I need to provide world-wide country postal abbreviations in a drop-down select box. I don't know of one already to go. Since countries can change, I use the UN country code list as the starting point. It isn't that hard with cut-n-paste to knock

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Nice work! - Tony Bentley (sent from iPhone) On Nov 11, 2010, at 11:06 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Hi Tony, I just realized you were intending for the code to go in the site-wide error handler and not the custom error handling of the AJAX code. I got it

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
nice link, thanks will! transferring data from one app to another I'd just use Navicat to transfer the data. No CF needed. Quick and easy. Will ~| Order the Adobe Coldfusion Anthology now!

Re: Countries Select Box

2010-11-11 Thread Rick Colman
that worked. write me if you want a copy ... On 11/11/2010 10:15 AM, John M Bliss wrote: Little find-and-replace on this and you should be good to go: http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ On Thu, Nov 11, 2010 at 12:06 PM, Rick Colmanrcol...@cox.net