RE: CFMODULE vs. CFINCLUDE

2004-11-30 Thread Gaulin, Mark
I totally agree with Raymond but have one comment to make: I'll go out on a limb here and say if your site will not work when using cf_foo/cf_foo versus an include, then you have other problems. There are special issues when you use the closing /cf_foo tag because CF will call your tag twice,

Re: Best Practice: Import Delimited List to Database

2004-11-30 Thread Ryan Emerle
cfx_text2query and cfx_excel2query are two good _free_ tags for data import :) http://www.emerle.net/programming/ On Tue, 30 Nov 2004 13:12:57 -0600, Aaron Rouse [EMAIL PROTECTED] wrote: What was the name of that UDF? I would not mind looking into it since I have the need to import some

Re: Anyone see this error before?

2004-11-30 Thread Douglas Knudsen
http://www.google.com/search?hl=enlr=q=%22unable+to+create+new+native+thread%22btnG=Search 1200+ hits. Adding CF, cold fusion, etc to the search params can narrow it for you. http://www.macromedia.com/cfusion/search/index.cfm?loc=en_usterm=%22unable%20to%20create%20new%20native%20thread%22 2

Re: unix user cfexecute

2004-11-30 Thread Rob
http://www.geeksalad.org/odds/fork/all.shtml On Tue, 30 Nov 2004 11:56:56 -0500, Dave Carabetta [EMAIL PROTECTED] wrote: On Tue, 30 Nov 2004 11:13:04 -0400, gijs meirmans [EMAIL PROTECTED] wrote: In the documentation of cfexecute the effective user is mentioned. I like to know how to find

Re: Best Practice: Import Delimited List to Database

2004-11-30 Thread Aaron Rouse
Only problem with a CFX tag is it would mean involving the data center admins here and they do not like having to do anything out of the norm. I am guessing Raymond's UDF tag would work on a CFMX box, which this particular site should be on whenever blackstone is released. Not even sure if I

Re: CFMODULE vs. CFINCLUDE

2004-11-30 Thread Raymond Camden
I think maybe you misread me. I wasn't proposing that people use cf_foo/cf_foo exactly as written. What I meant was, cf_layout stuff /cf_layout Using cf_foo/cf_foo normally would be meaningless. You can, as you say, write code to ignore the closing call. You don't have to actually check

Re: Best Practice: Import Delimited List to Database

2004-11-30 Thread Les Mizzell
I'd want a little more detail on what database, how long the list is and how often this happens before deciding. Database: SQL Server How often: As needed. Could be once an hour or once a week, who knows. Client certainly doesn't! I've built a pretty extensive administration system for them

Re: CFEclipse - Database Viewer (MS Access)

2004-11-30 Thread Rob
can you run queries against it? Meaning, it sounds like your browsing with a tree or something, does the actual querying work? On Tue, 30 Nov 2004 13:07:27 -0500, Dwayne Cole [EMAIL PROTECTED] wrote: This almost worked. It seems to referring to the named datasource, which in my case is a ms

Re: Calendar Apps?

2004-11-30 Thread Jordan Michaels
Okay. =) http://calendar.viviotech.net/demo/basic_calendar.tgz Requires a postgresql database. Built using Blue Dragon on SuSE Linux but should also work on CFMX on windows (untested) if that's the only platform available to you. Basic installation instructions: - create a datasource that

RE: Best Practice: Import Delimited List to Database

2004-11-30 Thread Burns, John D
10-1000 isn't very many at all. I was working with lists in the range of 10,000-100,000+ when I was doing it. It shouldn't be hard to validate if you're not accepting that much validation. See my earlier message for a way to do it. Let me know if you have further questions. John

Re: Anyone see this error before?

2004-11-30 Thread Phill B
I searched google with all the word combinations I could think of. It doesn't help me if it doesn't find information that is relevant to my problem. Macromedia tech docs can only help if they answer my question. Same with their forums. The error I am getting is not the out of memory flavor which

Re: Anyone see this error before?

2004-11-30 Thread Douglas Knudsen
so, maybe a little more info is warranted? I got this out of the blue on CFMX 6.1 unable to create new native thread where is this error 'gotten'? Can you post the data around this error from your logs? What log is it in? Are you using CFMX Standard, Standalone, or the J2EE Version? Can you

Re: MySql Database Question

2004-11-30 Thread Jochem van Dieten
Nick Baker wrote: 1. Size. Is a practical size one should limit the DB to. Depends on hardware. 2. Calculating or projecting future size. There are 9 tables in my DB. Seven tables contain static info. Using MyPHPAdmin, I have been monitoring the two dynamic tables to get some idea

Re: MySql Database Question

2004-11-30 Thread Barney Boisvert
Respones inline: On Tue, 30 Nov 2004 15:04:38 -0600, Nick Baker [EMAIL PROTECTED] wrote: I am new to MySql and having difficulty understanding several issues. 1. Size. Is a practical size one should limit the DB to. It is my understanding that there is no technical limit to the number of

RE: PostgreSQL database size

2004-11-30 Thread Office
Thanks Hugo a very useful link - I'll read every page. Has anyone used PostgreSQL as the database backend on ArcIMS. I see PostgreSQL is unsupported with ArcSDE with is a real pity IMO. It would be nice to use CFMX + ArcSDE + ArcIMS + PostgreSQL Mike -- Original Message

RE: MX Methodologies (Mach2?? Fusebox??)

2004-11-30 Thread Dave Watts
Which language do you think is ideal for OO web programming? I would go with Java or Python, I think. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Special thanks to

CFC required arguments

2004-11-30 Thread Paul Wilson
I'm using createObject to invoke a CFC and one of the methods in the CFC takes a number of arguments, all numeric but not all required. In the CFC I have some conditional statements that do various things based on the arguments passed in. cfif arguments.arg neq do this/cfif Firstly is it a good

Re: CFC required arguments

2004-11-30 Thread Scott Brady
On Wed, 1 Dec 2004 10:20:27 +1100, Paul Wilson wrote: cfset result = obj.testmethod(0,1, ,10) The third argument is not required but this will throw an error. This situation doesn't arise when you use cfinvoke as you can simply miss out the cfinvokeargument tag. Generally in the CFC, I

Re: CFC required arguments

2004-11-30 Thread Barney Boisvert
If you use positional parameters, only parameters at the end can be left off. However, you can use named parameters without using CFINVOKE: cfset o.method(name=url.name, age=url.age, ...) / I generally prefer to not specify a default for my option arguments, and then use structKeyExists()

using cffile to display zip files

2004-11-30 Thread Ian Ian
I am using the following code to display/download files. During the upload I use file.ContentType / file.ContentSubType to set the mime type. This method allows me to upload, view and download html, gif, jpg, doc, pdf and exe files without any problems. However, I am having some troubles

RE: CFC required arguments

2004-11-30 Thread Taco Fleur
By named parameters. cfset result = obj.testmethod(argument1 = 0, argument2 = 1, argument3 = 10) / Offcourse the argument name has to match the name in the method. cfif arguments.arg neq do this/cfif Firstly is it a good idea to do this in a CFC? Not sure what to answer here, I know in OOP

CFMAIL and Crystal Tech webhosting?

2004-11-30 Thread Reed Powell
Hi everyone - this one has me stumped. I'm hosting a CF site on Crystal Tech, and added a simple page that allowed a visitor to send a hey look at this page email to a friend. I already had a contact us page that sent me an email via CFMAIL which worked fine. The new page only works when the

Re: CFC required arguments

2004-11-30 Thread Spike
Another alternative is to use named arguments. cfset result = obj.testmethod(foo=0,bounce=1,boing=10) assuming your function is defined as: cffunction ... cfargument name=foo... cfargument name=bar... cfargument name=boing... cfargument name=bounce... Whether it's good practice to call

Event Viewer CFMX error

2004-11-30 Thread Brook Davies
I got this error in my Event Viewer Today. I'm running Win2k, IIS5.0 and the latest CFMX with updater. CFMX stopped processing requests after this error occured. This error may have occured at the time I was testing the linkpoint COM object, which seems to crash the server every time I test it.

RE: CFC required arguments

2004-11-30 Thread Taco Fleur
Another option is to use the argumentCollection, i.e. obj.method( argumentCollection = structureContainingAllRequiredArguments ) Example: variables.argumentCollection = structNew(); variables.argumentCollection.argument1 = form.argument1; variables.argumentCollection.argument2 = url.argument2;

Re: Best Practice: Import Delimited List to Database

2004-11-30 Thread Matt Robertson
Ryan's cfx_text2query (he posted the link a few messages back) turned a 10k-line-per operation run once every 15 minutes from executing in several minutes to several seconds. I forget the exact factor but it was dramatic. The original code was some cffile+cfloop+insert stuff. -- --Matt

Re: CFMAIL and Crystal Tech webhosting?

2004-11-30 Thread Bob Haroche
Can you post the code in question? I've coded what you're after and it's worked on CT servers (CF 5). - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| Special thanks to the CF

Cold Fusion Forum Applications

2004-11-30 Thread Dennis Powers
I know that this subject has been beaten to death in the past. However never one to shy away from further flogging a departed equine I ask: What CF based (Versions 4.x 5.x) Web forum software applications do you know about or can recommend. I am making a list this time and will post it in its

Re: CFC required arguments

2004-11-30 Thread Sean Corfield
On Wed, 1 Dec 2004 10:20:27 +1100, Paul Wilson [EMAIL PROTECTED] wrote: cfif arguments.arg neq do this/cfif If they are numeric arguments, you shouldn't have an empty string as the default. As other have hinted, specify required=false but do not specify a default= value. Then you can test

Help with Dynamic Directory

2004-11-30 Thread ColdFusion Developer
I am working on a script that will dynamically determine where a directory is located within an application. Lets say the structure is as follows: D:\www\myApp\ D:\www\myApp\admin D:\www\myApp\admin\profile D:\www\myApp\images D:\www\myApp\includes D:\www\myApp\users D:\www\myApp\users\profile

Re: CFMAIL and Crystal Tech webhosting?

2004-11-30 Thread Will Tomlinson
I have a dozen or more cfmails set up on CT and they all work fine. The key is mainly setting your server name attribute correctly. If it doesn't match your mail server, you're screwed. Here's an example of one of mine. cfmail SUBJECT =#FORM.name# would like to tell you about Kennedy

Re: Help with Dynamic Directory

2004-11-30 Thread Barney Boisvert
You can use the cgi.script_name variable to get the path from the web root to the base template for the request (say /admin/profile). That is enough to compute the relative path to the includes directory. Just count the number of items in the path and use that many ../ in your relative path. in

Re: CFMX 6.1 - java.lang.NullPointerException

2004-11-30 Thread Umer Farooq
Hi Martin, Thanks for the reply.. this error is just driving me nuts.. will disable gloabl updates.. and reports results.. back.. Regards, Martin Parry wrote: Based on the stack trace I would certainly start with disabling global updates in the client variables settings.

Re: CFMX 6.1 - java.lang.NullPointerException

2004-11-30 Thread Umer Farooq
Hi Matt, Thanks for the reply. Can't find any thing wrong with client scope.. not calling any custom tags.. on that server.. it worked before the MX6.1 updater.. now this error comes.. and will eventually eat up all the mem and I get OutOFMem errors.. and gota restart MX. --

Senior ColdFusion Developer - Eatontown, NJ

2004-11-30 Thread Charlotte Dodge
Viatech Inc. is currently recruiting for a Senior ColdFusion Developer to join our software development team in Eatontown, NJ. This is a full-time permanent position with competitive salary and comprehensive benefits package. You will be part of a team developing ColdFusion applications using

<    1   2