Re: File Upload - Changing MIME Types

2010-09-29 Thread Dave Watts

 This might be slightly off topic, but I am hoping that someone can steer me
 in the right direction.

 I have an upload form that should accept CSV files and nothing else.  So I
 set the following MIME types as permitted:

 text/csv,text/comma-separated-values,application/csv,application/x-csv

 I have tested files on multiple machines using multiple OS and browser
 combinations.  The exact same files work perfectly in some instances, yet
 fail in others.  Even more strange is the fact that the failures have shown
 up as different MIME types.  For example, I have seen text/plain and
 application/vnd.ms-excel and application/octet-stream.  This whole thing
 leads me to two questions:

 1) How can the exact same file be sent as a different MIME type depending
 upon the OS/browser combination?

MIME types aren't set in stone, and browsers can send whatever they
want. Because of this, filtering by MIME type is not an adequate
security measure by itself - I could upload any sort of file and say
it's, say, application/pdf (which frankly is a fairly insecure file
type anyway, but let's not go into that).

 2) Is it truly the security risk that it seems to be if I were to allow
 application/octet-stream, which as I understand is essentially a binary
 format?  (The upload form and processor is behind a login, and the directory
 is outside of the web root, so that much is safe.)

No, it's not. The security risk is to allow uploads of untrusted files
of any type to any web-accessible directory, or even any directory
that allows execution of files (although the latter is a much smaller
risk generally). The MIME type application/octet-stream isn't the
only binary format, either - it's just the one that gets applied when
you have a binary file for which you don't know a better MIME type.
Since executable binaries don't have a MIME type of their own, that's
what gets applied.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or o

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337601
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


English as well as French Spell Checkings for CF8 FCKEditor

2010-09-29 Thread SANJEEV SINGLA

We are using the inbuilt FCKEditor (cftextarea richtext=true) and our 
requirement is that we need to have boyh English as well as French spell 
checking work.

We have the Aspell installed in appropriate directory and both english as well 
as french dictionaries are also installed.

We need both of the spell checkings to work, if not simultaneously atleast I 
need some way so that I can pass some parameter based on the fact that English 
or French user is logged in into the application. We distinguish in our 
application the users based on Language os getting that parameter would be easy 
for me.

Other Details of our application:
ColdFusion 8.01 installlation
Supported browsers : IE Only
Spell Checking Software : Aspell (English and French dictionaries installed) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337602
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Looking for the right SMTP server

2010-09-29 Thread Claude Schnéegans

  Hi,

I run several sites specialized for associations.
They send thousand of mails to their members.
Presently I'm using Mail-enable, but I'm looking for a better tool to help me 
manage all these mails.

What I'd like is to be able to assign an Id to each mail and be able to trace 
it through all steps involved in the process.
The way ME stores activities in flat log files makes it a PITA to do the job.

What I'd like is to be able to:
- have logs registered in a database so I can search for them and get reports 
easily from CF.
- have simple logs like message delivered at such time or delivery failed 
for such reason.
- logs include fields for Subject, From: and To: addresses

Does any one know such a gem?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337603
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


English as well as French Spell Checkings for CF8 FCKEditor

2010-09-29 Thread SANJEEV SINGLA

We are using the inbuilt FCKEditor (cftextarea richtext=true) and our 
requirement is that we need to have boyh English as well as French spell 
checking work.

We have the Aspell installed in appropriate directory and both english as well 
as french dictionaries are also installed.

We need both of the spell checkings to work, if not simultaneously atleast I 
need some way so that I can pass some parameter based on the fact that English 
or French user is logged in into the application. We distinguish in our 
application the users based on Language os getting that parameter would be easy 
for me.

Other Details of our application:
ColdFusion 8.01 installlation
Supported browsers : IE Only
Spell Checking Software : Aspell (English and French dictionaries installed) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337604
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Website validation... need suggestions

2010-09-29 Thread Ketan Jetty

Hi Steven,

If you want to Stress Test your code use JMeter (It is free) or Charles Proxy 
(similar to Fiddler, but allows Stess Testing).

For your google bot tool use the following link to for Web Crawler code in 
coldFusion http://ketanjetty.com/coldfusion/useful-code/web-crawler/

Thanks,

Ketan Jetty
http://KetanJetty.com




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337605
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Website validation... need suggestions

2010-09-29 Thread Ketan Jetty

Hi Steven,

If you want to Stress Test your code use JMeter (It is free) or Charles Proxy 
(similar to Fiddler, but allows Stess Testing).

For your google bot tool use the following link to for Web Crawler code in 
coldFusion http://ketanjetty.com/coldfusion/useful-code/web-crawler/

Thanks,

Ketan Jetty
http://KetanJetty.com


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337606
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: File Upload - Changing MIME Types

2010-09-29 Thread Jacob Munson

From what I understand, the browser can send whatever mime type it wants.
And yes, there are security concerns here.  In my experience, dealing with
mime types is a pain in the  because browsers don't always seem to
follow a standard when processing files.  I think I found a java library
that did a good job at identifying files (after the upload).  I know that
you can't trust the mime type that is sent from the browser, because it
varies depending on the user agent, as you found.

On Mon, Sep 27, 2010 at 11:56 PM, Matt Quackenbush quackfu...@gmail.comwrote:


 This might be slightly off topic, but I am hoping that someone can steer me
 in the right direction.

 I have an upload form that should accept CSV files and nothing else.  So I
 set the following MIME types as permitted:

 text/csv,text/comma-separated-values,application/csv,application/x-csv

 I have tested files on multiple machines using multiple OS and browser
 combinations.  The exact same files work perfectly in some instances, yet
 fail in others.  Even more strange is the fact that the failures have shown
 up as different MIME types.  For example, I have seen text/plain and
 application/vnd.ms-excel and application/octet-stream.  This whole
 thing
 leads me to two questions:

 1) How can the exact same file be sent as a different MIME type depending
 upon the OS/browser combination?

 2) Is it truly the security risk that it seems to be if I were to allow
 application/octet-stream, which as I understand is essentially a binary
 format?  (The upload form and processor is behind a login, and the
 directory
 is outside of the web root, so that much is safe.)

 Thanks in advance for your help.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337607
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Website validation... need suggestions

2010-09-29 Thread Ketan Jetty

Hi Steven,

You can use JMeter (free toll) to stress test your application. Also you can 
use Charles Proxy. Charles is similar to Fiddler but has additional 
functionality like throttle and stress test.

For local google bot like application, you can use my web crawler code @ 
http://ketanjetty.com/coldfusion/useful-code/web-crawler/

Thanks,

Ketan Jetty
http://KetanJetty.com
Note: I tried twice to post this, but the system erroed out.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337608
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: arrays and looping around

2010-09-29 Thread Rick Colman

  so, do I need to declare an array in advance, or is this implicit.

so, I guess this does not work either:

cfset LegalProteinSequence_#LoopCount# =  ...

On 9/27/2010 10:10 PM, Ian Skinner wrote:
 On 9/27/2010 7:37 PM, Michael Grant wrote:
 #form['ExpOrg_ID_'   loopCount]#

 A.K.A. Array Notation and can be applied to any variable scope, not
 just the form scope, though that is probably the most common.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337609
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Apache Worker MPM w/ JRun

2010-09-29 Thread Joe Gooch

I've been all around mod_jrun22 in the last couple days, and I know way more 
than I want to.  However, I can't get it to work quite right.

Environment:
Debian Lenny 5.0.6
Apache 2.2.9, Worker MPM (ideally)
JRun4 build 108673
CF 8.0.1 Enterprise in multiserver config

I've compiled the connector with apxs2.  Debian's default MPM is the worker 
(threaded) MPM. 

Under load I received a bunch of messages in the apache error log, along the 
lines of startSync - detected broken mutex!... In digging through the code, 
it appears unless APACHE_APR_THREAD is defined when the connector is compiled, 
the mutex library call is never made.  (At least for linux... Windows 
connectors have other means)  I find this interesting because wsconfig doesn't 
define that flag either, and I can't find it anywhere in /usr/include/...  So, 
I define the flag and recompile.  All the errors go away and the connector 
works great.

Except that a couple requests go out to lunch.  Under heavy load, mod_jrun will 
drop random connections with the following message:
JRun will not accept request.  Check JRun web server configuration and JRun 
mappings on JRun server.

Which responds to the client with an ugly 500 error.

I understand the error when you send a file extension like .html to JRun and 
there's no mapping in the web.xml... However, this is for a cfm page, whether 
it's a index.cfm found via DirectoryIndex or some other cfm page on the server. 
 99%+ of the requests go through fine, it's just this one request every couple 
hours that won't behave that's driving me crazy.  So it can't be a config 
issue.  Turning on tracing would likely write so much information to the log as 
to be unusable with the load required to reproduce this issue.

Switching to the perfork MPM removes the problem entirely.  It does, however, 
significantly increase CPU load on the server.

I've used JMeter to send tens of thousands of requests against the connector 
without any issues.  It's very hard to create artificial load to reproduce the 
problem... but real load makes it happen several times a day.

Which brings me to my question... Is anyone out there successfully using 
mod_jrun22 in an Apache 2.2 environment with the worker MPM? 
CF8.0.1/CF9/CF9.0.1?  Success stories?

I've considered upgrading JRun/CF to more recent versions, but a quick scan of 
the JRun connector code in CF9 and 9.0.1 yields only minor changes... Looks 
like mod_deflate fixes finally made it into 9.0.1 and 9.0 mostly pertained to 
Winsock2 upgrades.

Any information would be helpful!

Thanks.
Joe

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337610
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Streaming images with links to a non-coldfusion website

2010-09-29 Thread Richard Steele

Ok, I've since discovered the real culprit, a Firefox ad blocker called adblock 
plus. I must have disabled it at some point. That explains everything. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337611
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Website validation... need suggestions

2010-09-29 Thread Ketan Jetty

Hi Steven,

You can use JMeter (free tool) to stress test your application. Also you can 
use Charles Proxy. Charles is similar to Fiddler but has additional 
functionality like throttle and stress test.

For local google bot-like application, you can use my web crawler code @ 
http://ketanjetty.com/coldfusion/useful-code/web-crawler/. You can modify the 
code to your requirement.

Thanks,
Ketan Jetty
http://KetanJetty.com 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337612
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: File Upload - Changing MIME Types

2010-09-29 Thread Matt Quackenbush

Thanks, Jason.  That is essentially what I wound up doing.  :-)


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337613
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: File Upload - Changing MIME Types

2010-09-29 Thread Dave Watts

 As I understand it, the files are not actually sent in any MIME type, per
 se, but the receiving browser interprets MIME type based on its coding,
 which, as you found out, is determined by both OS and browser settings.

No, I don't think this is correct.

When downloading a file from a web server, the web server does
generally specify the MIME type. The browser may ignore that and treat
the file as if it were a different MIME type, but the server does
specify a MIME type for static files automatically.

When uploading a file to a web server (which is the basis for the
original question) the browser builds a multipart MIME request, which
specifies the MIME type for each uploaded file.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337614
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: arrays and looping around

2010-09-29 Thread Dave Watts

  so, do I need to declare an array in advance, or is this implicit.

Existing scopes (Form, Url, Variables, etc) can always be treated this way.

 so, I guess this does not work either:

 cfset LegalProteinSequence_#LoopCount# =  ...

I gave you several examples of this in another thread: looping syntax
inside a function?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337615
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread andy matthews

We're using SVN and it's great. Throws a fit sometimes if you don't follow
the procedures exactly but it's solid.


andy

-Original Message-
From: Michael Christensen [mailto:mich...@strib.dk] 
Sent: Tuesday, September 28, 2010 8:35 AM
To: cf-talk
Subject: What version-/source control are you using (if any)?


We're thinking about setting up version-/source control for our CF code.

What are people out there using? What works, what doesn't? 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337616
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread Andrew Scott

We are using Subversion, main reason because we have the hooks integrated
into Jira to provide our tickets with the code changes made.


Regards,
Andrew Scott
http://www.andyscott.id.au/



 -Original Message-
 From: Michael Christensen [mailto:mich...@strib.dk]
 Sent: Tuesday, 28 September 2010 11:35 PM
 To: cf-talk
 Subject: What version-/source control are you using (if any)?
 
 
 We're thinking about setting up version-/source control for our CF code.
 
 What are people out there using? What works, what doesn't?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337617
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Kym Kovan

On 28/09/2010 23:34, Michael Christensen wrote:

 We're thinking about setting up version-/source control for our CF code.

 What are people out there using? What works, what doesn't?

We use both SVN and Mercurial (Hg).

The outside world has SVN to download from but internaly we have 
staggered Hg repositories n every machine so code can be moved about 
without wrecking the centralised SVN repository. As has been mentioned 
you can get out of kilter with SVN rather easily and it gets nasty.

If you mainly develop on Windows machines then Hg is the go, if you are 
mainly unix/Apple then GIT is OK but its Windows client is terrible (in 
our opinion)

-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337618
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread Andrew Scott

Actually I disagree with what is best to go with based on your OS.

It is all going to boil down to your requirements, for us we needed to know
what changes had been made at the ticket level. And as we already had Jira
installed it was a no brainer to use Subversion to do this.

What this means is that I can look up a ticket at any time, and actually see
what files had changed and when. But that is not for everyone either, so I
would be sitting down and working out what your long term plan is. If you
are also always in house, and have centralised developers then a centralised
repository is just as good as any decentralised one, if not better.


Regards,
Andrew Scott
http://www.andyscott.id.au/



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337619
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread John M Bliss

http://www.visualsvn.com

On Tue, Sep 28, 2010 at 8:34 AM, Michael Christensen mich...@strib.dkwrote:


 We're thinking about setting up version-/source control for our CF code.

 What are people out there using? What works, what doesn't?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337620
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread Russ Michaels

I have used this and it works great. Be careful not to listen to the
Linux-fanboys they slag this off purely because it is a windows solution,
however it does exactly what it says on the tin, I have never had any issues
with it.

Russ

-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com] 
Sent: 29 September 2010 12:12
To: cf-talk
Subject: Re: What version-/source control are you using (if any)?


http://www.visualsvn.com

On Tue, Sep 28, 2010 at 8:34 AM, Michael Christensen
mich...@strib.dkwrote:


 We're thinking about setting up version-/source control for our CF code.

 What are people out there using? What works, what doesn't?

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337621
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: arrays and looping around

2010-09-29 Thread Bobby Hartsfield

No you do not need to declare an array in this case. It is not actually an
array; it is just called array notation because it is the same syntax you
would use on an array. FORM is actually a predefined structure/collection
(aka 'scope')... such as URL or VARIABLES scopes

Most variables that you can reference as scope.variable, you can reference
as scope[variable]
 
In your last example: cfset LegalProteinSequence_#LoopCount# =  ...

You are right, that does not work. You can do one of the following instead:

cfset LegalProteinSequence_#LoopCount# =  ...

cfset variables[LegalProteinSequence_#LoopCount#] =  ...

cfset variables[LegalProteinSequence_  LoopCount] =  ...
 


.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-Original Message-
From: Rick Colman [mailto:rcol...@cox.net] 
Sent: Tuesday, September 28, 2010 3:42 PM
To: cf-talk
Subject: Re: arrays and looping around


  so, do I need to declare an array in advance, or is this implicit.

so, I guess this does not work either:

cfset LegalProteinSequence_#LoopCount# =  ...

On 9/27/2010 10:10 PM, Ian Skinner wrote:
 On 9/27/2010 7:37 PM, Michael Grant wrote:
 #form['ExpOrg_ID_'   loopCount]#

 A.K.A. Array Notation and can be applied to any variable scope, not
 just the form scope, though that is probably the most common.


 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337622
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Kym Kovan

On 29/09/2010 9:28 PM, Russ Michaels wrote:

 I have used this and it works great. Be careful not to listen to the
 Linux-fanboys they slag this off purely because it is a windows solution,
 however it does exactly what it says on the tin, I have never had any issues
 with it.

I might add to my previous comment about using both SVN and Hg as we are 
a Windows shop. The SVN server is a Windows one, the Collabnet SVN 
server download is a click  click  run install and no issues whatsoever.


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337623
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread Bobby Hartsfield

I was always a fan of SVN... until I used perforce. Now I am a bigger fan of
perforce :-)

I was more detailed in a previous discussion (this comes up often). Just
search the archives. 

.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-Original Message-
From: Michael Christensen [mailto:mich...@strib.dk] 
Sent: Tuesday, September 28, 2010 9:35 AM
To: cf-talk
Subject: What version-/source control are you using (if any)?


We're thinking about setting up version-/source control for our CF code.

What are people out there using? What works, what doesn't? 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337624
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread Andrew Scott

Not to mention it's is free, and great support.


Regards,
Andrew Scott
http://www.andyscott.id.au/

 -Original Message-
 From: Kym Kovan [mailto:dev-li...@mbcomms.net.au]
 Sent: Wednesday, 29 September 2010 9:50 PM
 To: cf-talk
 Subject: Re: What version-/source control are you using (if any)?


 I might add to my previous comment about using both SVN and Hg as we are
 a Windows shop. The SVN server is a Windows one, the Collabnet SVN server
 download is a click  click  run install and no issues whatsoever.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337625
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What version-/source control are you using (if any)?

2010-09-29 Thread Will Swain

Any good tutorials out there that people can recommend on getting up to
speed with Mercurial? We use SVN at the moment, and it's fine, but I'm
interested in Mercurial.

Thanks

Will

-Original Message-
From: Kym Kovan [mailto:dev-li...@mbcomms.net.au] 
Sent: 29 September 2010 12:50
To: cf-talk
Subject: Re: What version-/source control are you using (if any)?


On 29/09/2010 9:28 PM, Russ Michaels wrote:

 I have used this and it works great. Be careful not to listen to the
 Linux-fanboys they slag this off purely because it is a windows solution,
 however it does exactly what it says on the tin, I have never had any
issues
 with it.

I might add to my previous comment about using both SVN and Hg as we are 
a Windows shop. The SVN server is a Windows one, the Collabnet SVN 
server download is a click  click  run install and no issues whatsoever.


-- 

Yours,

Kym Kovan
mbcomms.net.au




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337626
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Website validation... need suggestions

2010-09-29 Thread Ketan Jetty

I regret the multiple replies to this thread. The web site crashed on twice and 
moreover there is no proper feedback on the success of the post. I have written 
to House of Fusion Web Master on this and hope that they will delete the 
multiple replies.

Here is the copy of the message sent to House of Fusion.
--
Ref: 
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61992#337573

I tried posting a reply to the above thread and the web site crashed out on me 
twice. I have noted that I am having the same reply repeated 4 times. Can you 
please remove the last 3 replies from (Ketan Jetty). 

Also this makes me feel bad and it would be good for you to have reply feedback 
built-in so that such errors can be captured. For time being I am avoiding 
replying in your forums. Also I am posting this message to the thread, you can 
remove it later.

Thanks,
Ketan Jetty
-- 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: arrays and looping around

2010-09-29 Thread Michael Grant

Another way:

setVariable(LegalProteinSequence_  loopcount, this-is-a-value);


On Tue, Sep 28, 2010 at 3:42 PM, Rick Colman rcol...@cox.net wrote:


  so, do I need to declare an array in advance, or is this implicit.

 so, I guess this does not work either:

 cfset LegalProteinSequence_#LoopCount# =  ...

 On 9/27/2010 10:10 PM, Ian Skinner wrote:
  On 9/27/2010 7:37 PM, Michael Grant wrote:
  #form['ExpOrg_ID_'   loopCount]#
 
  A.K.A. Array Notation and can be applied to any variable scope, not
  just the form scope, though that is probably the most common.
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337628
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFDOCUMENT OpenOffice Problem

2010-09-29 Thread Michael Sprague

I'm having a problem getting cfdocument conversion to work.
 
cfdocument format=pdf
srcfile=d:\test.doc
filename=d:\test.pdf

 
This code generates the following error Could not determine OpenOffice 
installation.
 
I have OpenOffice 3.2 installed, and in the CF Administrator I have the path 
specified correctly.  It gives me the green confirmation message when I set the 
path.
 
I have tried this on three different servers.  Two were Windows 2008 64-bit and 
one was Windows 2003 32-bit.   All three are ColdFusion 9.01 Enterprise 
multi-instance.
 
Any thoughts on why I can't seem to config ANY of them to make OpenOffice 
conversions work? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337629
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Website validation... need suggestions

2010-09-29 Thread DURETTE, STEVEN J (ATTASIAIT)

Thanks for the info!

-Original Message-
From: Ketan Jetty [mailto:kje...@yahoo.com] 
Sent: Tuesday, September 28, 2010 3:13 PM
To: cf-talk
Subject: Re: Website validation... need suggestions


Hi Steven,

You can use JMeter (free toll) to stress test your application. Also you
can use Charles Proxy. Charles is similar to Fiddler but has additional
functionality like throttle and stress test.

For local google bot like application, you can use my web crawler code @
http://ketanjetty.com/coldfusion/useful-code/web-crawler/

Thanks,

Ketan Jetty
http://KetanJetty.com
Note: I tried twice to post this, but the system erroed out.





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337630
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Eric Cobb

The Big 3 out there right now are Subversion, Mercurial, and Git.  I 
personally use Subversion and Git, and they're both good.

Whatever you do, stay away from Vault/Fortress from Sourcegear.  That's 
what we're forced to use at work.  It's labeled as a VSS replacement, 
and while it is a little bit better than VSS, it's still pretty pathetic 
and a waste of money.  Within 3 days of switching to it, we were already 
having discussions about getting rid of it.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Michael Christensen wrote:
 We're thinking about setting up version-/source control for our CF code.

 What are people out there using? What works, what doesn't? 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337631
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trying to set cfform focus in an Ajax window

2010-09-29 Thread morgan l

File this under slick code: it works! I just hope I remember this when the
situation arises again.

On Tue, Sep 28, 2010 at 7:25 AM, Michael Grant mgr...@modus.bz wrote:


 
  AjaxOnLoad cannot pass in any parameters to the function specified.


 Wondering out loud here and currently no way to test, but couldn't you do
 this to pass parameters:

 cfset AjaxOnLoad('function(){init(someParam)}') /


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337632
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Mahcsig

Joel On Software created a Mercurial tutorial site here:
http://hginit.com/

~Mahcsig



On Wed, Sep 29, 2010 at 4:54 AM, Will Swain w...@hothorse.com wrote:


 Any good tutorials out there that people can recommend on getting up to
 speed with Mercurial? We use SVN at the moment, and it's fine, but I'm
 interested in Mercurial.

 Thanks

 Will

 -Original Message-
 From: Kym Kovan [mailto:dev-li...@mbcomms.net.au]
 Sent: 29 September 2010 12:50
 To: cf-talk
 Subject: Re: What version-/source control are you using (if any)?


 On 29/09/2010 9:28 PM, Russ Michaels wrote:
 
  I have used this and it works great. Be careful not to listen to the
  Linux-fanboys they slag this off purely because it is a windows solution,
  however it does exactly what it says on the tin, I have never had any
 issues
  with it.

 I might add to my previous comment about using both SVN and Hg as we are
 a Windows shop. The SVN server is a Windows one, the Collabnet SVN
 server download is a click  click  run install and no issues whatsoever.


 --

 Yours,

 Kym Kovan
 mbcomms.net.au




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trying to set cfform focus in an Ajax window

2010-09-29 Thread Michael Grant

:D

On Wed, Sep 29, 2010 at 10:13 AM, morgan l greyk...@gmail.com wrote:


 File this under slick code: it works! I just hope I remember this when the
 situation arises again.

 On Tue, Sep 28, 2010 at 7:25 AM, Michael Grant mgr...@modus.bz wrote:

 
  
   AjaxOnLoad cannot pass in any parameters to the function specified.
 
 
  Wondering out loud here and currently no way to test, but couldn't you do
  this to pass parameters:
 
  cfset AjaxOnLoad('function(){init(someParam)}') /
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337634
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Scott Slone

Claude-
Take a look at JangoSMTP and SMTP2Go
I forget which one offers audit and tracking,and I'm not sure if it 
contains all the data you are wanting to capture, but it is a place to 
start.

I'm pretty sure both have test account/trials so you can see if they fit 
your needs.

/Scott



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337635
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


SOT: Canadian CF Hosting

2010-09-29 Thread Larry Lyons

Greetings,

Pardon for the slightly off topic posting, but I thought I'd try the collective 
wisdom of the list here. Anyhow this is a favour I'm doing for a colleague. 
He's looking for a  Canadian web hosting firm that offer CF as part of the 
package. Does anyone have recommendations?

many thanks,

larry
-- 
Larry C. Lyons
web: http://www.lyonsmorris.com/lyons
LinkedIn: http://www.linkedin.com/in/larryclyons
--
People need to realize that the plural of anecdote is not data.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337636
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Canadian CF Hosting

2010-09-29 Thread Jim Wright

On Wed, Sep 29, 2010 at 10:45 AM, Larry Lyons larrycly...@gmail.com wrote:
 Pardon for the slightly off topic posting, but I thought I'd try the 
 collective wisdom of the list here. Anyhow this is a favour I'm doing for a 
 colleague. He's looking for a  Canadian web hosting firm that offer CF as 
 part of the package. Does anyone have recommendations?


Many years ago, I took a Paperthin class with someone who worked for
this company:
http://www.netkeepers.ca

I'm not sure they do the level of hosting you are looking for, but it
might be worth a shout to them to ask, and if not see who they would
recommend

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337637
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Canadian CF Hosting

2010-09-29 Thread Rob Parkhill

Larry,

I have used cfhosting.ca

Not the cheapest CF Solution, but good uptime - mostly, and knowledgeable
staff.

Cheers,

Rob

On Wed, Sep 29, 2010 at 10:45 AM, Larry Lyons larrycly...@gmail.com wrote:


 Greetings,

 Pardon for the slightly off topic posting, but I thought I'd try the
 collective wisdom of the list here. Anyhow this is a favour I'm doing for a
 colleague. He's looking for a  Canadian web hosting firm that offer CF as
 part of the package. Does anyone have recommendations?

 many thanks,

 larry
 --
 Larry C. Lyons
 web: http://www.lyonsmorris.com/lyons
 LinkedIn: http://www.linkedin.com/in/larryclyons
 --
 People need to realize that the plural of anecdote is not data.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337638
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Spell Checkings for CF8 FCKEditor

2010-09-29 Thread SANJEEV SINGLA

We are using the inbuilt FCKEditor (cftextarea richtext=true) and our 
requirement is that we need to have both English as well as French spell 
checking work.

We have the Aspell installed in appropriate directory and both english as well 
as french dictionaries are also installed.


We need both of the spell checkings to work, if not simultaneously atleast I 
need some way so that I can pass some parameter based on the fact that English 
or French user is logged in into the application. We distinguish in our 
application the users based on Language so getting that parameter would be easy 
for me.

Other Details of our application:
ColdFusion 8.01 installation
Supported browsers : IE Only
Spell Checking Software : Aspell (English and French dictionaries installed) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337639
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Claude Schnéegans

  Take a look at JangoSMTP and SMTP2Go

Thanks, but these are external mail services.
I'm more looking for a true SMTP server software I can install on my own server.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337640
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Nicholas Stein

SendGrid is a third part smtp host.  They provied the analytics, deliverance, 
tracking and increasing your deliverablity.  They do not have connectors to 
CRM.  If you want that, take a look at SalesFusion which goes to both Dynamics 
and Salesforce.  

http://sendgrid.com/

http://www.SalesFusion.com/ 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Claude Schnéegans

  SendGrid is a third part smtp host.

Thanks, but I'm not looking for a hosted service, but for a true server 
software.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Looking for the right SMTP server

2010-09-29 Thread Russ Michaels

For windows try hmailserver, its rather good for a free server.


Regards
--
Russ Michaels
www.cfmldeveloper.com - free CFML hosting for developers
my blog: http://russ.michaels.me.uk/
skype: russmichaels





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  Hi,

There are two drivers for Access database in CF9 :
- Microsoft Access
- Microsoft Access with unicode

If I choose the first one, the query below works and yield the same results as 
when run in Access itself.
However, If I use the driver with Unicode, the LEFT JOIN returns no data.
The table succes is actually a view, not a table.
I suspect the first driver is ODBC, the second is JDBC.
There must be some problem in the JDBC driver.

SELECT DISTINCT TOP 10
destinataires.courriel,
succes.fichemessage
FROM (messages
INNER JOIN destinataires ON messages.ficheMessage = destinataires.ficheMessage)
LEFT JOIN succes ON messages.ficheMessage = succes.fichemessage

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337644
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Dave Watts

 There are two drivers for Access database in CF9 :
 - Microsoft Access
 - Microsoft Access with unicode

 ...

 I suspect the first driver is ODBC, the second is JDBC.

Both are JDBC, in that CF only knows JDBC. The first driver is part of
SequeLink, which is a DataDirect product that acts as a JDBC-ODBC
bridge. The second driver is a JDBC-to-Jet driver and doesn't rely on
anything else - Jet is the native protocol for MS Access. I believe
it's open-source, and probably not supported all that well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337645
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  Both are JDBC, in that CF only knows JDBC. The first driver is part of
SequeLink, which is a DataDirect product that acts as a JDBC-ODBC
bridge. The second driver is a JDBC-to-Jet driver and doesn't rely on
anything else - Jet is the native protocol for MS Access. I believe
it's open-source, and probably not supported all that well.


Ah, I see.
The problem with the first is that the DSN wont be created id an ODBC 
datasource is not already defined in Windows.
Kind of cumbersome.
With CF5, the ODBC database was created automatically.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337646
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread denstar

There's this:

http://code.google.com/p/subetha/

I've used bits of that project for doing mail stuff.  Very
configurable/extendable.

:Den

-- 
Convictions are more dangerous foes of truth than lies.
Friedrich Nietzsche

On Wed, Sep 29, 2010 at 10:18 AM,   wrote:

  SendGrid is a third part smtp host.

 Thanks, but I'm not looking for a hosted service, but for a true server 
 software.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337647
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Cameron Childress

On Wed, Sep 29, 2010 at 7:49 AM, Bobby Hartsfield bo...@acoderslife.com wrote:
 I was always a fan of SVN... until I used perforce. Now I am a bigger fan of
 perforce :-)

Perforce!  Changelists!  Workspaces!  Labels!  Very cool stuff that I
haven't seen in alot of other tools.

Perforce ain't free though...

-Cameron

...

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Russ Michaels

thats because cf5 used ODBC datasources as it was written in C++
CF6+ is a java app and thus uses JDBC

On Wed, Sep 29, 2010 at 6:13 PM,  wrote:


  Both are JDBC, in that CF only knows JDBC. The first driver is part of
 SequeLink, which is a DataDirect product that acts as a JDBC-ODBC
 bridge. The second driver is a JDBC-to-Jet driver and doesn't rely on
 anything else - Jet is the native protocol for MS Access. I believe
 it's open-source, and probably not supported all that well.


 Ah, I see.
 The problem with the first is that the DSN wont be created id an ODBC
 datasource is not already defined in Windows.
 Kind of cumbersome.
 With CF5, the ODBC database was created automatically.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  thats because cf5 used ODBC datasources as it was written in C++
CF6+ is a java app and thus uses JDBC


Of course, I know that.
When I updated from CF5 to CF9, I was able to redefine all my datasources in 
CF9 with no problem.
but now I have a new I want to add, the ODBC connection is created, but the CF9 
Administrator
replies Connection verification failed for data source: SMTPLogs
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][SequeLink Server]The 
specified data source is not defined.
The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC 
Driver][SequeLink Server]The specified data source is not defined.

It looks like the Administrator is able to define a datasource when the ODBC 
connection was already there, but not for a new datasource.

I was able to define the datasource with no problem on my development desktop.
Now on my production server it wont work. The only difference is that on my 
desktop I have the Developper version, on my server it is the standard version.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337650
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Dave Watts

 It looks like the Administrator is able to define a datasource when the ODBC 
 connection was already there, but not for a new
 datasource.

 I was able to define the datasource with no problem on my development desktop.
 Now on my production server it wont work. The only difference is that on my 
 desktop I have the Developper version, on my server it
 is the standard version.

CF 9 Standard should be able to do that just fine, so there's probably
something else going on. You could look at the SequeLink logs, which
are not enabled by default - but I'm sure there's some option to
enable them.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337651
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

   You could look at the SequeLink logs, which
are not enabled by default - but I'm sure there's some option to
enable them.

I'm trying to find where.
I've checked for the occurrence of two datasource names in all files under 
\ColdFusion9, one for a datasource which works, the othe one for the 
problematic one.
I found two files :
- C:\ColdFusion9\lib\neo-datasource.xml and
- C:\ColdFusion9\db\slserver54\admin\DSN

Both contains exactly the same type of data regarding the two Datasources.
And I don't see any difference in the two ODBC connections either.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337652
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Dave Watts

  You could look at the SequeLink logs, which
  are not enabled by default - but I'm sure there's some option to
  enable them.

 I'm trying to find where.
 I've checked for the occurrence of two datasource names in all files under 
 \ColdFusion9, one for a datasource which works, the
 othe one for the problematic one.
 I found two files :
 - C:\ColdFusion9\lib\neo-datasource.xml and
 - C:\ColdFusion9\db\slserver54\admin\DSN

 Both contains exactly the same type of data regarding the two Datasources.
 And I don't see any difference in the two ODBC connections either.

SequeLink should have its own logging options. But again, this isn't
enabled by default, so there won't be anything to see until you figure
out how to enable SequeLink logging, then examine those log files.
There is a SequeLink PDF in the slserver54 directory, but i haven't
read it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337653
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

Ok, according to this page : http://kb2.adobe.com/cps/186/tn_18644.html
ColdFusion MX ODBC Agent errors are typically logged to the Windows Event Log
So I went into the Windows Event Log and I found this indeed :

 The description for Event ID ( 0 ) in Source ( ColdFusion 9 ODBC Server ) 
cannot be found. The local computer may not have the necessary registry 
information or message DLL files to display messages from a remote computer. 
You may be able to use the /AUXSOURCE= flag to retrieve this description; see 
Help and Support for details. The following information is part of the event: 
ColdFusion 9 ODBC ser...@localhost,ErrorCode=3059,ErrorMessage=The specified 
data source is not defined.,ClientHost=127.0.0.1,Session=20375. 

Now if somebody is able to explain what the heck this means, I'd be very 
grateful.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


any solution to cfmailparam attachment as alternate filename

2010-09-29 Thread Yuliang Ruan

so we're sending out a set of contracts and whatnots to vendors as PDF 
attachment on an email.  we would LIKE to have the attachment named 
VendorContract.pdfHowever, we've run into a concurrency issue with naming 
the file and cfmailing.  as i understand it the cfmail tag only writes the 
spool file.  the spool server then at a later time, reads the spool folder for 
files and actually attaches the file data when it sends out the email.   so 
cflocking within the code wouldn't do anything. 

is there a realistic alternative?   if cfmailparam could attach as another 
filename attribute, it'd be awesome...

TIA
yuliang 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337655
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Multi-selects Related with CFAjaxProxy

2010-09-29 Thread John M Bliss

I'm looking at Brian Rinaldi's article,
http://coldfusion.dzone.com/articles/multi-selects-related-cfajaxpr and I'm
wondering about this JS:

function callFill(thisSelect,target) {
   formItemToFill = target;
   selectBoxes = new SelectBoxes();
   selectBoxes.setCallbackHandler(fill);

selectBoxes.getFillQuery(thisSelect.options[thisSelect.selectedIndex].value);
}
function fill(r) {
   var i = 0;
   var foo2 = document.forms['myForm'].foo2;
   foo2.options.length = 0;
   for (i in r.DATA) {
  foo2.options[i] = new Option(r.DATA[i][0],r.DATA[i][1]);
   }
}

...and I have a question: function fill has hardcoded references to foo2 and
seems to ignore target passed in to callFill.  I suspect there's an easy fix
but I'm currently blanking on it.  Can you help?

-- 
John Bliss
IT Professional
@jbliss (t) / http://www.brandiandjohn.com


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337656
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Sean Corfield

On Tue, Sep 28, 2010 at 6:34 AM, Michael Christensen mich...@strib.dk wrote:
 We're thinking about setting up version-/source control for our CF code.

 What are people out there using? What works, what doesn't?

These days I'm using git for everything possible. Previously I was
using SVN. Most of my clients used SVN when I was freelancing over the
last three years.

What I like about git is the ability to work offline and still commit
changes, the lightweight branches and generally easier merging.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337657
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Canadian CF Hosting

2010-09-29 Thread John Pullam

I use LooseFoot in Regina ... lfchosting.com, and am very pleased with their 
service. They have both CF7 and CF9 hosts right now. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337658
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Russ Michaels

It sounds as though you are just expecting CF to somehow automatically
pickup windows ODBC data sources.
This wont happen.
It only worked when you upgraded form CF5 because you were upgrading
ColdFusion, so it knew about the data sources in the cfadmin and migrated.
You need to add the datasources via the coldfusion administrator, this
creates an ODBC DSN and then creates a JDBC bridge to connect to it.
Sorry if I misunderstood, if you have done this already then read on.

If you look in C:\ColdFusion9\lib\neo-datasource.xml you will find all the
DSN's defined in here. Check all the connection properties of the working
DSN's and compare them to the non working DSN's and see if there is anything
different.

If you then look in C:\ColdFusion9\db\slserver54\cfg\swandm.ini
You will find all the dsn's defined in here as well for the jdbc connector

each dsn is defined like this

[DataSource_5]
Type=6
DataSourceLogonMethod=OSIntegrated
DataSourceProviderTypesFile=C:\ColdFusion9\db\slserver54\bin\swsoc.ini
ServiceName=ColdFusion 9 ODBC Server
DataSourceName=mydsn
DataSourceSOCODBCConnStr=dsn=mydsn
DataSourceFetchTimeStampAsString=0

make sure they are defined here, comparing the working ones against broken
ones and see if there is any glaring difference.
trol pane
If all is good, then you should check that the actual ODBC DSN is working,
you can do this from administrative tools/Data Sources ODBC
find the DSN and then simply test it to make sure it works. If not, then its
a windows ODBC problem. Try re-creating the ODBC DSN directly in windows
instead of with CF and see if that helps.

Russ

On Wed, Sep 29, 2010 at 9:29 PM,  wrote:


 Ok, according to this page : http://kb2.adobe.com/cps/186/tn_18644.html
 ColdFusion MX ODBC Agent errors are typically logged to the Windows Event
 Log
 So I went into the Windows Event Log and I found this indeed :

  The description for Event ID ( 0 ) in Source ( ColdFusion 9 ODBC Server )
 cannot be found. The local computer may not have the necessary registry
 information or message DLL files to display messages from a remote computer.
 You may be able to use the /AUXSOURCE= flag to retrieve this description;
 see Help and Support for details. The following information is part of the
 event: ColdFusion 9 ODBC ser...@localhost,ErrorCode=3059,ErrorMessage=The
 specified data source is not defined.,ClientHost=127.0.0.1,Session=20375. 

 Now if somebody is able to explain what the heck this means, I'd be very
 grateful.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337659
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Canadian CF Hosting

2010-09-29 Thread Mark A. Kruger

We are in the US but we speak Canadian eh.


-Original Message-
From: Larry Lyons [mailto:larrycly...@gmail.com] 
Sent: Wednesday, September 29, 2010 9:45 AM
To: cf-talk
Subject: SOT: Canadian CF Hosting


Greetings,

Pardon for the slightly off topic posting, but I thought I'd try the
collective wisdom of the list here. Anyhow this is a favour I'm doing for a
colleague. He's looking for a  Canadian web hosting firm that offer CF as
part of the package. Does anyone have recommendations?

many thanks,

larry
-- 
Larry C. Lyons
web: http://www.lyonsmorris.com/lyons
LinkedIn: http://www.linkedin.com/in/larryclyons
--
People need to realize that the plural of anecdote is not data.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337660
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trying to set cfform focus in an Ajax window

2010-09-29 Thread John Pullam

It might be that the form hasn't been added to the dom, though that's
usually not the case since the js comes after the form code.
However if you'll remember a few days ago I suggested:

 1. Wrap your JS code at the bottom of the page in a function and execute
the function when the ajax call completes.
 2. Add your focus setting code into a callback function on the ajax call.

That advice is still sound.



On Mon, Sep 27, 2010 at 4:56 PM, John Pullam jpul...@mcleansystems.comwrote:



Must admit that I'm not really sure what you are suggesting. e.g., what do you 
mean a callback function on the ajax call?

In any event, it all seems fairly consistent at the moment. I have converted to 
using AjaxOnLoad and the function contains either:

document.LoginForm.AccessID.focus(); or 
document.getElementById(AccessID).focus();

Regardless of which I use, it works fine in Opera, Chrome and Safari. Neither 
work in IE, and in Firefox, the cursor is set but it moves away again in about 
a second.

Very strange but it is not worth the amount of time being spent so I will 
probably give up on ever fixing it and assume it is some kind of CF9 issue that 
will get resolved over time. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337661
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Dave Watts

 It sounds as though you are just expecting CF to somehow automatically
 pickup windows ODBC data sources.

I get the impression that he's trying to create new Access datasources
from the CF Administrator without having existing ODBC datasources
pointing to those Access databases. That should work fine.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337662
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  I get the impression that he's trying to create new Access datasources
from the CF Administrator without having existing ODBC datasources
pointing to those Access databases. That should work fine.


Exactly.
First, CF 9 installation does not import automatically CF 5 databases. I had to 
redefined all of them.
The only thing is that when one gives the name of the Datasource, the ODBC 
connection is recognized
and the correct path for the database file is automatically set.

I just tried to define the new database first in CF 5, then in CF 9. It 
recognize the ODBC connection like for all others, but still gives the same 
error. Under CF5, the DSN works fine.
The only thing special about this database is that it has views defined, but I 
don't thing this matters, the driver cannot even connect to it.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337663
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  If you look in C:\ColdFusion9\lib\neo-datasource.xml you will find all the
DSN's defined in here. Check all the connection properties of the working
DSN's and compare them to the non working DSN's and see if there is anything
different.

I've already done this, and everything about the new DSN is identical to all 
others, except for the name and the datasource path.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337664
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Russ Michaels

how about the rest  of things I suggested, there was more?

On Wed, Sep 29, 2010 at 10:38 PM,  wrote:


  If you look in C:\ColdFusion9\lib\neo-datasource.xml you will find all
 the
 DSN's defined in here. Check all the connection properties of the working
 DSN's and compare them to the non working DSN's and see if there is
 anything
 different.

 I've already done this, and everything about the new DSN is identical to
 all others, except for the name and the datasource path.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337665
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  how about the rest  of things I suggested, there was more?

Regarding the [DataSource_n] records, I have only 4 of them in here, about 
datasource I don't even have in my system.
I think these are example datasources used for the documentation which I didn't 
install on my production server.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337666
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Highlighting non-standard ASCII characters?

2010-09-29 Thread Marie Taylore

Hi all,

I'm looking for a way to *highlight* any characters that fall out of the range 
of A-z/0-9/standard punctuation characters.

Most of the cflib utilities are made to remove those characters.

Anyone know of (or have) a function that will make them stand out?  I need to 
find them in an Oracle database field and highlight any characters that may not 
belong, so-to-speak.

Any help is appreciated.

Thanks!

MarieT


  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337667
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Russ Michaels

well then there is your problem, if the datasources don't exist on your
system, then that is why you are getting an error saying they do not exist.


On Thu, Sep 30, 2010 at 12:23 AM,  wrote:


  how about the rest  of things I suggested, there was more?

 Regarding the [DataSource_n] records, I have only 4 of them in here, about
 datasource I don't even have in my system.
 I think these are example datasources used for the documentation which I
 didn't install on my production server.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337668
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Kris Jones

We've been using SmarterMail since iMIS kind of disappeared. Not bad,
but we're having problems with it choking somewhere between 58k-140k
messages. Pretty easy to trace individual messages through their logs,
and search utilities in the console.

We also have mailenable in use, and it has been rock solid. Doesn't
have the ease of search for tracing that SmarterMail does.

All that said, we're looking at moving to a 3rd-party service due to
the difficulty in managing the large amount of messages we send -- can
be several hundred thousand a day depending on the news day.

Cheers,
Kris

 Thanks, but I'm not looking for a hosted service, but for a true server 
 software.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337669
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Russ Michaels

Smartertools used to be great, but the bigger they got the more arrogant
they got and the higher their prices got and the worse the customer service
got, you wouldn't believe how rude they are.
I think smartermail was the best solution on a budget for a long while, not
sure if that is still the case now though, although it is not as expensive
as some.
We put hundreds of thousands of emails through MDaemon every day, on a not
especially powerful server. So if your prepared to pay for a mail solution,
this is the best one we have used so far, support is pretty good too.
We also use Merak Mail which has done us well for many years, however it is
far too expensive now and their support is the most diabolical you could
imagine. You cannot trust any advice they give you as it could totally screw
up your server and cause email to be lost, that is if they even reply, not
unusual for them to take weeks or even months to reply to tickets.

There are also plenty of other cheap or free solutions.
argo mail
hmail
mailenable


On Thu, Sep 30, 2010 at 1:31 AM, Kris Jones kris.jon...@verizon.net wrote:


 We've been using SmarterMail since iMIS kind of disappeared. Not bad,
 but we're having problems with it choking somewhere between 58k-140k
 messages. Pretty easy to trace individual messages through their logs,
 and search utilities in the console.

 We also have mailenable in use, and it has been rock solid. Doesn't
 have the ease of search for tracing that SmarterMail does.

 All that said, we're looking at moving to a 3rd-party service due to
 the difficulty in managing the large amount of messages we send -- can
 be several hundred thousand a day depending on the news day.

 Cheers,
 Kris

  Thanks, but I'm not looking for a hosted service, but for a true server
 software.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337670
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Canadian CF Hosting

2010-09-29 Thread Larry Lyons

Yes but you know dick about poutine, prairie oysters and Winnipeg Shandys.

Actually I may have to go that route.  I hope not because that makes my 
friend's tax issues a bit more complex.

We are in the US but we speak Canadian eh.


Greetings,

Pardon for the slightly off topic posting, but I thought I'd try the
collective wisdom of the list here. Anyhow this is a favour I'm doing for a
colleague. He's looking for a  Canadian web hosting firm that offer CF as
part of the package. Does anyone have recommendations?

many thanks,

larry
-- 
Larry C. Lyons
web: http://www.lyonsmorris.com/lyons
LinkedIn: http://www.linkedin.com/in/larryclyons
--
People need to realize that the plural of anecdote is not data. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337671
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trying to set cfform focus in an Ajax window

2010-09-29 Thread Michael Grant

By callback I mean the function that you've defined for execution when the
ajax call receives a successful response.

If the focus is being set, then un-set I suspect that CF is adding some
extra js code that's messing things up. I personally don't ever use CF's
brand of ajax functionality (of cfform for that matter) so I can't say for
sure why it would be happening. I generally either write my own and lately
have started using JQuery a lot more. (Anyone who knows me knows that this
is a big step for me to use something pre-written, but that's a different
story.)

Any chance you can post the output of the ajax call? By that I mean the form
stuff that the ajax call adds to the page on successful execution.


On Wed, Sep 29, 2010 at 5:17 PM, John Pullam jpul...@mcleansystems.comwrote:


 It might be that the form hasn't been added to the dom, though that's
 usually not the case since the js comes after the form code.
 However if you'll remember a few days ago I suggested:
 
  1. Wrap your JS code at the bottom of the page in a function and execute
 the function when the ajax call completes.
  2. Add your focus setting code into a callback function on the ajax
 call.
 
 That advice is still sound.
 
 
 
 On Mon, Sep 27, 2010 at 4:56 PM, John Pullam jpul...@mcleansystems.com
 wrote:
 
 

 Must admit that I'm not really sure what you are suggesting. e.g., what do
 you mean a callback function on the ajax call?

 In any event, it all seems fairly consistent at the moment. I have
 converted to using AjaxOnLoad and the function contains either:

 document.LoginForm.AccessID.focus(); or
 document.getElementById(AccessID).focus();

 Regardless of which I use, it works fine in Opera, Chrome and Safari.
 Neither work in IE, and in Firefox, the cursor is set but it moves away
 again in about a second.

 Very strange but it is not worth the amount of time being spent so I will
 probably give up on ever fixing it and assume it is some kind of CF9 issue
 that will get resolved over time.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337672
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Larry Lyons

Claude,

what about an external solution. I've found that MailChimp (www.mailchimp.com) 
does all what you want, and you don't have to manage it. Moreover there's a CFC 
wrapper for their API if you really want to get into working out a coding 
solution. Myself I'd rather not reinvent the wheel.

regards,
larry


   Hi,
 
 I run several sites specialized for associations.
 They send thousand of mails to their members.
 Presently I'm using Mail-enable, but I'm looking for a better tool to 
 help me manage all these mails.
 
 What I'd like is to be able to assign an Id to each mail and be able 
 to trace it through all steps involved in the process.
 The way ME stores activities in flat log files makes it a PITA to do 
 the job.
 
 What I'd like is to be able to:
 - have logs registered in a database so I can search for them and get 
 reports easily from CF.
 - have simple logs like message delivered at such time or delivery 
 failed for such reason.
 - logs include fields for Subject, From: and To: addresses
 
 Does any one know such a 
gem? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337673
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Claude Schnéegans

  Pretty easy to trace individual messages through their logs,
and search utilities in the console.

Ok, but are the log stored in a database in real time?
I've written a small application to convert MailEnable text files into a 
database, but I have to reread the whole file every time I want to trace 
messages the same day, since the file grows up until the next day.

I need to be able to automatically identify addresses causing a problem, and 
have my customers get a report about their mailing from inside their 
application.
I don't want to trace messages by hand using any console on the server.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337674
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for the right SMTP server

2010-09-29 Thread Claude Schnéegans

  Thanks.
I've seen a couple of them, some store accounts in a database indeed, but no 
one clearly states that the logs go in it as well.
Having accounts in a database is fine if you need to have customers manage 
their own mail boxes from their application, but what I'm looking for more 
specifically are logs in a database.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337675
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  well then there is your problem, if the datasources don't exist

Then this is certainly not crucial, as I have about 25 other databases, most of 
them using the same Access driver, none of them is registered in this file, and 
all of them work perfectly.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337676
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Scott Slone

Claude,
Can you create a new data source using an existing Access file? if so the issue 
may be the version of Access or a missing component that you have on desktop 
but not on server. 

Sent from my iPhone

On Sep 29, 2010, at 6:27 PM, Claude 
Schnéegansschneegans@internetiq.intermedia.net wrote:

 
 well then there is your problem, if the datasources don't exist
 
 Then this is certainly not crucial, as I have about 25 other databases, most 
 of them using the same Access driver, none of them is registered in this 
 file, and all of them work perfectly.
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337677
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  Can you create a new data source using an existing Access file?

Actually no. I already have 25 datasources, all with the same driver, all 
created with the same Access version, all work fine, but no new datasource is 
recognized.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337678
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Drivers for Access databases under CF 9

2010-09-29 Thread Claude Schnéegans

  ... I even tried this:
- delete an old datasource which worked.
- redefine it, no problem, still works.
- made a copy of the same file in another directory, create a new datasource on 
it... doesn't work :-(

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337679
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Mary Jo Sminkey

What I like about git is the ability to work offline and still commit
changes, the lightweight branches and generally easier merging.

I also like that you have a copy of the entire repository, if you use hosting 
it makes it very easy to change hosts. 

Currently though I am using the hosted Jira Studio (which is quite awesome if 
you are a small group, as the pricing is very reasonable for the quality of 
tools you get) and it only includes SVN hosting so that's what I use. It's 
generally pretty good although you really want to avoid having to reconcile 
multiple changes to a file as it's a real pain to do in my experience. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337680
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm