Re: Cached Web Pages

2007-11-01 Thread James Holmes
Deleteing the contents of /WEB-INF/cfclasses will fix the issue. If you want to be more selective you can work out the Java hash name of the template you are trying to delete and just remove that class. On 11/1/07, Chris Ditty [EMAIL PROTECTED] wrote: I have this happen to me all the time. Even

Restricting access to the default remoting destination (ColdFusion) (CF8)

2007-11-01 Thread Tom Chiverton
Is there a way in CF8 to restrict only certain IP address to connect to the default ColdFusion remoting destination ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership

Re: SOT but... any one using a bot trap?

2007-11-01 Thread Tom Chiverton
On Wednesday 31 Oct 2007, [EMAIL PROTECTED] wrote: Apparently they publish this very simple to parse black list every day. Project Honey Pot have a DNS-based blacklist system too. You construct a hostname based on your API key, the IP to query, and standard TLD, and if it resolves you don't let

Re: CF 8 Install Adminstrator Problem

2007-11-01 Thread Tom Chiverton
On Wednesday 31 Oct 2007, [EMAIL PROTECTED] wrote: CFIDE.adminapi.accessmanager. Maybe the document root for the web site doesn't match where the administrator is installed ? -- Tom Chiverton Helping to biannually visualize prospective patterns on: http://thefalken.livejournal.com

Re: CF 8 Perl on Win 2003 box

2007-11-01 Thread Tom Chiverton
On Wednesday 31 Oct 2007, Mark A Kruger wrote: on a windows box and it used too much CPU to be viable. We moved it to a Well, that's hardly Perl's fault :-) Where you using spamd/spamc ? -- Tom Chiverton Helping to simultaneously transform third-generation developments on:

Re: SOT but... any one using a bot trap?

2007-11-01 Thread Claude Schneegans
Project Honey Pot have a DNS-based blacklist system too. Good, but apparently their site is closed for the time being. It their black list system still working? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

RE: How do I bypass the missing template handler?

2007-11-01 Thread Paul Sizemore
Can you use ISAPI Rewrite at http://www.helicontech.com/ ? We've got it running on IIS. Paul -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 11:05 AM To: CF-Talk Subject: How do I bypass the missing template handler? I have a site that needs

Replacing Strings

2007-11-01 Thread Rick Sanders
Hey list, I'm trying to replace a double quote in a text field to a single quote. I've tried using ReReplace, but it still crashes the Cold Fusion server. What I've done is this: cfoutput#REReplace(dills,,',ALL)#/cfoutput See, users tend to like using double quotes in a text field which

Re: CF 8 Perl on Win 2003 box

2007-11-01 Thread Ben Doom
Like several others, I've run CF (5, 6) in parallel with Perl (Activeperl) on Win2k server. Like the others, I didn't see any direct conflicts. Like the others, I'd watch your CPU usage carefully if you are using Perl do do any heavy lifting. --Ben Doom Ian Skinner wrote: I'm 99% sure I

Re: CFMAIL quesitons..

2007-11-01 Thread Ben Doom
I've never tried it, but Make sure your SMTP server is set to listen on all applicable IPs. Use the server argument to specify the SMTP server by IP instead of by name. HTH. --Ben Doom Al Musella, DPM wrote: Hi I am on CF7, with multiple websites on multiple IP addresses. When I

RE: Replacing Strings

2007-11-01 Thread Marius Milosav
Try: cfoutput#REReplace('dills','',',ALL)#/cfoutput Marius Milosav ScorpioSoft Corp. www.scorpiosoft.com -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: November 1, 2007 8:47 AM To: CF-Talk Subject: Replacing Strings Hey list, I'm trying to replace a double

RE: Replacing Strings

2007-11-01 Thread Andy Matthews
use single quotes in your replace function (and you don't need REReplace just FYI). REReplace('dills','',',ALL) -Original Message- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 7:47 AM To: CF-Talk Subject: Replacing Strings Hey list, I'm trying to

Re: Replacing Strings

2007-11-01 Thread Kris Jones
ReReplace is for using a regular expression. Try Replace. You'll also need to quadruple the double quotes, something like this should work: #Replace(dills, , ', ALL)# That is, the content of each expression is enclosed in double quotes in this example. When the expression itself contains a

Re: Replacing Strings

2007-11-01 Thread Dana Kowalski
are you using cfqueryparam's on your query? It should escape them on its own I would think. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now

Re: Replacing Strings

2007-11-01 Thread Ben Doom
replace('dills', '', ', all) In other words, where you are explicitly writing double-quotes (like for the find string) wrap in single quotes, and where you are explicitly writing single quotes (like the replace string) wrap in double quotes. --Ben Doom Rick Sanders wrote: Hey list,

cftextarea richtext

2007-11-01 Thread Victor Moore
I am trying to use this new feature in CF8 and while it's a quick and easy to implement by default is using double space between lines, so when typing instead of having something like this: line1 line2 I have: line1 line2 Is there a setting I can modify to have single line spacing? I have

RE: Replacing Strings

2007-11-01 Thread Rick Sanders
Didn't think of that, but it's less code to do a replace than the cfqueryparam. Rick Sanders Canada: 902-401-7689 USA: 919-799-9076 Canada: www.webenergy.ca USA: www.webenergyusa.com -Original Message- From: Dana Kowalski [mailto:[EMAIL PROTECTED] Sent: November-01-07

RE: Replacing Strings

2007-11-01 Thread Rick Sanders
Hi Andy, Thanks for your response. I can't believe I made the rookie mistake of not using single quotes instead of double quotes in the expression! Kind regards, Rick Sanders Canada: 902-401-7689 USA: 919-799-9076 Canada: www.webenergy.ca USA: www.webenergyusa.com -Original

Re: Replacing Strings

2007-11-01 Thread Ben Doom
Not to put too fine a point on it, but if this data is coming directly from an end user, it would probably be in your best interest to add the cfqueryparam anyway. It does quite a bit more than just quote escaping. Definitely a best practice recommendation. --Ben Doom Rick Sanders wrote:

Re: Replacing Strings

2007-11-01 Thread Charlie Griefer
On Nov 1, 2007 7:44 AM, Rick Sanders [EMAIL PROTECTED] wrote: Didn't think of that, but it's less code to do a replace than the cfqueryparam. the cfqueryparam buys you more. and you should be using it anyway. -- Charlie Griefer ...All the

RE: Replacing Strings

2007-11-01 Thread Rick Sanders
Thanks for your feedback, I'm an ASP.net XML programmer and new to Cold Fusion. I'll definitely look into the cfqueryparam since it seems to be the best Cold Fusion way to control user input, and not have your queries break down. Kind regards, Rick Sanders Webenergy Canada: 902-401-7689 USA:

Re: Replacing Strings

2007-11-01 Thread Adam Haskell
Bigger rookie mistake is not using cfqueryparam. Adam Haskell http://cfrant.blogspot.com On 11/1/07, Rick Sanders [EMAIL PROTECTED] wrote: Hi Andy, Thanks for your response. I can't believe I made the rookie mistake of not using single quotes instead of double quotes in the expression!

Compiling Oracle Stored Procedures from ColdFusion

2007-11-01 Thread Ryan, Terrence
I figure this is a pretty random problem, but I figured I would try to ask here. Does anyone know how to compile Oracle stored procedures from ColdFusion? I can successful write stored procedures in Oracle from ColdFusion, they show up as uncompiled when I use Oracle Tools to view them.

Re: wsdl issue in cfmx 7

2007-11-01 Thread Steve Dworman
we created a jar file with the Box class inside. then used cfobject to access the class, build Box() and pass it to the web service. it worked. now the problem is with abstract complex types. the current wsdl is at the same link http://www.msu.edu/~dwormans/test_wsdl.wsdl. i thought i

RE: Replacing Strings

2007-11-01 Thread Rick Sanders
You've just received a virtual raspberry! Rick Sanders Webenergy Canada: 902-401-7689 USA: 919-799-9076 Canada: www.webenergy.ca USA: www.webenergyusa.com -Original Message- From: Adam Haskell [mailto:[EMAIL PROTECTED] Sent: November-01-07 12:28 PM To: CF-Talk Subject: Re:

Re: CFMAIL quesitons..

2007-11-01 Thread Al Musella, DPM
No - that part isn't the problem.. it is one step lower.. the bottom header is the cold fusion server.. not the mail server.. here are the headers: Received: from mail.mymailserver.com (mail.mymailserver.com [xx.241.156.98]) by rly-mf08.mx.aol.com (v119.12) with ESMTP id

RE: wsdl issue in cfmx 7

2007-11-01 Thread Dave Watts
the current wsdl is at the same link http://www.msu.edu/~dwormans/test_wsdl.wsdl. i thought i could just drop the Box() object into an array and it work work, but of course i was wrong. the issue is that i need an object called Shape[]. any ideas? examples? Create a Shape object also?

Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread John Paul Ashenfelter
On 10/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: There is a special 'MAMP' version of the 'LAMP' environment for the Mac. Always be sure, if there is a choice, to pick the 'intel' version of a program, when you install it. Personally, I'd suggest install MacPorts and using it to manage

MX 6.1 and Sending SMS Messages

2007-11-01 Thread Dave Phillips
Okay, before I go any further let me make it clear that our organization is planning to upgrade to MX 7, but unfortunately, I have to get this functionality working BEFORE that happens and WITH CF MX 6.1, so please don't just respond with upgrade to MX 7 or CF 8). Our company tends to be 1

RE: Replacing Strings

2007-11-01 Thread Bobby Hartsfield
Even bigger would be saying Cold Fusion not once... but twice. Definitely look into cfqeryparam if you aren't using it. If you accept info from end users to put into your database and don't use cfqeryparam... you are just asking for trouble. There are also other benefits. One would be... not

How to break down a number into percentages

2007-11-01 Thread Rick Faircloth
Hi, all. I know that sounds simple and, as it's stated, it is. However, what I'm trying to accomplish turns out to be more complicated that I thought. I want to take a dollar amount, break it down by various percentages (that should total 100%), then place the dollar amounts into various

CFM page loads, then closes immediately.

2007-11-01 Thread Andy Matthews
I'm triggering a CFM page load from within a Flash movie using a standard getURL call. The page in question is set to deliver an Excel file using cfheader/cfcontent. It works great in FF, but when the page loads in IE, it immediately closes. If you hit Esc befor the page is done loading, then hit

Re: How to break down a number into percentages

2007-11-01 Thread [EMAIL PROTECTED]
couple of questions. 1. Your dB column, is it set to 'decimal 2' or is it set to 'decimal [#],2' 2. When you add up the numbers from the dB, are you converting them to integers before adding them up? 3. If the above are not the issue, can you please post the code so we can find the issue?

Re: How to break down a number into percentages

2007-11-01 Thread Greg Morphis
Can you provide the code you're using to store those numbers?... if the data type is correct, then maybe it's how it's breaking the number down and storing it in the DB that needs some work. On Nov 1, 2007 11:39 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all. I know that sounds simple

RE: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread Andy Matthews
Thanks for the update. MacPort sounds like a good idea. I'm all for easy as I don't know the MacOS at all right now. My production environment is a Windows box so it's more to get all of the load off my workstation, plus to put the mini to good use. I'll look into MacPort, thanks John. andy

brain freeze: which is faster, contains or REFind

2007-11-01 Thread Larry Lyons
Hi all, Suffering from a post Halloween brain freeze here, but I cannot remember which would be faster: cfif foo Contains xyz or cfif refind(foo,xyz,1,false) thanks, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection http://www.beiresources.org email:

Re: brain freeze: which is faster, contains or REFind

2007-11-01 Thread Barney Boisvert
Those aren't equivalent. REFind does a case-sensitive RegEx search. find (which you didn't list) does a case-sensitive search. contains does a case-INsensitive search. I'd expect contains and findNoCase to be roughly equivalent, with REFindNoCase lagging slightly. Find and and REFind should be

Re: IIS Application Pools and ColdFusion

2007-11-01 Thread Matthew Small
What is the web server integration module? How does a request make it from IIS to CF? - Matt Small Do the IIS application pools have any affect on ColdFusion. Is there any reason to configure them one way or another to aid the performance of an Windows 2003 server run ColdFusion 8

Re: IIS Application Pools and ColdFusion

2007-11-01 Thread Matthew Small
What is the web server integration module? How does a request get passed from IIS to CF? - Matt Small Do the IIS application pools have any affect on ColdFusion. Is there any reason to configure them one way or another to aid the performance of an Windows 2003 server run ColdFusion 8

Re: CFMAIL quesitons..

2007-11-01 Thread Jochem van Dieten
Al Musella, DPM wrote: I am on CF7, with multiple websites on multiple IP addresses. When I send mail using cfmail, I want the IP address in the headers to say it came from the IP address of each website. Those lines are added by the receiving server based on the IP address of the

Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread Tom McNeer
Andy, To answer one of your questions that wasn't directly addressed: yes, you can browse the Mac's file structure on your PC, as long as permissions on the Mac allow it. You should be able to see it under My Network Places. I haven't tried mapping a Mac's drive on a PC, but it should be

RE: How to break down a number into percentages

2007-11-01 Thread Rick Faircloth
Hi, Greg... see my response to Williams for the code... Rick -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 1:14 PM To: CF-Talk Subject: Re: How to break down a number into percentages Can you provide the code you're using to

RE: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread Andy Matthews
Without sounding needy, I found a few sites for MacPorts, but they're all ..am or .c files. I have no clue how to go about using those. I did install XCode from my Tiger CD (on the recommendation from a friend), so I guess I can compile those files if need be. Also, am I correct in understanding

RE: How to break down a number into percentages

2007-11-01 Thread Rick Faircloth
Hi, William, and thanks for the reply... 1. dB column is defined as decimal(10,2)NOT NULL 2. You might know quicker than I based the query insert code: update accounts set balance = cfqueryparam cfsqltype=cf_sql_decimal value=#LSParseNumber(current_balance)# where

Re: brain freeze: which is faster, contains or REFind

2007-11-01 Thread Ben Doom
re* functions are inherently slower than their find* equivalents. There's a startup cost for the RegEx engine. --Ben Doom Barney Boisvert wrote: Those aren't equivalent. REFind does a case-sensitive RegEx search. find (which you didn't list) does a case-sensitive search. contains does a

Re: How to break down a number into percentages

2007-11-01 Thread Ben Doom
Without seeing your code, I can say this with a fair degree of certainty: if you're really losing 3%, you are probably doing something wrong (like always truncating, using integers instead of floats, etc.). If you round to the nearest cent, you should be getting totals like $99.97 or $100.02

RE: IIS Application Pools and ColdFusion

2007-11-01 Thread Dave Watts
What is the web server integration module? How does a request get passed from IIS to CF? The web server integration module is the piece of software that passes requests from your web server to CF. It's installed using wsconfig.jar. In the case of IIS, wsconfig.jar installs a DLL or two that

RE: CF 8 Install Adminstrator Problem

2007-11-01 Thread Howell, Craig H Civ WRALC/ITMS
The CFIDE directory is a virtual in the web root. Would that be a problem? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 7:17 AM To: CF-Talk Subject: Re: CF 8 Install Adminstrator Problem On Wednesday 31 Oct 2007, [EMAIL PROTECTED]

Re: CFM page loads, then closes immediately.

2007-11-01 Thread Matt Williams
On 11/1/07, Andy Matthews [EMAIL PROTECTED] wrote: I suspect it might have to do with the location (in code) of the cfheader/cfcontent blocks. Aren't they supposed to come first in the doc? Hey Andy, have you tried other settings for the cfheader/cfcontent tags? Here's what I've used and seems

RE: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread Andy Matthews
Awesome. Thanks Tom. I haven't tried it yet, but I'm confident that I can get all of this working. Especially with the help of smart guys like you all. -Original Message- From: Tom McNeer [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 1:39 PM To: CF-Talk Subject: Re:

RE: MX 6.1 and Sending SMS Messages

2007-11-01 Thread Rich
Dave, Do you have a SMSC (SMS Center) or an SMS Gateway? Currently we work with OpenMarkets, which provides a java api that we leverage to send SMS, PSMS, etc. Either using an API provided from your SMSC, or OpenSMPP (which I assume is where you found SMPP.jar) will be rather easy. You need to

Insode of CFDocument type = pdf

2007-11-01 Thread coldfusion . developer
Has anyone ever got a Flash movie/object to successfully show up when creating a pdf from using cfdocument? Use any Web page with a Flash move/object on it. Is this just not possible? cfdocument format=pdf src=http://www.youtube.com; /cfdocument Thanks

RE: CFM page loads, then closes immediately.

2007-11-01 Thread Andy Matthews
I'm experimenting with it right now. I've determined that it's the cfcontent tag that's causing the issue. But that's also the portion that causes the page to be an Excel file though. Removing it allows the page to load, but it loads as a plain HTML page, and not as a triggered Excel file

PayFlowPro PFProAPI

2007-11-01 Thread David Brown
Hello, I have been using the cfmx custom tag for years without issues through cfmx 7 for payflowpro gateway, but now we are looking at cf 8 and have problems. I found this link http://www.apoktechnology.com/blog/index.cfm/2007/7/15/New-PayflowPro-ColdFusion-Component And in the

Re: IIS Application Pools and ColdFusion

2007-11-01 Thread Matthew Small
So it's an ISAPI extension... it sounds like you said that the CF processing does not take place within the w3wp.exe process? If not, where? Is the JVM also loaded in the w3wp.exe process? - Matt What is the web server integration module? How does a request get passed from IIS to CF?

Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread John Paul Ashenfelter
I should have also mentioned the how to/etc on the wiki http://trac.macosforge.org/projects/macports/wiki -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Get the

Re: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread John Paul Ashenfelter
MacPorts is an installer/package manager (like rpm on linux or like, well, port on bsd). You install it from the main site -- it's just a normal mac app http://www.macports.org/ You *will* need XCode from Apple. Then you run the port command as administrator from the terminal sudo port Then

Re: How to break down a number into percentages

2007-11-01 Thread Jochem van Dieten
Rick Faircloth wrote: 1. dB column is defined as decimal(10,2)NOT NULL update accounts set balance = cfqueryparam cfsqltype=cf_sql_decimal value=#LSParseNumber(current_balance)# where account_id = '#get_accounts.account_id#' Would this cause the balance column

RE: CFM page loads, then closes immediately.

2007-11-01 Thread Dave Watts
I'll give your code a try. In the lines below, what's the difference between #filename# and #myFilePath#? The variable 'filename' is the name of the file that the browser will receive, and the other variable is the name of the file on your server. Dave Watts, CTO, Fig Leaf Software

RE: Setting up MacMini as full featured local webserver - with ColdFusion

2007-11-01 Thread Andy Matthews
Holy cow. That's pretty freaking awesome. Thanks for taking the time to walk through that with me. Appreciated. -Original Message- From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 2:59 PM To: CF-Talk Subject: Re: Setting up MacMini as full

Re: CFM page loads, then closes immediately.

2007-11-01 Thread Matt Williams
Doing the attachment part of value makes the prompt come up for the user to save or open the spreadsheet. #filename# is the suggested name of the file if the user selects to save it. file=#myFilePath# and deleteFile=true are probably not needed in your case. In my case, I'm actually creating an

Re: IIS Application Pools and ColdFusion

2007-11-01 Thread Jochem van Dieten
Matthew Small wrote: So it's an ISAPI extension... it sounds like you said that the CF processing does not take place within the w3wp.exe process? It doesn't. It takes place in the jrun.exe process. (Or whichever J2EE server you have deployed CF on.) Is the JVM also loaded in the w3wp.exe

RE: IIS Application Pools and ColdFusion

2007-11-01 Thread Dave Watts
So it's an ISAPI extension... it sounds like you said that the CF processing does not take place within the w3wp.exe process? If not, where? Is the JVM also loaded in the w3wp.exe process? CF has its own separate process(es). On Windows, they're jrun.exe. The ISAPI extension/filter

Re: CFM page loads, then closes immediately.

2007-11-01 Thread Jochem van Dieten
Andy Matthews wrote: I suspect it might have to do with the location (in code) of the cfheader/cfcontent blocks. Aren't they supposed to come first in the doc? They are supposed to be before the first tag that forces output to the browser (cfflush, cflocation, ?). lines 20 - 37 !DOCTYPE

Re: MX 6.1 and Sending SMS Messages

2007-11-01 Thread Dave Phillips
Dave, Do you have a SMSC (SMS Center) or an SMS Gateway? Currently we work with OpenMarkets, which provides a java api that we leverage to send SMS, PSMS, etc. Rich, - I work for a wireless company and we have our own SMS gateway, so the answer to that question is yes - however, there is no API

RE: How to break down a number into percentages

2007-11-01 Thread Rick Faircloth
Thanks for the tips and guidance, Jochem... Rick -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 4:18 PM To: CF-Talk Subject: Re: How to break down a number into percentages Rick Faircloth wrote: 1. dB column is defined

RE: How to break down a number into percentages

2007-11-01 Thread Rick Faircloth
Thanks for the tips, Ben... -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 2:42 PM To: CF-Talk Subject: Re: How to break down a number into percentages Without seeing your code, I can say this with a fair degree of certainty: if

Merging Static PDFs and PDF Forms in CF8

2007-11-01 Thread Jim Bates
Hi All, The issue I am facing is this: 1200+ PDF forms that employees will need to sign. The docs are being created in MS Word, and all have a standard signature block. We have prototyped using LiveCycle Designer 8 to add fields to static PDF files (print Word files into Acrobat, import

Re: Replacing Strings

2007-11-01 Thread James Holmes
It's the ColdFusion version of the best way, in any programming language, to prevent SQL injection and ensure correct datatypes - bind parameters. You should have been using them in ASP.net too. On 11/2/07, Rick Sanders [EMAIL PROTECTED] wrote: Thanks for your feedback, I'm an ASP.net XML

Re: cftextarea richtext

2007-11-01 Thread James Holmes
What did you set in fckconfig.js? Did you try FCKConfig.EnterMode = 'br' ; ? On 11/1/07, Victor Moore [EMAIL PROTECTED] wrote: I am trying to use this new feature in CF8 and while it's a quick and easy to implement by default is using double space between lines, so when typing instead of