Re: Upgrade from CF 8 multiserver to CF 9.

2010-02-11 Thread Matt Quackenbush
http://www.quackfuzed.com/index.cfm/2009/10/18/Learning-CF9-Installing-CF9-Alongside-CF8 ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://ww

Re: DatePart Function Missing

2010-02-01 Thread Matt Quackenbush
In the sample you posted, DatePart() is not surrounded by hashes (#). This means that you are calling the database's DatePart() function. Apparently MySQL does not have such a function, which is why you are receiving the error message. (I do not use MySQL, so you'd have to check their documenta

Re: Link test.

2010-02-01 Thread Matt Quackenbush
I believe you need a Deny All in there. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/me

Re: var scoping cfscript in a CFC

2010-02-01 Thread Matt Quackenbush
Why wouldn't you simply do... var foo = "bar"; ? But yes, you still have to var scope them. Sent from my iPhone On Feb 1, 2010, at 10:46, "Chad Gray" wrote: > > When putting cfscript in a CFC function do you need to use var foo = ""> on variables created in the cfscript? > > Thanks,

Re: cfscript for cfsetting

2010-01-26 Thread Matt Quackenbush
The CF9 docs have had this ever since CF9 was released. http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a02805926a1237efcbfd5-7fff.html ~| Want to reach the ColdFusion community with something they want? L

Re: Why .Net is on its last legs

2010-01-21 Thread Matt Quackenbush
Definitely nothing quite like some good ol' Chicago pizza! Thanks a lot, now you've got me craving some Gino's East, and I'm in Texas! :-( Chicago (...can't get good pizza anywhere else hehehe) > ~| Want to reach the ColdFusi

Re: Why i fear ColdFusion is on its last legs in Australia

2010-01-21 Thread Matt Quackenbush
ust being a prick by suggesting i > did. > > Mike > > > On Fri, Jan 22, 2010 at 7:48 AM, Matt Quackenbush > wrote: > > > > OK, you have just officially made me laugh so hard that my side hurts. > > Since when does Adobe have franchise agreements? Since when

Re: Why i fear ColdFusion is on its last legs in Australia

2010-01-21 Thread Matt Quackenbush
OK, you have just officially made me laugh so hard that my side hurts. Since when does Adobe have franchise agreements? Since when do people/companies pay Adobe hundreds of thousands of dollars in fees for which Adobe agrees to market products and/or services for them? Why do so many damn people

Re: Why i fear ColdFusion is on its last legs

2010-01-21 Thread Matt Quackenbush
Why is it that everyone is afraid to speak the truth? No worries, I'll do the dirty work. Adobe, watching helplessly (so some thought) as Australia scoffs at the world as it suffers through a major recession, are hell bent upon bringing full-on recession to Australia. Their strategy appears to

Re: cfmail through google

2010-01-19 Thread Matt Quackenbush
To my knowledge there is no way to use with gmail on CF7. The appropriate hooks (TLS/SSL) were not added into until CF8. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusio

Re: Coldfusion 9 and Tomcat

2009-12-22 Thread Matt Quackenbush
Is it "officially" supported? I don't know; haven't researched that. I am not one of them, but I do know for a fact that people are running CF9 on Tomcat. ~| Want to reach the ColdFusion community with something they want? Let

Re: Is Infusion Still In Business?

2009-12-14 Thread Matt Quackenbush
On Mon, Dec 14, 2009 at 1:52 PM, Jordan Michaels wrote: > > a company that doesn't respond to SALES requests doesn't seem too > hopeful. > Bah. Sales are overrated. :D ~| Want to reach the ColdFusion community with somethin

Re: Setting Static Image Expire

2009-12-05 Thread Matt Quackenbush
On Sat, Dec 5, 2009 at 8:29 PM, Jessica Kennedy wrote: > > I need someone to tell me EXACTLY how to go about doing this. I know it > can't be hard, there are a million resources that almost tell me. > Statements like these posted on *FREE* help forums or mailing lists really boggle my mind. I

Re: regular expression problem

2009-12-03 Thread Matt Quackenbush
http://pics\.mysite\.com/.*?\.(gif|jpg|jpeg|png|bmp)\Z",picUrl) EQ 0> // don't allow the pic There is no reason to escape the : or the / like you've done in your example. Neither of those are special characters. ~| Want t

Re: ARGUMENT scope case

2009-11-26 Thread Matt Quackenbush
That is correct for the key names in a struct that you create. However, the OP was talking specifically about the keys in the ARGUMENTS struct. You can't use array notation for those. :-) On Wed, Nov 25, 2009 at 9:14 PM, denstar wrote: > > I thought that using the bracket notation would keep

Re: ARGUMENT scope case

2009-11-25 Thread Matt Quackenbush
Love it or hate it, ColdFusion has, for as long as I can remember (v. 3?), UPPERCASED variable names and struct keys. Since this is a known thing, you can work around it by using either Lcase() or Ucase() where appropriate. ~|

Re: Methods not found.

2009-11-25 Thread Matt Quackenbush
You should not be var'ing your constructor variables. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/

Re: SQL / mySQL Datasource

2009-10-31 Thread Matt Quackenbush
Apparently my advisory sentence was not clear enough, so I shall cut it down to the simplest of words for you... Read the documentation. ~| Want to reach the ColdFusion community with something they want? Let them know on the

Re: SQL / mySQL Datasource

2009-10-31 Thread Matt Quackenbush
Since you asked, yes, I am convinced that you have not gone through the documentation. On Sat, Oct 31, 2009 at 1:05 PM, Anene Isioma Wealth wrote: > > nice sarcasm. do u think i havent gone through documentation? > ~| Want to

Re: SQL / mySQL Datasource

2009-10-31 Thread Matt Quackenbush
I'm rather curious here. Have you ever heard of documentation? The questions you are asking are things that a first-day ColdFusion developer has no trouble with because they are the first basic things that one learns, and it literally takes about 3 minutes to read and implement. Sent fro

Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Matt Quackenbush
Jeff, I may have a CF7 license that I can part ways with. Shoot me an email off list. Sent from my iPhone On Oct 30, 2009, at 12:18, Jeff Gladnick wrote: > > It seems impossible to purchase new CFMX 7 licenses, and for the > project I am currently working on it MUST be cfmx 7 (not 8, not

Re: CF8 and CF9 on the same computer

2009-10-16 Thread Matt Quackenbush
Multi-server is *definitely* the way to go. But before you uninstall your standalone, be sure to create a CAR of all your settings. This way when you re-install in multi-server setup, all you do is import the CAR and you'll have all of your settings, datasources, mappings, etc in place. Oh, and

Re: CF8 and CF9 on the same computer

2009-10-14 Thread Matt Quackenbush
I have CF8 setup in the multi-server configuration on top of JRun. With that in place, it is quite simple to setup CF9 alongside it. After getting CF8 running on JRun and hooked into Apache, do the following: 1) Run the CF9 installer and select 'J2EE' and 'Create EAR File'. 2) Follow the Adobe

Re: cannot insert record with ##createodbcdatetime(now())##

2009-10-13 Thread Matt Quackenbush
Heh. Damn. I thought I had spotted something important. ;-) On Tue, Oct 13, 2009 at 6:12 PM, Rick Root wrote: > > The original thread is here, and that was not the case: > > http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60230 > >

Re: cannot insert record with ##createodbcdatetime(now())##

2009-10-13 Thread Matt Quackenbush
I didn't see the original code, but if the title is accurate, that is why it is not "working". ##createodbcdatetime(now())## The double hash on each side will result in the literal string #createodbcdatetime(now())# being passed to the database.

Re: CF 9 and CF Builder Beta 2 released

2009-10-06 Thread Matt Quackenbush
Have you looked at some of the VPS solutions? Some of them are quite economical, and give you access to all of those things. On Tue, Oct 6, 2009 at 2:24 PM, David Long wrote: > > After doing some shopping, I've found none of them are > anxious to let me add my own DBs and Scheduled tasks or che

Re: time / time zones in CF

2009-10-06 Thread Matt Quackenbush
CF is getting the time zone from the JVM. Sent from my iPhone On Oct 6, 2009, at 12:46, Toby King wrote: > > Hi there > > I am running 2 Coldfusion servers in Sydney Australia. > > This last weekend Sydney adjusted clocks and moved to Summertime (4 > weeks earlier than normal - this is going

Re: (ot) Detect OS and CPU Architecture

2009-09-26 Thread Matt Quackenbush
Heh. Offline. Online. Meh. No worries. :-) Everyone is certainly entitled to their opinion, but I would argue that those very same search engines that index a few posts here and there of this sort are also indexing hundreds of thousands of the normal, average, every day post. Therefore, it

Re: (ot) Detect OS and CPU Architecture

2009-09-26 Thread Matt Quackenbush
I know I shouldn't, but I'm going to have to respectfully disagree with G! on this one. :D If "this sort of behavior" were the norm, then I could and would fully agree. But we're talking about one particular poster who just happens to do it on every list he's on. I see it as a source of entert

Re: Getting URL from URL address bar!

2009-09-23 Thread Matt Quackenbush
Barney already gave the exact description of how to handle this, but since it is painfully obvious that his instructions were not understood, I will attempt to spell it out again. 1) Set up your web server (Apache/IIS/Resin/Whatever) to respond to requests for each of the three domains in questio

Re: Cannot declare local variable cfcatch twice

2009-08-19 Thread Matt Quackenbush
The code would certainly help pinpoint exactly where the issue lies, but as the error message indicates, it is caused by the fact that somewhere in your code a variable is declared twice within a function. This can be caused by several factors. Here are a couple of examples that will do it. Ex.

Re: Illudium PU36, queryRowToStruct?

2009-08-16 Thread Matt Quackenbush
Heh. I so totally LOVE those "A HA!!!" moments! And no, it's not sad that those things make you smile. Hell, I'm smiling just because it's cool to "see" someone else "get it". :-) Oh, and yes, you are absolutely correct. You do not need the resultCount line, because you can just get the obje

Re: Illudium PU36, queryRowToStruct?

2009-08-16 Thread Matt Quackenbush
It appears as though that code is expecting the object to be provided in the 'adminusers' argument, and then is converting the query to a struct, and is then re-initializing the 'adminusers' object with that struct. Assuming the init() method on the adminusers object is built to accept these prop

Re: venture into OO, well sort of, need help!

2009-08-14 Thread Matt Quackenbush
I respectfully 100% disagree. You should **ALWAYS** validate ___ALL___ data that comes from your users. (Note the period at the end of that sentence.) On Fri, Aug 14, 2009 at 3:57 PM, Kevan Stannard wrote: > > If you are just logging in a user then you probably don't need the > validation ste

Re: venture into OO, well sort of, need help!

2009-08-14 Thread Matt Quackenbush
I'm not sure exactly what the question is, but in a brief glance of the code it appears that you have the general concepts correct. My concern is this bit: admin.cfc <--- getters and setters, right? I don't know what admin.cfc is, but based upon the context I am assuming it is intended to be an

Re: how to get the absolute path

2009-07-08 Thread Matt Quackenbush
requires either an root-absolute path, or a relative path. So you have two choices... OR ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: ht

Re: error on new crystaltech site

2009-07-04 Thread Matt Quackenbush
Looks like a question that should be directed to the crystaltach support people. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseo

Re: SQL Help

2009-06-28 Thread Matt Quackenbush
A) Always use . (Note the period.) B) When in doubt, use anyways. (Note the period.) C) While preserveSingleQuotes() can be a useful tool at times, I would have a very difficult time thinking of a time where I would use it. D) Always use . (Note again, the period.) E) You cannot use in the mi

Re: Railo and Coldfusion Reports

2009-06-21 Thread Matt Quackenbush
Maybe as the Railo list? http://groups.google.com/group/railo ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups

Re: Railo and Coldfusion Reports

2009-06-21 Thread Matt Quackenbush
*ask On Sun, Jun 21, 2009 at 1:07 PM, Matt Quackenbush wrote: > Maybe as the Railo list? > > http://groups.google.com/group/railo > > ~| Want to reach the ColdFusion community with something they want? Let th

Re: Adobe Livedocs throwing lock error???

2009-05-15 Thread Matt Quackenbush
Works just fine in Texas. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322573

Re: Best way to extend from a parent directory

2009-05-14 Thread Matt Quackenbush
Unfortunately, no. :-( ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322539 S

Re: Coldbox - mxunit testing database interaction

2009-05-12 Thread Matt Quackenbush
Jake, I would highly recommend posting this question to the ColdBox and/or MXUnit groups (links below). You are almost guaranteed to get a much greater response from those than you will from CF-Talk. /0.02 I would offer a suggestion, but I'm honestly not exactly sure what you're trying to do,

Re: Coldfusion Date format question

2009-05-11 Thread Matt Quackenbush
You're telling CF to only insert the date (cf_sql_date). Assuming that your database column is setup to hold a timestamp (e.g. a data type of datetime, timestamp or similar), try the following: ~| Want to reach the ColdFusion

Re: help with a grey area

2009-04-17 Thread Matt Quackenbush
I would suggest consulting the appropriate attorney(s). :-) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive:

Re: Validate Object's Component Type

2009-04-01 Thread Matt Quackenbush
So, if the type isn't what you want, you're planning to throw an exception, right? As Charlie mentioned, I would suggest that you embrace type="any". This is known as 'duck typing'. If it looks like a duck, and if it walks like a duck, and if it quacks like a duck, it must be a duck! You're ex

Re: ColdFusion - facts

2009-03-31 Thread Matt Quackenbush
30-seconds max. of research would give you the answer to all of those questions. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;2

Re: Coldfusion 8 Server Install

2009-03-31 Thread Matt Quackenbush
I can't remember if it's available in Standard or not, but if you were going from Enterprise to Enterprise, you would use a .car file to move over all of your settings. This is done under the "Packaging & Deployment" menu in the CFAdmin. Create a new .car with your CF8 Developer install, and the

Re: Anyone going to CF objective looking to split a hotel room?

2009-03-28 Thread Matt Quackenbush
Geraldo, You most certainly have to be the funniest (a.k.a. weirdest) dood on the planet. LMAO! On Fri, Mar 27, 2009 at 8:30 PM, Gerald Guido wrote: > > >>3) not a weirdo > > I was with you until "not a weirdo" > > Everybody is a someone else's weirdo. Everyone has something weird about > t

Re: Mysterious MySQL DateTime Problem with extra .0

2009-03-24 Thread Matt Quackenbush
What do you mean "impossible to work with the data without removing the .0 at the end"? That is a completely normal timestamp. While I don't use MySQL very often, I use timestamps hundreds of thousands of times each day, and every single one of them has the .X at the end. That number is simply

Re: Updating a Verity Collection on a remote UNIX server

2009-03-23 Thread Matt Quackenbush
Unless, of course, you have a custom install and they reside in a different location. ;-) On Mon, Mar 23, 2009 at 4:16 AM, Tom Chiverton wrote: > > CF's log files are always in the same place- cfroot/logs/*log > > -- > Tom Chiverton > ~~

Re: JRun Throwing 503 Errors

2009-03-19 Thread Matt Quackenbush
I forgot to answer the last part of your question. The solution: I moved all of the calls to their own server instance. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: JRun Throwing 503 Errors

2009-03-19 Thread Matt Quackenbush
In a nutshell, calls hanging, stacking on top of each other, and eating up the JVM. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;2071726

JRun Multiple Instances on IIS

2009-03-18 Thread Matt Quackenbush
I can find plenty of posts/tutorials regarding running multiple instances on Apache, but I haven't found a single post/tutorial on doing so on IIS. Know of any links? Yes, I've read the CF docs, and I've followed them correctly, I think. I've created an additional instance, and I've run the Web

Re: JRun Throwing 503 Errors

2009-03-18 Thread Matt Quackenbush
No, I do not have monitoring turned on in production. As a matter of fact, until you just mentioned it, I completely forgot it even existed. ;-) (Which means that I don't know the answer to your questions, but I shall check it out.) On Wed, Mar 18, 2009 at 5:43 AM, Tom Chiverton wrote: > > Wh

Re: JRun Throwing 503 Errors

2009-03-18 Thread Matt Quackenbush
Hmm... It just happened again. Now here's the strange part: All of my sites return 503 timeout errors, yet I can still move about the CFAdmin just like normal. WTF? I have no idea what the deal is. ~| Adobe® ColdFusion® 8

JRun Throwing 503 Errors

2009-03-18 Thread Matt Quackenbush
Hello, On one of my servers, starting about 12 hours ago, all of a sudden JRun seems to be shutting down or something. It quits responding and displays the following error message on every request: 503 Request timed out waiting to execute For the last 12 hours this has occurred repeatedly, w

Re: Regular Expression problem

2009-03-14 Thread Matt Quackenbush
Damn wireless keyboards! ;-) On Sat, Mar 14, 2009 at 5:54 AM, Peter Boughton wrote: > > >2) any time you need to use "-", it needs to be the character in the > > You missed the critical word! ;) > > It needs to be the LAST character in the set. > > > > ~~~

Re: Regular Expression problem

2009-03-13 Thread Matt Quackenbush
[A-Za-z0-9_:%\$-]+ Does that work for ya? Two things that jump out at me: 1) You're escaping several items that don't need escaping, and 2) any time you need to use "-", it needs to be the character in the character class (otherwise the regex engine thinks you're trying to define a range) HTH

Re: CFC performance

2009-02-22 Thread Matt Quackenbush
+1 On Sun, Feb 22, 2009 at 7:33 AM, Peter Boughton wrote: > > Do this one: > > >2) Move each "family" of SQL functionality (i.e. all news functions -- > >between 3 and 10 CFC's per family, on average) into its own separate > >CFC. This would entail touching every page on the site and creating

Re: Googlebot got me good last night...Application.cfm question

2009-02-19 Thread Matt Quackenbush
~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/mess

Re: "From" and "ReplyTo" address, CFMAIL and Spam filters...

2009-01-25 Thread Matt Quackenbush
IMO, you should definitely be sending _from_ an address at the site's domain. Simply place the form respondent's email address in the replyto attribute of . // message HTH. ~| Adobe® ColdFusion® 8 software 8 is the most

Re: cfimage in loop kills loop and throws error

2009-01-08 Thread Matt Quackenbush
That error means exactly what it says: your cfloop is running for longer than is allowable. Try adding a requesttimeout setting and playing with the length. On Thu, Jan 8, 2009 at 7:22 PM, Tony Bentley wrote: > ERROR: The request has exceeded the allowable time limit Tag: CFLOOP > ~

Re: Mail Spool TLS

2009-01-07 Thread Matt Quackenbush
gmail search FTW! LOL http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57979 http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316741 On Wed, Jan 7, 2009 at 1:23 PM, Paul Kukiel wrote: > Yeah I know but like I said I can't find it. > > I'll keep searching. In th

Re: Regular Epression Help

2009-01-01 Thread Matt Quackenbush
string = 'http://www.webserviceX.NET/";>0.7025'; dbl = reReplace(string, '(.*?double[^"]+">)([^<]+)(<.*)', '\2'); string: #htmlEditFormat(string)# dbl: #dbl# On Thu, Jan 1, 2009 at 1:04 PM, Paul Kukiel wrote: > I'm stuck with this and I'm sure its easy but I need to extract > 0.7025

Re: CFCs, Scopes & Thread Safety code review

2008-12-30 Thread Matt Quackenbush
On Tue, Dec 30, 2008 at 11:46 AM, Glyn Jackson wrote: > Also re traffic: it's not a large amount I would agree, but for a small > ecommerce store it does handle £50,000 of orders per month so for them that > traffic is very valuable and the cart and order system all written in CF > must be working

Re: CFCs, Scopes & Thread Safety code review

2008-12-30 Thread Matt Quackenbush
On Tue, Dec 30, 2008 at 5:36 AM, Glyn Jackson wrote: > application.appObjs = structNew(); > application.appObjs.securitySQLcfc = > createObject("component","components.security"); > application.appObjs.commomSQLcfc = > createObject("component","components.common-sql"); Just to make sure it's cl

Re: finding dynamic form fields after submission

2008-12-21 Thread Matt Quackenbush
session.NODA09_formStruct['play_' & i] = form['play_' & i]; On Sun, Dec 21, 2008 at 11:16 AM, Scott Stewart wrote: >session.NODA09_formStruct.play_[i] = form[play_[i]]; > ~| Adobe® ColdFusion® 8 software 8

Re: cfqueryparam and LIKE operator error

2008-12-16 Thread Matt Quackenbush
The generated SQL has the tags in it There's something wrong with that picture. How are you writing that query? On Tue, Dec 16, 2008 at 3:13 PM, Mike Little wrote: > jake this is the actual dump... > > SELECT P.pid, P.price, P.price_sale, P.bid, P.display, P.views, PD.ptitle, > PD.availab

Re: Nested Paired Custom Tags

2008-12-11 Thread Matt Quackenbush
By moving the inside of the executionMode check, you're only executing it once. If you have it outside of that check, it executes on both executionMode=start and executionMode=end. ~| Adobe® ColdFusion® 8 software 8 is the most

Re: Can't get 301 permanent redirect to work correctly

2008-12-09 Thread Matt Quackenbush
I'm going to guess that the page in question has a in it that is firing. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;

Re: locking session variables in cf8

2008-12-07 Thread Matt Quackenbush
In virtually every case, locking session vars has been completely unnecessary since CFMX (6.0) came out. On Sun, Dec 7, 2008 at 3:12 PM, j s <[EMAIL PROTECTED]> wrote: > When creating session structures is it still necessary to cflock in cf8? I > think i read somewhere that it was no longer need

Re: Use Wordpress or BlogCFC?

2008-12-05 Thread Matt Quackenbush
Use mangoblog. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-tal

Re: strip alpha char

2008-11-07 Thread Matt Quackenbush
String functions: http://livedocs.adobe.com/coldfusion/8/htmldocs/functions-pt0_18.html#1099887 :-) On Fri, Nov 7, 2008 at 10:57 AM, Chad Gray <[EMAIL PROTECTED]> wrote: > Ah... REReplace... I only knew of REFind... > > THANKS! > ~~~

Re: strip alpha char

2008-11-07 Thread Matt Quackenbush
Ops, I did that backwards... reReplace(myString, "[\D]", "", "all") On Fri, Nov 7, 2008 at 10:46 AM, Matt Quackenbush <[EMAIL PROTECTED]>wrote: > reReplace(myString, "[^A-Za-z]", "", "all") > ~~~

Re: strip alpha char

2008-11-07 Thread Matt Quackenbush
reReplace(myString, "[^A-Za-z]", "", "all") On Fri, Nov 7, 2008 at 10:44 AM, Chad Gray <[EMAIL PROTECTED]> wrote: > I have a list of file names and I only want the numbers in the file names. > I don't want any alpha characters. > > I can use RE to find the numbers, but it get complicated to fin

Re: Random record identifiers in MySQL 5.0

2008-10-28 Thread Matt Quackenbush
On Tue, Oct 28, 2008 at 2:13 PM, Phillip M. Vector wrote: > The only thing I've noticed in using that is that you can guess the next > number. > > If you have a URL string of id set to 7, I've always tried manually > typing in 6 and seeing what happens. Sometimes, 5. :) > > That's what permission

Re: basic cfc/oo design question

2008-10-22 Thread Matt Quackenbush
Just to make sure you're aware of its existence, I would suggest taking a look at ColdBox as well. http://www.coldboxframework.com/ http://www.12robots.com/index.cfm/2008/9/21/Building-an-Application-with-ColdBox-and-ColdSpring--Part-1 On Wed, Oct 22, 2008 at 12:02 PM, Judah McAuley wrote: > I'

Re: regex and options

2008-10-15 Thread Matt Quackenbush
\b is an escape sequence that, as taken from the docs: "Specifies a boundary defined by a transition from an alphanumeric character to a nonalphanumeric character, or from a nonalphanumeric character to an alphanumeric character." Since you're passing in "Dr|", the pipe character matches, as it i

Re: Won't evaluate?

2008-10-09 Thread Matt Quackenbush
The short answer is: you don't. The longer version is, you can setup placeholders and do a replace on them to enter the values that you're wanting to use. On Thu, Oct 9, 2008 at 8:38 PM, Phillip M. Vector wrote: > How do I make CF treat data it pulls from the DB as variables and not a > string?

Re: regex negative lookahead

2008-10-06 Thread Matt Quackenbush
Adrian, Peter- Interesting. Thanks for pointing that out. /me scurries off to check old code. On Mon, Oct 6, 2008 at 5:46 PM, Adrian Lynch wrote: > Underscore is deffo included on CF 8: > > > > ~| Adobe® ColdFusion® 8 sof

Re: regex negative lookahead

2008-10-06 Thread Matt Quackenbush
I'm not sure which regEx engine the example link uses, but the ColdFusion regEx engine defines \w as matching alpha-numeric characters only. In my experience, that's also how it behaves. http://livedocs.adobe.com/coldfusion/8/htmldocs/regexp_08.html#1144043 Maybe I wrongly assumed that he was ta

Re: regex negative lookahead

2008-10-06 Thread Matt Quackenbush
It is correctly returning a value of 6. Apple is 5 characters in length. While the length of the string is 5, the way the expression is currently written, it's going to find the first spot that is not [0-9A-Za-z], which is 6. As an aside, [0-9A-Za-z] can be shortened to [\w]. On Mon, Oct 6, 200

Re: Upgrade From 7.0.2 Standard to 8.0.1 Enterprise

2008-09-28 Thread Matt Quackenbush
Adrian, Thanks for the info. The license.properties file tip was brilliant! Worked like a charm. :-) One note for those who might be doing such an upgrade later After doing the new install, be sure to copy your CFIDE directory **before** you uninstall the old version. After the uninstall

Re: Upgrade From 7.0.2 Standard to 8.0.1 Enterprise

2008-09-20 Thread Matt Quackenbush
To be clear, I am going from a standard installation (e.g. C:\ColdFusion7\) to a JRun installation (so I can run multiple CF instances). While I've done lots of the JRun installs from scratch, I've never moved a standard install to JRun in production. Hence my "iffiness" on the topic. ;-)

Upgrade From 7.0.2 Standard to 8.0.1 Enterprise

2008-09-20 Thread Matt Quackenbush
I am planning on performing an upgrade from 7.0.2 Standard to 8.0.1 Enterprise tonight. Are there any particular "gotchas" that I should look out for? Generally speaking, in terms of software upgrades, I am a fan of uninstalling the current version and then doing a fresh install of the new versio

Re: Want to Learn Fuse-Box

2008-09-18 Thread Matt Quackenbush
Let's not leave ColdBox out of the loop. Luis Majano has a training seminar coming up in October. ;-) On Thu, Sep 18, 2008 at 8:29 PM, Brian Kotek wrote: > Hilarious? No. Expected from Claude? Yes. It's a perfect example of a snide > comment with no actual substance at all. Which, sadly, is ty

Re: cfqueryparam - couple ofquestions from a problem that occured today...

2008-09-15 Thread Matt Quackenbush
I don't see where you specified the database you're using, but SQL Server will allow a limit of 2,100 records be used in the IN statement. I'm assuming that MySQL and other db servers have a similar limitation in place. ~| Adobe

Re: error: Invalid data form.getMail for CFSQLTYPE CF_SQL_BIT.

2008-09-15 Thread Matt Quackenbush
Typically speaking, that sort of error message would indicate that an empty string is being submitted. To combat that, you could: 1) check to see if it's an empty string, if so, then redirect the user back to the form and make sure they select something, or 2) use #val(form.getMail)# in your cfq

Re: A Little Confusion on CFQUERYPARAM and Nulls...

2008-09-12 Thread Matt Quackenbush
p 12, 2008 at 2:11 PM, Matt Quackenbush wrote: > Are you saying that you have '99' set as the default value on the > 'link_sort' column in your database table? If so, then the reason it is > inserting a NULL is because you are telling it to. NULL is essentially a >

Re: A Little Confusion on CFQUERYPARAM and Nulls...

2008-09-12 Thread Matt Quackenbush
Are you saying that you have '99' set as the default value on the 'link_sort' column in your database table? If so, then the reason it is inserting a NULL is because you are telling it to. NULL is essentially a value, so therefore the default value of '99' never comes into play. Nothing is wrong

Re: CF and Access

2008-09-11 Thread Matt Quackenbush
Aaaah. Just noticed the "Yes" in the query. Have you tried cf_sql_bit (cfqueryparam) with a value of 1 instead of the "Yes"? On Thu, Sep 11, 2008 at 10:09 PM, Aaron Rouse wrote: > Yeah, the function is an Access function, just has the same name as CF. I > thought maybe the Yes/No column was t

Re: CF and Access

2008-09-11 Thread Matt Quackenbush
No problem with using DateDiff() as he is using it, since it is not surrounded by #. It has been a bazillion years since I've used Access, but as I recall, that particular error message has something to do with a lack of quotes (e.g. 'foo') on a field that the driver wants them on. Maybe the date

Re: BUMP Re: Odd null pointer error

2008-09-10 Thread Matt Quackenbush
On Wed, Sep 10, 2008 at 4:42 PM, Bryan Stevenson wrote: > If it persists I will have no choice but to drop MySQL and port the DB > to MS SQL Server. > That would be a very wise move, in my opinion. :-) ~| Adobe® ColdFusion® 8

Re: NullPointers error problem

2008-09-09 Thread Matt Quackenbush
There is a known bug with the MySQL drivers. In your CF Administrator, click to edit your datasource and do the following: 1) uncheck the "maintain connection", and 2) add the number zero in the "validation query" box That should fix your issue. On Tue, Sep 9, 2008 at 9:36 AM, Stefano Borali w

Re: What am I missing???

2008-08-25 Thread Matt Quackenbush
~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/mes

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head... To Ben Forta

2008-07-25 Thread Matt Quackenbush
+Infinity. (I'd add some sort of really intelligent comment, but, well, Robert already covered that part.) On Fri, Jul 25, 2008 at 11:14 AM, Robert Harrison wrote: > > how about changing cfquery so that by default... > > NO NO NO NO NO NO NO NO > > I've use nested SQL all the time, and

Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Matt Quackenbush
Did I really just read that? Please, someone, anyone, tell me that I didn't. Claude, you're certainly free to do what you wish to do in your own applications, so this comment is not directed to you at all. For those of you who are actually trying to learn and become better programmers/developers

Re: XML Error = invalid character Unicode 0x19.

2008-07-04 Thread Matt Quackenbush
Probably a result of a copy/paste from Word. Look for ' - ' (a space, a dash, a space) within that block. Word creates some stupid-ass "smart character" when that is typed in. ~| Adobe® ColdFusion® 8 software 8 is the most impo

Re: OT: Enterhost is down -- backbone down?

2008-05-09 Thread Matt Quackenbush
I'm on Enterhost, and all of my servers are running just fine (and have been all day). On Fri, May 9, 2008 at 1:25 PM, Michael Muller wrote: > Enterhost is down. They have been bouncing all afternoon so far. Anyone > have any info? Is this a backbone issue or just them? > > I can't get through t

<    1   2   3   4   5   6   7   >