Error (The Value 2F cannot be converted to a number)

2009-10-02 Thread Damo Drumm

HI, Im having a slight problem while importing text files to a database, Im 
using the below code, but it displaying an error (The Value 2F cannot be 
converted to a number)
How do i get it to ignore the F and just look at the 2 using code?

cfif len(i) gte 6
!--- Temp value of line number ---

cfset tempvvalue1 = trim(left(i,4))
!--- Invoice Line Text ---
cfset stringvalue = left(right(i,Len(i)-5),130)
!--- Calculate Line Numbers ---
cfif isNumeric(tempvvalue1)
cfset linenumber = right(tempvvalue1,2)
cfelse
cfset vvalue2 = trim(left(i,6))
cfset linenumber = right(linenumber + vvalue2,2)
/cfif
cfif linenumber eq 26
cfset invoicenumber = trim(right(left(i,74),20)) 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error (The Value 2F cannot be converted to a number)

2009-10-02 Thread Barney Boisvert

val() will do that for you, but that's a rather course approach.  If
you have a know format (e.g. one number then one letter), you'd be
better parsing it explicitly (e.g., left(value, 1)) rather than using
something like val().

cheers,
barneyb

On Fri, Oct 2, 2009 at 12:48 AM, Damo Drumm
damien.dr...@quinn-group.com wrote:

 HI, Im having a slight problem while importing text files to a database, Im 
 using the below code, but it displaying an error (The Value 2F cannot be 
 converted to a number)
 How do i get it to ignore the F and just look at the 2 using code?

 cfif len(i) gte 6
                !--- Temp value of line number ---

                cfset tempvvalue1 = trim(left(i,4))
                !--- Invoice Line Text ---
                cfset stringvalue = left(right(i,Len(i)-5),130)
                !--- Calculate Line Numbers ---
        cfif isNumeric(tempvvalue1)
                cfset linenumber = right(tempvvalue1,2)
                cfelse
                cfset vvalue2 = trim(left(i,6))
                cfset linenumber = right(linenumber + vvalue2,2)
        /cfif
                cfif linenumber eq 26
                cfset invoicenumber = trim(right(left(i,74),20))

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error (The Value 2F cannot be converted to a number)

2009-10-02 Thread Damo Drumm

Thanks for Replying Barney, but im afraid that doesnt seem to work for me, im 
still getting the same error

val() will do that for you, but that's a rather course approach.  If
you have a know format (e.g. one number then one letter), you'd be
better parsing it explicitly (e.g., left(value, 1)) rather than using
something like val().

cheers,
barneyb


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: reading text from images

2009-10-02 Thread Richard White

Thanks for the link jason, we will try this out

i also should have mentioned that the scanned writing is handwritten. 

a company is just becoming computerised and therefore wants all previous 
handwritten forms to be transferred to digital. 

we are sure many of you have faced the same problem before so would appreciate 
any advice on how you tackled this issue



Just saw this on the wire yesterday:

http://www.labnol.org/internet/perform-ocr-with-google-docs/10059/

Don't know any more about it than that article, but maybe it's helpful. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: reading text from images

2009-10-02 Thread James Holmes

If it's handwritten, you are probably out of luck. OCR normally
requires a regular typeface.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2009/10/2 Richard White rich...@j7is.co.uk:

 Thanks for the link jason, we will try this out

 i also should have mentioned that the scanned writing is handwritten.

 a company is just becoming computerised and therefore wants all previous 
 handwritten forms to be transferred to digital.

 we are sure many of you have faced the same problem before so would 
 appreciate any advice on how you tackled this issue



Just saw this on the wire yesterday:

http://www.labnol.org/internet/perform-ocr-with-google-docs/10059/

Don't know any more about it than that article, but maybe it's helpful.

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


can I do the following entirety in script? (CF8)

2009-10-02 Thread Glyn Jackson

Hi, 

cfscript (ColdFusion 8) can I do the following entirety in script?


cfloop index=i list=#listToUpdate# DELIMITERS=, 

value = #i#

/cfloop

Thanks 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: can I do the following entirety in script? (CF8)

2009-10-02 Thread Tony Bentley

for(i=1;i lte listlen(listToUpdate,,);i++){
#listgetat(listToUpdate,i,,)#
}

Hi, 

cfscript (ColdFusion 8) can I do the following entirety in script?


cfloop index=i list=#listToUpdate# DELIMITERS=, 

value = #i#

/cfloop

Thanks 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: can I do the following entirety in script? (CF8)

2009-10-02 Thread Tony Bentley

for(i=1;i lte listlen(listToUpdate,,);i++){
#listgetat(listToUpdate,i,,)#
}

sorry forgot WriteOutput(listgetat(listToUpdate,i,,)) 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: reading text from images

2009-10-02 Thread Allen Souliere

For handwritten forms, you generally must use data entry to make them 
electronic.  There is too much variance in handwriting to ever make it 
suitable for OCR.   You should consider either having them all typed in, 
or store them electronically and just create a database with enough 
meta-information about the documents to allow searching.  I guess it 
depends on what the company needs to be able to search by.

Allen

Richard White wrote:
 Thanks for the link jason, we will try this out

 i also should have mentioned that the scanned writing is handwritten. 

 a company is just becoming computerised and therefore wants all previous 
 handwritten forms to be transferred to digital. 

 we are sure many of you have faced the same problem before so would 
 appreciate any advice on how you tackled this issue
   

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


GROUP BY problem...

2009-10-02 Thread Les Mizzell

SELECT
  employees.empID
  employees.name,
  employees_office.theORDER
  office.office_name
  areas.area_NAME
FROM employees
INNER JOIN employees_office ON employees.empID = employees_office.empID
INNER JOIN office ON employees_office.id_office = dbo.office.office_id
INNER JOIN areas ON areas.empID = employees_office.empID
ORDER BY employees.name, employees_office.theORDER


OK, here's the problem

I need to be able to GROUP BY employees.empID so each employee is 
returned only ONCE (a unique empID), but, I can't include any of the 
columns in the other tables in the GROUP BY, because there may be 
multiple records from those tables. An employee may exist in more than 
one city and may also be assigned to many areas.

So, get the employee only ONCE, but return multiples from the other 
joined tables.

Obviously using just GROUP BY empID get us the columns not included 
in aggregrate error. I'm not sure how to fix this. I'd like to do it 
one query, not multipe queries...
Advice?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: GROUP BY problem...

2009-10-02 Thread DURETTE, STEVEN J (ATTASIAIT)

Les,

I think the query as is will do what you want.  Instead of fixing the
query use the Grouping function of cfoutput to only display the employee
name once, but the other data as it is.

Steve


-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Friday, October 02, 2009 12:10 PM
To: cf-talk
Subject: GROUP BY problem...


SELECT
  employees.empID
  employees.name,
  employees_office.theORDER
  office.office_name
  areas.area_NAME
FROM employees
INNER JOIN employees_office ON employees.empID = employees_office.empID
INNER JOIN office ON employees_office.id_office = dbo.office.office_id
INNER JOIN areas ON areas.empID = employees_office.empID
ORDER BY employees.name, employees_office.theORDER


OK, here's the problem

I need to be able to GROUP BY employees.empID so each employee is 
returned only ONCE (a unique empID), but, I can't include any of the 
columns in the other tables in the GROUP BY, because there may be 
multiple records from those tables. An employee may exist in more than 
one city and may also be assigned to many areas.

So, get the employee only ONCE, but return multiples from the other 
joined tables.

Obviously using just GROUP BY empID get us the columns not included 
in aggregrate error. I'm not sure how to fix this. I'd like to do it 
one query, not multipe queries...
Advice?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: GROUP BY problem...

2009-10-02 Thread Agha Mehdi

Why not just
cfoutput query= group=name
 b#name#/bbr
 cfoutput
 #area_name#, #office_name#br
 /cfoutput

/cfoutput

On Fri, Oct 2, 2009 at 9:09 AM, Les Mizzell lesm...@bellsouth.net wrote:


 SELECT
  employees.empID
  employees.name,
  employees_office.theORDER
  office.office_name
  areas.area_NAME
 FROM employees
 INNER JOIN employees_office ON employees.empID = employees_office.empID
 INNER JOIN office ON employees_office.id_office = dbo.office.office_id
 INNER JOIN areas ON areas.empID = employees_office.empID
 ORDER BY employees.name, employees_office.theORDER


 OK, here's the problem

 I need to be able to GROUP BY employees.empID so each employee is
 returned only ONCE (a unique empID), but, I can't include any of the
 columns in the other tables in the GROUP BY, because there may be
 multiple records from those tables. An employee may exist in more than
 one city and may also be assigned to many areas.

 So, get the employee only ONCE, but return multiples from the other
 joined tables.

 Obviously using just GROUP BY empID get us the columns not included
 in aggregrate error. I'm not sure how to fix this. I'd like to do it
 one query, not multipe queries...
 Advice?

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: can I do the following entirety in script? (CF8)

2009-10-02 Thread Barney Boisvert

This isn't a list loop, it's an index loop into a list.  There's is a
marked performance difference if you list is of any size, because you
have to do tokenization of the list at least twice per loop when you
use an index loop.  I did some tests a few years ago and even a
10-item list is about twice as slow to do what you propose compared
with converting the list to an array and looping over the array
(because the tokenization only happens  once).  A 20-item list takes
ten times as long.

The moral of the story is that if you're going to loop over a list
with an index, convert the list to an array first.

cheers,
barneyb

On Fri, Oct 2, 2009 at 8:11 AM, Tony Bentley t...@tonybentley.com wrote:

 for(i=1;i lte listlen(listToUpdate,,);i++){
 #listgetat(listToUpdate,i,,)#
 }

Hi,

cfscript (ColdFusion 8) can I do the following entirety in script?


cfloop index=i list=#listToUpdate# DELIMITERS=, 

value = #i#

/cfloop

Thanks

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: GROUP BY problem...

2009-10-02 Thread Les Mizzell

Agha Mehdi wrote:
 Why not just
 cfoutput query= group=name
  b#name#/bbr
  cfoutput
  #area_name#, #office_name#br
  /cfoutput
 
 /cfoutput

I could - but it's way more complicated than that...

This single query (example was simplified) is responsible for a number 
of pages...

Case A: multiple results based on search params
Case B: a single employee, along with their areas and offices

My thinking - if I can get it correct in the query, then that's less 
data that has to be returned, sorted, whatever and thusly saves a few 
CPU cycles. Why return five copies of basically the same record if 
that's not needed, right?

But, the cfoutput with a group does work. I just don't think it's the 
most efficient way of doing it.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: GROUP BY problem...

2009-10-02 Thread DURETTE, STEVEN J (ATTASIAIT)

Relational databases don't work that way.

Either you have to return all the columns and have data duplication or
you would have to have 2 result sets and match them up with ColdFusion.
It is easier to let the database to the extra heavy lifting and return
one data set with the duplicated information.

You could make multiple columns address1, address2, etc but that is
considered really bad database design and isn't normalized.

Steve


-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Friday, October 02, 2009 12:58 PM
To: cf-talk
Subject: Re: GROUP BY problem...


Agha Mehdi wrote:
 Why not just
 cfoutput query= group=name
  b#name#/bbr
  cfoutput
  #area_name#, #office_name#br
  /cfoutput
 
 /cfoutput

I could - but it's way more complicated than that...

This single query (example was simplified) is responsible for a number 
of pages...

Case A: multiple results based on search params
Case B: a single employee, along with their areas and offices

My thinking - if I can get it correct in the query, then that's less 
data that has to be returned, sorted, whatever and thusly saves a few 
CPU cycles. Why return five copies of basically the same record if 
that's not needed, right?

But, the cfoutput with a group does work. I just don't think it's the 
most efficient way of doing it.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFFileServlet/_cf_image why?

2009-10-02 Thread Glyn Jackson

I am using CFIMAGE do resize images and use write to browser to view them I 
have noticed that when I view the image the path is something like this...

/CFFileServlet/_cf_image/_cfimg-x

how long does it say in this directory for? does it delete them when its done? 
I can still navigate to the URL and view the image after the request!!! why 
does it do this? does it clean its self up?

Thanks 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldbox plugins vs interceptors for user management

2009-10-02 Thread Glyn Jackson

Interceptors make requests in specific execution points in which it can 
process, pre-process, post-process and redirect requests, perfect for security! 
Think of interceptors as listeners to any request in your application.

http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbInterceptorsGuide

A plug-in could make use of an interceptor or it could be a whole security 
plug-in that does many things.

I think it really depends on what your tiring to achieve, does it need to be 
reusable etc. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326845
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFFileServlet/_cf_image why?

2009-10-02 Thread Tony Bentley

Write to browser is similar to file upload. It stores the temporary file for 
that one request then deletes it after. You can always write the image to a 
file of your choice.
cfset src = expandpath(myjpg.jpg)

cfimage source=#Imageobj# action=write destination=#src# overwrite=yes

Then on your output page, 

cfif fileexists(src)
img src=#myjpg.jpg#
/cfif 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326846
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: GROUP BY problem...

2009-10-02 Thread Dave Phillips

Which database server are you using?  Some allow you the ability to return
an aggregate of values in the form of a comma delimited list.  You might be
able to get your result set to look like this:

EMPID NAME  OFFICES
1   DaveBoston (NE), Dallas (SW), Miami (SE)
2   JohnSan Diego (W), New Orleans (S)

Is that the kind of result set you are looking for?

Dave

-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Friday, October 02, 2009 11:10 AM
To: cf-talk
Subject: GROUP BY problem...


SELECT
  employees.empID
  employees.name,
  employees_office.theORDER
  office.office_name
  areas.area_NAME
FROM employees
INNER JOIN employees_office ON employees.empID = employees_office.empID
INNER JOIN office ON employees_office.id_office = dbo.office.office_id
INNER JOIN areas ON areas.empID = employees_office.empID
ORDER BY employees.name, employees_office.theORDER


OK, here's the problem

I need to be able to GROUP BY employees.empID so each employee is 
returned only ONCE (a unique empID), but, I can't include any of the 
columns in the other tables in the GROUP BY, because there may be 
multiple records from those tables. An employee may exist in more than 
one city and may also be assigned to many areas.

So, get the employee only ONCE, but return multiples from the other 
joined tables.

Obviously using just GROUP BY empID get us the columns not included 
in aggregrate error. I'm not sure how to fix this. I'd like to do it 
one query, not multipe queries...
Advice?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326847
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ssl

2009-10-02 Thread Chad Gray

I have some code in application.cfm that is supposed to re-direct the user to a 
non-ssl version of the page.

!--- redirect to non-SSL ---
cfif CGI.HTTPS eq on
cfif Len(CGI.QUERY_STRING)
cflocation 
url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#; 
addtoken=no
cfelse
cflocation url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; 
addtoken=no
/cfif
/cfif


I get this error in Firefox when I try to use it:

Secure Connection Failed
invalid security certificate.
The certificate is not trusted because the issuer certificate is unknown.

(Error code: sec_error_unknown_issuer)

   * This could be a problem with the server's configuration, or it could be 
someone trying to impersonate the server.

   * If you have connected to this server successfully in the past, the error 
may be temporary, and you can try again later.


Any ideas why this would happen?
Thanks!
Chad


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326848
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ssl

2009-10-02 Thread Dave Phillips

My guess is you don't have a valid security certificate on the server.  If
you have any cert installed, Firefox is first going to get that cert info
from the web server before your request ever gets to ColdFusion.  What you
probably need to do is turn off the SSL on that site if you don't want
people going to it.

If you want to accomplish the redirect below without a warning, you'll have
to install a valid certificate.

Dave

-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Friday, October 02, 2009 1:43 PM
To: cf-talk
Subject: ssl


I have some code in application.cfm that is supposed to re-direct the user
to a non-ssl version of the page.

!--- redirect to non-SSL ---
cfif CGI.HTTPS eq on
cfif Len(CGI.QUERY_STRING)
cflocation
url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
addtoken=no
cfelse
cflocation
url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
/cfif
/cfif


I get this error in Firefox when I try to use it:

Secure Connection Failed
invalid security certificate.
The certificate is not trusted because the issuer certificate is unknown.

(Error code: sec_error_unknown_issuer)

   * This could be a problem with the server's configuration, or it could be
someone trying to impersonate the server.

   * If you have connected to this server successfully in the past, the
error may be temporary, and you can try again later.


Any ideas why this would happen?
Thanks!
Chad




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326849
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ssl

2009-10-02 Thread Chad Gray

I remove the code and hit the web site with ssl and it works fine.  I know the 
certificate is good.

https://www.beeculture.com/

This one has me stumped.


 -Original Message-
 From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
 Sent: Friday, October 02, 2009 2:58 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 My guess is you don't have a valid security certificate on the server.  If
 you have any cert installed, Firefox is first going to get that cert info
 from the web server before your request ever gets to ColdFusion.  What you
 probably need to do is turn off the SSL on that site if you don't want
 people going to it.
 
 If you want to accomplish the redirect below without a warning, you'll
 have
 to install a valid certificate.
 
 Dave
 
 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 1:43 PM
 To: cf-talk
 Subject: ssl
 
 
 I have some code in application.cfm that is supposed to re-direct the user
 to a non-ssl version of the page.
 
 !--- redirect to non-SSL ---
 cfif CGI.HTTPS eq on
   cfif Len(CGI.QUERY_STRING)
   cflocation
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
 addtoken=no
   cfelse
   cflocation
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
   /cfif
 /cfif
 
 
 I get this error in Firefox when I try to use it:
 
 Secure Connection Failed
 invalid security certificate.
 The certificate is not trusted because the issuer certificate is unknown.
 
 (Error code: sec_error_unknown_issuer)
 
* This could be a problem with the server's configuration, or it could
 be
 someone trying to impersonate the server.
 
* If you have connected to this server successfully in the past, the
 error may be temporary, and you can try again later.
 
 
 Any ideas why this would happen?
 Thanks!
 Chad
 
 
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326850
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ssl

2009-10-02 Thread Dave Phillips

How about a client side redirect?

cfif CGI.HTTPS eq on
cfif Len(CGI.QUERY_STRING)
scriptwindow.location =
'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#/c
foutput';/script
cfabort
cfelse
scriptwindow.location =
'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#/cfoutput';/script
cfabort   
/cfif
/cfif

Maybe Firefox is trying to protect a user from hitting an SSL page that has
been hijacked somehow

Dave
-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Friday, October 02, 2009 2:06 PM
To: cf-talk
Subject: RE: ssl


I remove the code and hit the web site with ssl and it works fine.  I know
the certificate is good.

https://www.beeculture.com/

This one has me stumped.


 -Original Message-
 From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
 Sent: Friday, October 02, 2009 2:58 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 My guess is you don't have a valid security certificate on the server.  If
 you have any cert installed, Firefox is first going to get that cert info
 from the web server before your request ever gets to ColdFusion.  What you
 probably need to do is turn off the SSL on that site if you don't want
 people going to it.
 
 If you want to accomplish the redirect below without a warning, you'll
 have
 to install a valid certificate.
 
 Dave
 
 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 1:43 PM
 To: cf-talk
 Subject: ssl
 
 
 I have some code in application.cfm that is supposed to re-direct the user
 to a non-ssl version of the page.
 
 !--- redirect to non-SSL ---
 cfif CGI.HTTPS eq on
   cfif Len(CGI.QUERY_STRING)
   cflocation
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
 addtoken=no
   cfelse
   cflocation
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
   /cfif
 /cfif
 
 
 I get this error in Firefox when I try to use it:
 
 Secure Connection Failed
 invalid security certificate.
 The certificate is not trusted because the issuer certificate is unknown.
 
 (Error code: sec_error_unknown_issuer)
 
* This could be a problem with the server's configuration, or it could
 be
 someone trying to impersonate the server.
 
* If you have connected to this server successfully in the past, the
 error may be temporary, and you can try again later.
 
 
 Any ideas why this would happen?
 Thanks!
 Chad
 
 
 
 
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326851
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ssl

2009-10-02 Thread Robert Harrison

If you just want to kick them out of https you can do that with Java script
on the appropriate pages.

script language=JavaScript
  var loc = document.location.toString();
  var index = loc.indexOf(:);
  var url = loc.substring(index,loc.length);
  if (index == 5) 
  { 
 standardUrl = http + url;
 location.replace(standardUrl); // get rid of current page
in history
 location.href = standardUrl;
  }
   /script


Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged



-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Friday, October 02, 2009 3:06 PM
To: cf-talk
Subject: RE: ssl


I remove the code and hit the web site with ssl and it works fine.  I know
the certificate is good.

https://www.beeculture.com/

This one has me stumped.


 -Original Message-
 From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
 Sent: Friday, October 02, 2009 2:58 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 My guess is you don't have a valid security certificate on the server.  If
 you have any cert installed, Firefox is first going to get that cert info
 from the web server before your request ever gets to ColdFusion.  What you
 probably need to do is turn off the SSL on that site if you don't want
 people going to it.
 
 If you want to accomplish the redirect below without a warning, you'll
 have
 to install a valid certificate.
 
 Dave
 
 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 1:43 PM
 To: cf-talk
 Subject: ssl
 
 
 I have some code in application.cfm that is supposed to re-direct the user
 to a non-ssl version of the page.
 
 !--- redirect to non-SSL ---
 cfif CGI.HTTPS eq on
   cfif Len(CGI.QUERY_STRING)
   cflocation
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
 addtoken=no
   cfelse
   cflocation
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
   /cfif
 /cfif
 
 
 I get this error in Firefox when I try to use it:
 
 Secure Connection Failed
 invalid security certificate.
 The certificate is not trusted because the issuer certificate is unknown.
 
 (Error code: sec_error_unknown_issuer)
 
* This could be a problem with the server's configuration, or it could
 be
 someone trying to impersonate the server.
 
* If you have connected to this server successfully in the past, the
 error may be temporary, and you can try again later.
 
 
 Any ideas why this would happen?
 Thanks!
 Chad
 
 
 
 
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326852
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ssl

2009-10-02 Thread Dave Watts

 I have some code in application.cfm that is supposed to re-direct the user to 
 a non-ssl version of the page.

 !--- redirect to non-SSL ---
 cfif CGI.HTTPS eq on
        cfif Len(CGI.QUERY_STRING)
                cflocation 
 url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#; 
 addtoken=no
        cfelse
                cflocation url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; 
 addtoken=no
        /cfif
 /cfif


 I get this error in Firefox when I try to use it:

 Secure Connection Failed
 invalid security certificate.
 The certificate is not trusted because the issuer certificate is unknown.

 (Error code: sec_error_unknown_issuer)

   * This could be a problem with the server's configuration, or it could be 
 someone trying to impersonate the server.

   * If you have connected to this server successfully in the past, the error 
 may be temporary, and you can try again later.

 Any ideas why this would happen?

Typically, this would indicate a self-signed or otherwise
untrustworthy certificate, but that's clearly not the problem as
you've made clear in your followup email. When you get this error,
have you accepted the certificate so that you can examine its
properties? Do you only get the error in Firefox? If you comment out
the block in question in Application.cfm, do you not get the error?

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figl

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326853
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: reading text from images

2009-10-02 Thread Jason Fisher

Agree with Alan here.  If you need ancient handwritten docs to be databased 
and/or search-ready, I would recommend finding a couple college types to do 
some data entry for you at $10 / hour and get it done that way.  OCR can't pick 
up the possible variations among various handwriting forms. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326854
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ssl

2009-10-02 Thread Chad Gray

I tried this code and it takes me to http://www.www.beeculture.com/

www. Should not be part of CGI.ServerName right?



 -Original Message-
 From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
 Sent: Friday, October 02, 2009 3:16 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 How about a client side redirect?
 
 cfif CGI.HTTPS eq on
   cfif Len(CGI.QUERY_STRING)
   scriptwindow.location =
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#
 /c
 foutput';/script
   cfabort
   cfelse
   scriptwindow.location =
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#/cfoutput';/scrip
 t
   cfabort
   /cfif
 /cfif
 
 Maybe Firefox is trying to protect a user from hitting an SSL page that
 has
 been hijacked somehow
 
 Dave
 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 2:06 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 I remove the code and hit the web site with ssl and it works fine.  I know
 the certificate is good.
 
 https://www.beeculture.com/
 
 This one has me stumped.
 
 
  -Original Message-
  From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
  Sent: Friday, October 02, 2009 2:58 PM
  To: cf-talk
  Subject: RE: ssl
 
 
  My guess is you don't have a valid security certificate on the server.
 If
  you have any cert installed, Firefox is first going to get that cert
 info
  from the web server before your request ever gets to ColdFusion.  What
 you
  probably need to do is turn off the SSL on that site if you don't want
  people going to it.
 
  If you want to accomplish the redirect below without a warning, you'll
  have
  to install a valid certificate.
 
  Dave
 
  -Original Message-
  From: Chad Gray [mailto:cg...@careyweb.com]
  Sent: Friday, October 02, 2009 1:43 PM
  To: cf-talk
  Subject: ssl
 
 
  I have some code in application.cfm that is supposed to re-direct the
 user
  to a non-ssl version of the page.
 
  !--- redirect to non-SSL ---
  cfif CGI.HTTPS eq on
  cfif Len(CGI.QUERY_STRING)
  cflocation
  url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
  addtoken=no
  cfelse
  cflocation
  url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
  /cfif
  /cfif
 
 
  I get this error in Firefox when I try to use it:
 
  Secure Connection Failed
  invalid security certificate.
  The certificate is not trusted because the issuer certificate is
 unknown.
 
  (Error code: sec_error_unknown_issuer)
 
 * This could be a problem with the server's configuration, or it
 could
  be
  someone trying to impersonate the server.
 
 * If you have connected to this server successfully in the past, the
  error may be temporary, and you can try again later.
 
 
  Any ideas why this would happen?
  Thanks!
  Chad
 
 
 
 
 
 
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ssl

2009-10-02 Thread Chad Gray

OH.. hang on it only errors in firefox.  I tried IE and the certificate and my 
original code work fine (after I remove the www.)  CGI.ServerName does include 
www. (DUH!).

Now I just have to figure out why the SSL cert does not work in FireFox.  



 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 3:30 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 I tried this code and it takes me to http://www.www.beeculture.com/
 
 www. Should not be part of CGI.ServerName right?
 
 
 
  -Original Message-
  From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
  Sent: Friday, October 02, 2009 3:16 PM
  To: cf-talk
  Subject: RE: ssl
 
 
  How about a client side redirect?
 
  cfif CGI.HTTPS eq on
  cfif Len(CGI.QUERY_STRING)
  scriptwindow.location =
 
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#
  /c
  foutput';/script
  cfabort
  cfelse
  scriptwindow.location =
 
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#/cfoutput';/scrip
  t
  cfabort
  /cfif
  /cfif
 
  Maybe Firefox is trying to protect a user from hitting an SSL page that
  has
  been hijacked somehow
 
  Dave
  -Original Message-
  From: Chad Gray [mailto:cg...@careyweb.com]
  Sent: Friday, October 02, 2009 2:06 PM
  To: cf-talk
  Subject: RE: ssl
 
 
  I remove the code and hit the web site with ssl and it works fine.  I
 know
  the certificate is good.
 
  https://www.beeculture.com/
 
  This one has me stumped.
 
 
   -Original Message-
   From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
   Sent: Friday, October 02, 2009 2:58 PM
   To: cf-talk
   Subject: RE: ssl
  
  
   My guess is you don't have a valid security certificate on the server.
  If
   you have any cert installed, Firefox is first going to get that cert
  info
   from the web server before your request ever gets to ColdFusion.  What
  you
   probably need to do is turn off the SSL on that site if you don't want
   people going to it.
  
   If you want to accomplish the redirect below without a warning, you'll
   have
   to install a valid certificate.
  
   Dave
  
   -Original Message-
   From: Chad Gray [mailto:cg...@careyweb.com]
   Sent: Friday, October 02, 2009 1:43 PM
   To: cf-talk
   Subject: ssl
  
  
   I have some code in application.cfm that is supposed to re-direct the
  user
   to a non-ssl version of the page.
  
   !--- redirect to non-SSL ---
   cfif CGI.HTTPS eq on
 cfif Len(CGI.QUERY_STRING)
 cflocation
   url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
   addtoken=no
 cfelse
 cflocation
   url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
 /cfif
   /cfif
  
  
   I get this error in Firefox when I try to use it:
  
   Secure Connection Failed
   invalid security certificate.
   The certificate is not trusted because the issuer certificate is
  unknown.
  
   (Error code: sec_error_unknown_issuer)
  
  * This could be a problem with the server's configuration, or it
  could
   be
   someone trying to impersonate the server.
  
  * If you have connected to this server successfully in the past,
 the
   error may be temporary, and you can try again later.
  
  
   Any ideas why this would happen?
   Thanks!
   Chad
  
  
  
  
  
 
 
 
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: reading text from images

2009-10-02 Thread Allen Souliere

Jason Fisher wrote:
 Agree with Alan here.  If you need ancient handwritten docs to be databased 
 and/or search-ready, I would recommend finding a couple college types to do 
 some data entry for you at $10 / hour and get it done that way.  OCR can't 
 pick up the possible variations among various handwriting forms. 

   
Exactly. 

I would consider, though, finding a company that does double data 
entry.  The cost is generally quite acceptable, and the accuracy of 
using a professional data entry firm is well worth it.  They can also 
handle very large volumes very quickly. 

Years ago, I actually worked in Data Entry, doing birth certificates, 
death certificates, hunting entries, school marks, etc.  I've seen some 
_truly_ terrible writing, and in the long run I think data entry firms 
catch much more of those mistakes than most people would.

Best of Luck,
Allen

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326857
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ssl

2009-10-02 Thread Dave Phillips

I think that simply translates what the user typed.  If they typed in the
www, then it will be part of it.  If not, it won't. The CGI doesn't look
into your web server to see what your actual domain name is.  Do this:

cfdump var=#cgi#

This will give you all the CGI variables and you can figure out what your
results actually are with different attempts.

Dave

-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Friday, October 02, 2009 2:30 PM
To: cf-talk
Subject: RE: ssl


I tried this code and it takes me to http://www.www.beeculture.com/

www. Should not be part of CGI.ServerName right?



 -Original Message-
 From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
 Sent: Friday, October 02, 2009 3:16 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 How about a client side redirect?
 
 cfif CGI.HTTPS eq on
   cfif Len(CGI.QUERY_STRING)
   scriptwindow.location =
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#
 /c
 foutput';/script
   cfabort
   cfelse
   scriptwindow.location =
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#/cfoutput';/scrip
 t
   cfabort
   /cfif
 /cfif
 
 Maybe Firefox is trying to protect a user from hitting an SSL page that
 has
 been hijacked somehow
 
 Dave
 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 2:06 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 I remove the code and hit the web site with ssl and it works fine.  I know
 the certificate is good.
 
 https://www.beeculture.com/
 
 This one has me stumped.
 
 
  -Original Message-
  From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
  Sent: Friday, October 02, 2009 2:58 PM
  To: cf-talk
  Subject: RE: ssl
 
 
  My guess is you don't have a valid security certificate on the server.
 If
  you have any cert installed, Firefox is first going to get that cert
 info
  from the web server before your request ever gets to ColdFusion.  What
 you
  probably need to do is turn off the SSL on that site if you don't want
  people going to it.
 
  If you want to accomplish the redirect below without a warning, you'll
  have
  to install a valid certificate.
 
  Dave
 
  -Original Message-
  From: Chad Gray [mailto:cg...@careyweb.com]
  Sent: Friday, October 02, 2009 1:43 PM
  To: cf-talk
  Subject: ssl
 
 
  I have some code in application.cfm that is supposed to re-direct the
 user
  to a non-ssl version of the page.
 
  !--- redirect to non-SSL ---
  cfif CGI.HTTPS eq on
  cfif Len(CGI.QUERY_STRING)
  cflocation
  url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
  addtoken=no
  cfelse
  cflocation
  url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
  /cfif
  /cfif
 
 
  I get this error in Firefox when I try to use it:
 
  Secure Connection Failed
  invalid security certificate.
  The certificate is not trusted because the issuer certificate is
 unknown.
 
  (Error code: sec_error_unknown_issuer)
 
 * This could be a problem with the server's configuration, or it
 could
  be
  someone trying to impersonate the server.
 
 * If you have connected to this server successfully in the past, the
  error may be temporary, and you can try again later.
 
 
  Any ideas why this would happen?
  Thanks!
  Chad
 
 
 
 
 
 
 
 
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ssl

2009-10-02 Thread Dave Phillips

But you said the cert works fine in firefox when you go the
https://www.beeculture.com, right?  That's why I think Firefox is trying to
recognize the server side redirect and thinks it might be a hacking attempt.
Microsoft probably would never be so thoughtful to put that into IE. ;-)

On the other hand, if that is the case, then it's a headache for you and you
may have to put some firefox specific code into place (i.e. the client-side
redirect, only if it's firefox).  

Dump the CGI scope, I think you'll find everything you need there to
accomplish what you need...

Dave

-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Friday, October 02, 2009 2:35 PM
To: cf-talk
Subject: RE: ssl


OH.. hang on it only errors in firefox.  I tried IE and the certificate and
my original code work fine (after I remove the www.)  CGI.ServerName does
include www. (DUH!).

Now I just have to figure out why the SSL cert does not work in FireFox.  



 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Friday, October 02, 2009 3:30 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 I tried this code and it takes me to http://www.www.beeculture.com/
 
 www. Should not be part of CGI.ServerName right?
 
 
 
  -Original Message-
  From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
  Sent: Friday, October 02, 2009 3:16 PM
  To: cf-talk
  Subject: RE: ssl
 
 
  How about a client side redirect?
 
  cfif CGI.HTTPS eq on
  cfif Len(CGI.QUERY_STRING)
  scriptwindow.location =
 
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#
  /c
  foutput';/script
  cfabort
  cfelse
  scriptwindow.location =
 
 'cfoutputhttp://www.#CGI.SERVER_NAME##CGI.PATH_INFO#/cfoutput';/scrip
  t
  cfabort
  /cfif
  /cfif
 
  Maybe Firefox is trying to protect a user from hitting an SSL page that
  has
  been hijacked somehow
 
  Dave
  -Original Message-
  From: Chad Gray [mailto:cg...@careyweb.com]
  Sent: Friday, October 02, 2009 2:06 PM
  To: cf-talk
  Subject: RE: ssl
 
 
  I remove the code and hit the web site with ssl and it works fine.  I
 know
  the certificate is good.
 
  https://www.beeculture.com/
 
  This one has me stumped.
 
 
   -Original Message-
   From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
   Sent: Friday, October 02, 2009 2:58 PM
   To: cf-talk
   Subject: RE: ssl
  
  
   My guess is you don't have a valid security certificate on the server.
  If
   you have any cert installed, Firefox is first going to get that cert
  info
   from the web server before your request ever gets to ColdFusion.  What
  you
   probably need to do is turn off the SSL on that site if you don't want
   people going to it.
  
   If you want to accomplish the redirect below without a warning, you'll
   have
   to install a valid certificate.
  
   Dave
  
   -Original Message-
   From: Chad Gray [mailto:cg...@careyweb.com]
   Sent: Friday, October 02, 2009 1:43 PM
   To: cf-talk
   Subject: ssl
  
  
   I have some code in application.cfm that is supposed to re-direct the
  user
   to a non-ssl version of the page.
  
   !--- redirect to non-SSL ---
   cfif CGI.HTTPS eq on
 cfif Len(CGI.QUERY_STRING)
 cflocation
   url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#;
   addtoken=no
 cfelse
 cflocation
   url=http://www.#CGI.SERVER_NAME##CGI.PATH_INFO#; addtoken=no
 /cfif
   /cfif
  
  
   I get this error in Firefox when I try to use it:
  
   Secure Connection Failed
   invalid security certificate.
   The certificate is not trusted because the issuer certificate is
  unknown.
  
   (Error code: sec_error_unknown_issuer)
  
  * This could be a problem with the server's configuration, or it
  could
   be
   someone trying to impersonate the server.
  
  * If you have connected to this server successfully in the past,
 the
   error may be temporary, and you can try again later.
  
  
   Any ideas why this would happen?
   Thanks!
   Chad
  
  
  
  
  
 
 
 
 
 
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326859
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ssl

2009-10-02 Thread Chad Gray

Thanks Dave, it ends up FireFox is not compatible with this GoDaddy class 2 
certificate for some reason.

I guess firefox does not have the CA chain in it.

Thanks for the help!



 -Original Message-
 From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com]
 Sent: Friday, October 02, 2009 3:44 PM
 To: cf-talk
 Subject: RE: ssl
 
 
 I think that simply translates what the user typed.  If they typed in the
 www, then it will be part of it.  If not, it won't. The CGI doesn't look
 into your web server to see what your actual domain name is.  Do this:
 
 cfdump var=#cgi#
 
 This will give you all the CGI variables and you can figure out what your
 results actually are with different attempts.
 
 Dave
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFFileServlet/_cf_image why?

2009-10-02 Thread Glyn Jackson

Are you sure it deletes it afterwards I.E
http://www.safe4sure.co.uk/CFFileServlet/_cf_image/_cfimg-7294859208909333435.PNG
its still there?

do you set how CF treats these files in CFadmin? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326861
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: can I do the following entirety in script? (CF8)

2009-10-02 Thread Glyn Jackson

barneyb thats interesting thanks


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326862
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFFileServlet/_cf_image why?

2009-10-02 Thread Glyn Jackson

O went back 5 mins later to that URL and got...

404
Not Found

so there must be some sort of time frame before its deleted, anyone know what 
this is? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326863
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF 8 creating J2EE Archives

2009-10-02 Thread Dirk Johnson

I've been trying unsuccessfully to create war file archives of our coldfusion 8 
server.  I end up with an empty directory.  All we would like to do is create a 
war file that can be deployed to multiple J2EE application servers preserving 
the administrator settings - there is no application to associate with the war 
because the content files live elsewhere.  Any thoughts? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFFileServlet/_cf_image why?

2009-10-02 Thread Azadi Saryev

it's about 5 min :)

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 03/10/2009 04:04, Glyn Jackson wrote:
 O went back 5 mins later to that URL and got...

 404
 Not Found

 so there must be some sort of time frame before its deleted, anyone know what 
 this is? 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFFileServlet/_cf_image why?

2009-10-02 Thread Glyn Jackson

LOL, set myself up for that one :) 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326866
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ssl

2009-10-02 Thread denstar

Maybe you need to install the intermediate certificate?  Usually the
cert provider gives it to you with the cert.  In apache httpd.conf it
goes in like this:

SSLCertificateFile /path/to/your.crt
SSLCertificateKeyFile /path/to/your.key
SSLCertificateChainFile /path/to/your/chainFile.crt

-- 
It probably helps that my background is in the sciences and I can
speak the scientists' language.
David Chalmers

On Fri, Oct 2, 2009 at 1:46 PM, Chad Gray wrote:

 Thanks Dave, it ends up FireFox is not compatible with this GoDaddy class 2 
 certificate for some reason.

 I guess firefox does not have the CA chain in it.

 Thanks for the help!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326867
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF 8 creating J2EE Archives

2009-10-02 Thread denstar

I've got an Ant build file for Railo that should be pretty editable
for Adobe CF...

I'm a little wary of making WARs with Adobe CF libs tho, as the engine
isn't free.

Theoretically, all you really need is the jars in the container's
classpath, and a WEB-INF/web.xml with the correct information for
serving the CFML.

Wonder why you're getting an empty dir tho... huh.  Not a clue.

-- 
People have managed to avert their eyes and hope for the best.
David Chalmers

On Fri, Oct 2, 2009 at 2:16 PM, Dirk Johnson wrote:

 I've been trying unsuccessfully to create war file archives of our coldfusion 
 8 server.  I end up with an empty directory.  All we would like to do is 
 create a war file that can be deployed to multiple J2EE application servers 
 preserving the administrator settings - there is no application to associate 
 with the war because the content files live elsewhere.  Any though

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4