RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Pascal Peters
cfscript stTmp = REFind([*]{3}[[:space:]]+([^*]+)[[:space:]]+[*]{3},str,1,true); info = Mid(str,stTmp.pos[2],stTmp.len(2); /cfscript cfoutputspan class=time#info#/span/cfoutput -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: vrijdag 14 mei 2004 17:07 To: CF-Talk

CFmail and Spam

2004-05-17 Thread Adam Reynolds
Hi, Hotmail keeps marking emails sent by the server as junk mail. These mails are sent out to players in a game to tell them to take their turn. Is there anything that can be done to make it look like the mail came from say Outlook? Adam [Todays Threads] [This Message] [Subscription]

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
Hey Pascal, hope you're doing well buddy! I'm getting an error. The selected method len was not found. Either there are no methods with the specified method name and argument types, or the method len is overloaded with arguments types that ColdFusion can't decipher reliably. If this is a Java

Re: How to secure email with CFMAIL

2004-05-17 Thread Rick Root
Brant Winter wrote: Hi - Maybe I should be addressing this question to the CF-Newbies list, but I will try here anyway! I need to create a form to submit patient data to another health company be email. I was thinking I could easily write the app in CF to do this, but I want to secure the

RE: cfmx admin question

2004-05-17 Thread Whittingham, P
yes (cfstart) , but i think it produce some errors...how does one interprete them. Pat -Original Message- From: Jim Louis [mailto:[EMAIL PROTECTED] Sent: Saturday, May 15, 2004 7:56 PM To: CF-Talk Subject: Re: cfmx admin question DO you have a web server running on your system? JIm

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
I figured that out.. thanks cfscript stTmp = REFind([*]{3}[[:space:]]+([^*]+)[[:space:]]+[*]{3},str,1,true); info = Mid(str,stTmp.pos[2],stTmp.len[2]); /cfscript span class=timestamp#info#/span the above code works however I was wondering if you could do me another favour. At the minute you

RE: Need to have a javascript that selectively validates

2004-05-17 Thread Whittingham, P
Jim, i presume session1 is a field name within your form and you want the validation at on submit eventremember _javascript_ is a case-sensitive language unlike CF. The _javascript_ Bible, by Dan Goodman is an excellent book Pat script !-- function valid() { if

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
sorry for being such a pest... I forgot to add in my earlier post that the timestamp for all existing comments is in the format: *** 10/28/2003 2:53:52 User1 *** and the timestamp for new comments is: *** User1 10/28/2003 2:53:52 *** Can you also show me how to display all existing

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Pascal Peters
cfscript stTmp = REFind([*]{3}([^*]+)([0-9]{1,2}/[0-9]{1,2}/[0-9]{4})[[:space:]]+([0-9]{ 1,2}:[0-9]{1,2}:[0-9]{1,2})([^*]+)[*]{3},str,1,true); user1 = Mid(str,stTmp.pos[2],stTmp.len[2]); date = Mid(str,stTmp.pos[3],stTmp.len[3]); time = Mid(str,stTmp.pos[4],stTmp.len[4]); user2 =

RE: The never-ending windows

2004-05-17 Thread Hagan, Ryan Mr (Contractor ACI)
How about doing something like this: MAIN Window tons of stuff event trigger: pop2(); pop2 data loader msgWin = window.open( 'pop1.htm', 'msg', '' ); msgWin.focus(); do tons of stuff; msgWin.close(); self.close(); pop1 message document.write('Please wait, loading...');

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
thanks Pascal! It doesn't quite work how I would like it to. EX: *** 08/12/200320:33:31EDWARI31 *** You code displays the above timestamp like this: 0 8/12/2003 20:33:31 Where as I would like it to be displayed like this: EDWARI31 08/12/2003 20:33:31 I dumped stTmp cfdump var=#stTmp#. This

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
Pascal, sorry again for being such a PEST. I really do apprecaite your help. There can be more than one occurance of the timestamp in the comment column. Ex: *** 05/12/200309:52:10USER1 *** closing if fixed - awaitng response from User2 *** 04/12/200318:55:18USER2 *** Have been there, however

Re: FW: How do you concatanate two table fields in CFQUERY with MS Access

2004-05-17 Thread Doug James
The first thing I see is you need a comma after 'tblJobSeekers.jsphone1'. Doug Angel Stewart wrote: Well Sandy...I tried that initially but it just didn't work. So I thought I was doing something totally wrong and that Access SQL uses something beside the +. But! Good news! I tried that code

Re: The never-ending windows

2004-05-17 Thread Don
Thanks, Ryan, to me, your suggestion is 100% logical, and I tried that before except I used plain HTML without js for the msgWin, however, still to no avail. What do you think of launching a frame page with two frames (top and bottom), the top one display the msg and the bottom one do data

New at Structures

2004-05-17 Thread Robert Orlini
I'm new at Structures...I wanted to addvariables to the items structure. The variables increment as they go thru a loop. The variable is called qty and as it goes thru the loop it would increment as qty1, qty2, etc thru a form. Here's the code. I'm having an obvious problem with the CFSET

RE: New at Structures

2004-05-17 Thread Dave Watts
I'm new at Structures...I wanted to add variables to the items structure. The variables increment as they go thru a loop. The variable is called qty and as it goes thru the loop it would increment as qty1, qty2, etc thru a form. Here's the code. I'm having an obvious problem with the

re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: From: Chunshen (Don) Li I've spent at least one hour on figuring out how to work out this oo thing.Here's the scoop, I have one Main window, which contain form and elements, upon certain action, triggers a popup window, which does two things of 1) query a database to pull

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Pascal Peters
cfscript start = 1; aLog = ArrayNew(1); while(true){ stTmp = REFind([*]{3}([^*]*[[:space:]])([0-9]{1,2}/[0-9]{1,2}/[0-9]{4})[[:space :]]+([0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2})([[:space:]][^*]*)[*]{3},str,star t,true); if(stTmp.pos[1]){ stLog = StructNew(); stLog = StructNew(); user1 =

whats this error?

2004-05-17 Thread Tony Weeg
05/17 10:30:17 error Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read1(BufferedInputStream.java:222) at

Re: cfmx not picking up spooled messages

2004-05-17 Thread Dieter Sommer
All of the sudden on our production server (running CFMX 6.1) has stopped picking up spooled mail messages. There are no errors in the logs related to cfmail and no new entries in the mail log. In addition, new messages are being added to the spool folder and they are never moved into the

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
Pascal, I may have missed the answer to this question, but is the content that we are looking at a query record set (multiple records), or is it from like a flat file, where the content is just appended? It seems like all of these solutions are overly complex.It seems like such a simple problem

Re: The never-ending windows

2004-05-17 Thread Don
Thanks, Scott, this is a step forward from my last update.Did quick srch on iframe got little thing but not satisfactory. OK, I need some clarification.For consistency sake, let's stick with the naming convention for now. Main Window contains a hidden iframe (pop2), Your trigger will load a page

FW: Mihai Bazon ( mishoo ) website gone

2004-05-17 Thread mayo
-Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 9:40 AM To: CF-TALK Subject: Mihai Bazon ( mishoo ) website gone Does anyone know what's happened to http://dynarch.com? I was going to purchase his htmlarea code and the site's been down since

Re: cfmx not picking up spooled messages

2004-05-17 Thread Maureen
Sometimes the spool will get a zero byte message stuck at the top of the queue, and nothing behind it will send.Restarting may help, but you may have to go in and manually delete the junk message. At 10:39 AM 5/17/04, you wrote: All of the sudden on our production server (running CFMX 6.1)

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Pascal Peters
It's like a flat file. (a huge comment field in the DB). Storing the comments in a related table would have made his life easier, but I don't think he can change the way the data is stored. -Original Message- From: Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4 [mailto:[EMAIL

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
My bad, I responded to Pascal earlier... Sorry about that. CFCODER: You have shown your data two ways, and this impacts any solution that is presented: Latest: *** 05/12/200309:52:10USER1 *** closing if fixed - awaitng response from User2 *** 04/12/200318:55:18USER2 *** Have been there,

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
You are a GENIUS man! That code rocks, I wouldn't know how to do this without your help. You are a star. Just one small problem, the comments column sometimes doesn't store the timestamp. I went through your code. The while condition in the above mentioned situation would be false so the code in

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: From: Chunshen (Don) Li Your trigger will load a page in that hidden iframe which runs the query and then populates the data in the main visible frame Now, does the Main Window have to constructed as some sort of frame? the definition of iframe does not seem to suggest that.

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Pascal Peters
If your format isn't always the same (*** user timestamp *** OR *** timestamp user ***) you can't use my code. You need to do it in a different way. I can help if you want, but if you keep changing the specs it's not very easy. Also, remind me what version you are on. I'm writing CF5 regexp for

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
Hi Robert, apologies for causing any confusion. I was asked to present the data stored in the database table column in a certain way. Historically data stored in this column is as under: timestamp comments EX: *** 05/12/2003 09:52:10 USER1 *** closing if fixed - awaitng response from User2 I

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
sorry Pascal, my bad. The format is not always the same, there may be few comments in the database without the timestamp. All comments added when I build the functionality will not have the *** user timestamp ***. I have CFMX installed on the server. Best regards, cfcoder If your format isn't

Deleted records being returned

2004-05-17 Thread John Croney
I am using Visual Fox Pro8 to create my dbf tables. I have created a connection on the server ODBC and referred to it in Coldfusion. The option for Deleted in the ODBC for VFP is not checked. When I retrieve the records, all records are return including the deleted ones. [Todays Threads]

RE: help with string manipulation (Find,Replace)

2004-05-17 Thread Pascal Peters
I'm off to home right now, but I'll send you the code in the morning (for me GMT+2) -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: maandag 17 mei 2004 17:15 To: CF-Talk Subject: Re: help with string manipulation (Find,Replace) sorry Pascal, my bad. The format

Re: help with string manipulation (Find,Replace)

2004-05-17 Thread cf coder
Thanks Pascal. Sorry again for any inconvenience caused. Best regards cfcoder I'm off to home right now, but I'll send you the code in the morning (for me GMT+2) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: The never-ending windows

2004-05-17 Thread Don
Your trigger will load a page in that hidden iframe which runs the query and then populates the data in the main visible frame Now, does the Main Window have to constructed as some sort of frame? the definition of iframe does not seem to suggest that. The way to construct the iframe piece

Re: CFmail and Spam

2004-05-17 Thread Thomas Chiverton
On Monday 17 May 2004 09:47 am, Adam Reynolds wrote: Is there anything that can be done to make it look like the mail came from say Outlook? You can change the ID of the sending mail program using cfmailparam. Check the archives. -- Tom Chiverton Advanced ColdFusion Programmer Tel:

Re: cfmx admin question

2004-05-17 Thread Thomas Chiverton
On Monday 17 May 2004 11:53 am, Whittingham, P wrote: yes (cfstart) , but i think it produce some errors...how does one interprete them. Look in the logs sub. dir. of the CF install. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger

Re: Please Help! XML Webservice Question

2004-05-17 Thread Thomas Chiverton
On Friday 14 May 2004 21:57 pm, Shawn Contreras wrote: HOW do I write code that says: If there is no data, skip to the next field and so on cfif isDefined('nameOfVar') -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited

Re: grabbing only a part of a string

2004-05-17 Thread Thomas Chiverton
On Thursday 13 May 2004 20:46 pm, Steve Nelson wrote: That looks like a short list to me. You could just use #listlast(custom|98,|)# If it's really more complex than that, check out the functions: findnocase() and mid() If it's really more complex than that, check our reFind() and friends. --

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: From: Chunshen (Don) Li msg win does not show up, data not loaded, what am i missing?many thanks. It could be any number of things. (It all looks right, but I may be missing something) Do you have a link where this is in action? If not, here are some things to try: 1) If

Re: The never-ending windows

2004-05-17 Thread Don
Sorry, I missed one thing from your last post, here's the revised version, please see below.Thanks. Thanks, Scott, not there yet, maybe I'm missing something. Here's more details: MAIN WINDOW js function xyz(obj,el,p1,p2,p3) { ... // load the wait msg

Maxing out running requests then server hanging -- Help

2004-05-17 Thread Jeremy Bruck
Everyone, We put out a new release of our web-application and have been having server problems problems ever since.All will run fine and then all of a sudden running requests will start creeping up and then CFMX hangs -- about every 4/6ish hours.Before the new release the most problems we would

Advanced session mgt?

2004-05-17 Thread Katz, Dov B (IT)
Can someone please advise if there is anything I should know about this process? It seems that whenever I enable a Who's online or homegrown advanced session information features on my site, the server eventually degrades etc...Other than a CFLOCK which I know I need to add in (and will) is

Re: Maxing out running requests then server hanging -- Help

2004-05-17 Thread Bryan Stevenson
Well the only thing I've seen on our boxes that is similar is if a parsing error occurs (likea cfset missing an opening or closing bracket).What happens when that page is run, JRun starts eating RAM until the server grinds to a halt. This happens fairly quickly though and I would suspect that

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: From: Chunshen (Don) Li // retrieve data and populate MAIN WINDOW document.frames['loadFrame'].src = ''+obj+'col='+jcol+'pop1='+p1+'pop2='+p2+'pop3='+p3; /* this part seems problem, not loading tried variant document.frames['loadFrame'].src = "">

RE: Maxing out running requests then server hanging -- Help

2004-05-17 Thread Dave Carabetta
We put out a new release of our web-application and have been having server problems problems ever since.All will run fine and then all of a sudden running requests will start creeping up and then CFMX hangs -- about every 4/6ish hours.Before the new release the most problems we would ever have

Losing Sessions Variable

2004-05-17 Thread ANNAMANAIDU, VENKATESH (SBCSI)
Experts, I am reposting this question. Please bear with me. Application.cfm isfollows .. .. cfparam name=Session.LogState default=OUT cfif IsDefined(url.uCmpyID) cfinclude template=set_session.cfm /cfif .. .. In set_session.cfm,after our authentication session variable is set

RE: Losing Sessions Variable

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
Make sure you don't have more than one CFAPPLICATION tag in your code... and that the name is the always the same: cfparam name=request.app.internal_name default = TEST_DEV cfparam name=request.app.timespan default = #createTimeSpan(0,4,0,0)# cfapplication name=#request.app.internal_name#_10

Re: The never-ending windows

2004-05-17 Thread Don
Scott, Please see my comments below.Thanks. Don Original Message: I'd say try the JS alerts I suggested in my last reply and make sure that the iframe's src is being set. Right on.err msg undefined. There's also a possibility that the .cfm file is throwing an error (one problem with

Re: The never-ending windows

2004-05-17 Thread Don
Original Message: Do you have a link where this is in action? Scott, I've just sent an email to [EMAIL PROTECTED] with a URL. Thanks. Don [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Maxing out running requests then server hanging -- Help

2004-05-17 Thread Dave Watts
We had similar problems that were resolved by reverting the 6.1 database drivers to the 6.0+ version available at the related TechNote (http://www.macromedia.com/support/coldfusion/ts/documents/cfm x61_sqlserver_cpu.htm). Unfortunately, MM has removed the 6.0+ drivers in that TechNote

SOT: JavaScript RegEx bug in NS6?

2004-05-17 Thread Lofback, Chris
I think I've found a bug in the _javascript_ RegEx implementation in Netscape 6 (for Windows, anyway).Below is a RegEx pattern for a non-IP email address.The first alert shows zero, which is a match beginning with the first character, but the second alert shows '-1', indicating no match.The only

CF_Web_services preparation for consumption

2004-05-17 Thread coldfusion . developer
All, We're writing CFCs tht will become Web services.These Web services are going to be data exchanges from a few of our database tables.We want the Web Services to be used to access our database information and import the data to their own database.To sign up for access to these Web Services,

Re: JavaScript RegEx bug in NS6?

2004-05-17 Thread Massimo, Tiziana e Federica
It works fine on Mozilla 1.6 NN 6 was based on a beta version of Mozilla and was very buggy. You should at least try NN 7 Massimo Foti http://www.massimocorner.com Co-Author of Dreamweaver MX 2004 Magic: http://www.dwmagic.com/ [Todays Threads] [This Message]

Re: ColdFusion installation issue

2004-05-17 Thread Doug White
Re-Post I set up a new installation of Windows 2003 Enterprise, [ IIS 6.0 ]and then installed CFMX 6.1.I am not using Active Directory. After going through the install chores, the installer notifies you that the installation was successful and that CFMX administrator will then open in the

RE: CFmail and Spam

2004-05-17 Thread Mosh Teitelbaum
Actually, don't use CFMAILPARAM for this.Using CFMAILPARAM this way causes there to be 2 X-Mailer headers.Instead, use the MAILERID attribute of the CFMAIL tag to set the X-Mailer header like the following: CFMAIL TO=.. MAILERID=Microsoft Outlook, Build 10.0.3416 ... /CFMAIL -- Mosh

RE: ColdFusion installation issue

2004-05-17 Thread Adkins, Randy
for some reason the CF Application Service was not restarted on mine, I had to restart it and all was fine. -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 2:20 PM To: CF-Talk Subject: Re: ColdFusion installation issue Re-Post I set up a new

Re: Deleted records being returned

2004-05-17 Thread John Croney
Can someone please help??? I am using Visual Fox Pro8 to create my dbf tables. I have created a connection on the server ODBC and referred to it in Coldfusion. The option for Deleted in the ODBC for VFP is not checked. When I retrieve the records, all records are return including the

RE: Deleted records being returned

2004-05-17 Thread Greg Luce
John, It's been a long time since I've seen a foxpro .dbf, but I'm sure I can help if you post some code. When you say refer to it with ColdFusion, do you mean you created a datasource pointing to it? Did you query the table in a CF template? Post the code in question. Greg -Original

RE: JavaScript RegEx bug in NS6?

2004-05-17 Thread Lofback, Chris
Thanks for the feedback on Mozilla--good to know.I'd heard that NN6 was buggy but my goal is to support users who have NN6 if at all possible rather than ask them to upgrade. Chris -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004

CFChart and the Y-Axis

2004-05-17 Thread DURETTE, STEVEN J (AIT)
Hi all, Got one for you all.(and yes I did search the list history before asking!) :) I have a cfchart that has a minimum value of 0 (zero) and a maximum of 100. No matter whether I put in only integers or decimals (the data that will be in the final chart) the Y-Axis always shows up in

How to validate form variables with this method including Encoding: multi-part/form-data

2004-05-17 Thread Rick Faircloth
Hi, all... I know the subject is unclear, but here's the situation. I'm using CF 4.5... I validate formfields by submitting a form back to the page containing the form and using CFTRY / CFCATCH, then, if everything passes validation, setting the form variables to session variables and then

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: From: Chunshen (Don) Li I'd say try the JS alerts I suggested in my last reply and make sure that the iframe's src is being set. Right on.err msg undefined. I always make this mistake. Instead of doing the .src of the iframe, try the location.href of the iframe. (I

CFX_IMAP with TLS support beta programme. Anyone interested?

2004-05-17 Thread Paul Vernon
Hi all, I've just completed my alpha tests on a new version of CFX_IMAP4 that should now support TLS based connections as well as the standard authentication methods of CRAM-MD5, LOGIN and PLAIN. My access to IMAP servers supporting TLS is limited and so I am looking for people that would be

Re: ColdFusion installation issue

2004-05-17 Thread Doug White
Been there done that - all services running - install log files show no errors and still no joy but thanks for the reply. Doug for some reason the CF Application Service was not restarted on mine, I had to restart it and all was fine. -Original Message- To: CF-Talk Subject: Re:

Re: Deleted records being returned

2004-05-17 Thread Doug White
In VFP look at the commands Set deleted() on(to filter deleted records) PACK(this command will remove the deleted records permanently) These commands only work within the VFP environment.If you do it via SQL, then you must copy the records to another table (temp will do) with a Where not

RE: ColdFusion installation issue

2004-05-17 Thread Adkins, Randy
Have you tried re-starting the World-wide web services from the IIS module? Not from the services, but the IIS module? -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:17 PM To: CF-Talk Subject: Re: ColdFusion installation issue Been there done

2 OnRequestEnd files

2004-05-17 Thread Doug James
Hello all, I have an application residing in a subdirectory of my web root. Inside the application subdirectory I have my Application.cfm and OnRequestEnd.cfm files; my web root contains both files as well. As far as I can tell the webroot/Application.cfm is not processed (as I expect). But

RE: ColdFusion installation issue

2004-05-17 Thread Dave Watts
This is where I ran into a problemWhen IE opens up and tries to open the CFMX administrator page, it reports SERVICE NOT AVAILABLE Is this all the page says? Did you install CFMX as a standalone server, or on top of JRun? What happens if you just try to run your own CFM page? Dave Watts,

Array question

2004-05-17 Thread Robert Orlini
Why can't I get a display of the fields I'm entering with this array? When I cfoutput the #arraylen(session.item)#its always 0 (zero). CFIF Not IsDefined(Session.item) CFSET session.item = arraynew(2) /CFIF CFIF isDefined(form.more.x) CFSET itemcount = arraylen(session.item)

Weird CFHTTP Error....

2004-05-17 Thread Jeff Waris
Talk about a WEIRD error. I need some help getting to the bottom of this. I have a custom tag being called to from a CFHTTP call with cfhttpparam form variables.The server I am working on is CFMX 6.0. One way I call the tag it throws an error, but not out to the screen. Looking at my logs

Re: ColdFusion installation issue

2004-05-17 Thread Doug White
Yes I have - several times in fact - plus complete re-boots, still no joy - Have you tried re-starting the World-wide web services from the IIS module? Not from the services, but the IIS module? Been there done that - all services running - install log files show no errors and still no joy

Re: ColdFusion installation issue

2004-05-17 Thread Doug White
Hi Dave; That is all the page says.Since Admin will not run, the scripts required to complete the install have also not yet run.Consequently CFM pages will not run either The install log shows no errors - all stopped services are restarted as they should be. The install was NOT a standalone but

Re: Array question

2004-05-17 Thread Bryan F. Hogan
Because arrayLen(session.item) is 0 and your looping from 1-arrayLen(session.item). If your just trying to add an item to the array from a form post just use the following. cfif not isDefined('session.item') cfset session.item=arrayNew(2) /cfif cfset arrayLength=arrayLen(session.item) cfset

RE: How to validate form variables with this method including Encoding: multi-part/form-data

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
Well, one thing to remember is that with CFFILE, you don't get physical access to the upload, other than the fact that you know info about it (filename, size, etc). So, you could pass that info in a field on to the next page, for example. The fact the cffile handles the upload for you is all you

RE: 2 OnRequestEnd files

2004-05-17 Thread Barney Boisvert
Do you have a cfinclude template=../OnRequestEnd.cfm / in your approot's OnRequestEnd.cfm to chain them together? OnRequestEnd.cfm should only be processed for the directory that contains Application.cfm.There isn't a directory tree parse for OnRequestEnd.cfm, it uses the one that was performed

RE: How to validate form variables with this method including Encoding: multi-part/form-data

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
I'm not entirely sure why you feel you can't validate that encoding type; the only difference is that it allows UPLOADING.So you can't validate that one field; you can still do the same thing (validate) with all of your other fields. One thing to remember is that with CFFILE, you don't get

RE: Array question

2004-05-17 Thread Robert Orlini
Thank you. One more ?: How do I clear the array to start over? -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:50 PM To: CF-Talk Subject: Re: Array question Because arrayLen(session.item) is 0 and your looping from 1-arrayLen(session.item).

Using recursion with query results

2004-05-17 Thread nancy . tracy
I'm trying to build a recursive routine that will go through my query results and display them in a tree structure.There are four fields in each row of my results.Is it possible for me to pass an entire row of my query results to a custom tag?If so, when I come back out of my recursive routine,

RE: Weird CFHTTP Error....

2004-05-17 Thread Jeff Waris
This is in the exception log if it helps anyone answer the question. at coldfusion.tagext.sql.QueryTag.doStartTag(Unknown Source) at cfIRBGetHistory2ecfm1907956765._factor0(I:\CFusionMX\CustomTags\Interface\IR BGetHistory.cfm:22) at

RE: Using recursion with query results

2004-05-17 Thread Barney Boisvert
If you're tree-ing the recordset, I assume that you have a itemID/parentID field coupling?Here's the basic algorithm that I use to perform such a convertion: cffunction name=makeTree cfargument name=rs / cfargument name=parentID default= / cfargument name=level default=0 / cfloop query=rs cfif

RE: Weird CFHTTP Error....

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
I can't say for sure, but it looks like your Error handler is throwing an error. -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:58 P To: CF-Talk Subject: RE: Weird CFHTTP Error This is in the exception log if it helps anyone answer the

Re: Array question

2004-05-17 Thread Bryan F. Hogan
Use arrayClear(session.item) or just reset the array cfset session.item=arrayNew(2) Robert Orlini wrote: Thank you. One more ?: How do I clear the array to start over? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Using recursion with query results

2004-05-17 Thread Ian Skinner
I think your friend may be the array notion for a ColdFusion record set.Try playing with these and see if this doesn't lead somewhere. The following forms are perfectly legal ways to reference record sets. query.columnName[row] query[columnName][row] Also if you are using a cfoutput

RE: Weird CFHTTP Error....

2004-05-17 Thread Maureen
At 03:58 PM 5/17/04, Jeff wrote: This is in the exception log if it helps anyone answer the question. Looks like the query being called by the CFHTTP tagisn't finding a valid data source, or the data source isn't finding the database, or the query in question isn't a valid SQL query. [Todays

Re: 2 OnRequestEnd files

2004-05-17 Thread Doug James
Thank you, Barney! I knew it was something so plain and simple. Right before my eyes and I did not see it, my wife would roll her eyes if she knew. Thanks again. Doug Barney Boisvert wrote: Do you have a cfinclude template=../OnRequestEnd.cfm / in your approot's OnRequestEnd.cfm to chain

RE: Weird CFHTTP Error....

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
Sorry, I meant to post more, and hit send accidentally! Looks like: 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Error,jrpp-237,05/17/04,14:28:08,,Element SQL is undefined in ERROR. The specific sequence of files included or processed is:

RE: 2 OnRequestEnd files

2004-05-17 Thread Douglas.Knudsen
check out http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/appfra11.htm Doug -Original Message- From: Doug James [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:33 PM To: CF-Talk Subject: 2 OnRequestEnd files Hello all, I have an application residing in a subdirectory of

RE: Weird CFHTTP Error....

2004-05-17 Thread Bartlett, Robert E. USNUNK NAVAIR 1490, 54-L4
Sorry, I meant to post more, and hit send accidentally! Looks like: 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Error,jrpp-237,05/17/04,14:28:08,,Element SQL is undefined in ERROR. The specific sequence of files included or processed is:

Re: How to validate form variables with this method including Encoding: multi-part/form-data

2004-05-17 Thread Matt Robertson
Rick, Why are you doing that cflocation to finish processing?Why not do your form processing right then and there on the current template? Not that everyone has to do it this way, but I typically build a form where it submits to itself and, 1)validates 2)processes and 3)proceeds (i.e. [b]thanks

RE: Maxing out running requests then server hanging -- Help

2004-05-17 Thread Dave Carabetta
We had similar problems that were resolved by reverting the 6.1 database drivers to the 6.0+ version available at the related TechNote (http://www.macromedia.com/support/coldfusion/ts/documents/cfm x61_sqlserver_cpu.htm). Unfortunately, MM has removed the 6.0+ drivers in that

Regular Expression Help

2004-05-17 Thread Ian
I'm trying to parse a string and pluck a bit of text, but my regex isn't working :( Here's a sample string: (msg:My Message Here; content:My Content Here;) I want to return My Message Here. And here's my regex: refindnocase(msg:[[:print:]]+;, mystring) I'm using print as mystring may contain

RE: ColdFusion installation issue

2004-05-17 Thread Dave Watts
That is all the page says.Since Admin will not run, the scripts required to complete the install have also not yet run.Consequently CFM pages will not run either The install log shows no errors - all stopped services are restarted as they should be. The install was NOT a standalone

RE: How to validate form variables with this method including Encoding: multi-part/form-data

2004-05-17 Thread Rick Faircloth
Hi, Robert, and thanks for the reply... It's not so much a matter of validating the encoding type, but including the multi-part/form-data as part of the Form specifications when the form data is passed for processing... I'll give your ideas some thought... Thanks, Rick -Original

RE: Regular Expression Help

2004-05-17 Thread Marlon Moyer
This should work. cfset test = (msg:My Message Here; content:My Content Here;) cfset temp = refindnocase(msg:([^;]*),test,1,yes) cfloop from=1 to=#arraylen(temp.pos)# index=i cfoutput#mid(test,temp.pos[i],temp.len[i])#br/cfoutput /cfloop -- Marlon Moyer, Sr. Internet Developer American

Importing Outlook exports

2004-05-17 Thread stas
I am writing a simple contact management app and one specific request is to be able to map files from Outlook export( csv or tab) to our internal data fields. Conceptually, this is very simple, but I running into some nasty Outlook formatting issues. Has anyone successfully done something like

RE: How to validate form variables with this method including Encoding: multi-part/form-data

2004-05-17 Thread Rick Faircloth
Hi, Matt, and thanks for the reply... This was a technique that I read about on this list that someone was using.Since I'm not a _javascript_er it allowed validation without CFFORM or CFINPUT's and not having the user leave the form entry page. The form does submit back to the same page, then

Re: ColdFusion installation issue

2004-05-17 Thread Doug White
I know how to do the WSCONFIG but how do I enable the Jrun server? That is all the page says.Since Admin will not run, the scripts required to complete the install have also not yet run.Consequently CFM pages will not run either The install log shows no errors - all stopped services are

DataDirect 3.3 bug with Oracle? (was RE: Maxing out running requests...)

2004-05-17 Thread Dave Carabetta
We had similar problems that were resolved by reverting the 6.1 database drivers to the 6.0+ version available at the related TechNote (http://www.macromedia.com/support/coldfusion/ts/documents/cfm x61_sqlserver_cpu.htm). Unfortunately, MM has removed the 6.0+ drivers in that

RE: ColdFusion installation issue

2004-05-17 Thread Dave Watts
I know how to do the WSCONFIG but how do I enable the Jrun server? http://www.macromedia.com/support/coldfusion/adv_development/config_builtin_ webserver/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message]

  1   2   >