RE: Dreaded cfform.js Error

2005-04-04 Thread Calvin Ward
Actually, I'm pretty sure that cfform.js is used by the html forms for
JavaScript validation.

In CF 5, the JavaScript was embedded in the header, in CFMX 6.1+, the JS is
linked to from the header, and that default path is /cfide/scripts/cfform.js
(note: wddx JavaScript functions are handled the same way.). One of the
possible fixes is to place a copy of the scripts directory on your site
under CFIDE. Another solution is to change the src attribute of cfform to
point to wherever the file is. And another is to change the default location
of the js (in the CF Admin, may be CFMX 7 only).

If you do one of these fixes and it still doesn't seem to work, try creating
a brandnew form in another file just to test outside of your existing code.

- Calvin

-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 03, 2005 10:37 PM
To: CF-Talk
Subject: RE: Dreaded cfform.js Error

flash forms are pretty sensitive to errors. I was gunna run it on my machine
and see what happens and if I get the same error. If you want feel free to
send it to me off line and I will give it a try.


From: Russ Unger [EMAIL PROTECTED]
Sent: Sunday, April 03, 2005 10:32 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Dreaded cfform.js Error 

 code?

It's a couple hundred lines; I was hoping that the behavior might
trigger something. It's a bit involved and I'd be happy to share, but I
don't want to bog down the list with my sloppy coding.

Russ





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201332
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreaded cfform.js Error

2005-04-04 Thread Pete Ruckelshaus
Make sure you have the /cfide directory mapped as a virtual directory
on your web server.

On Apr 4, 2005 7:31 AM, Calvin Ward [EMAIL PROTECTED] wrote:
 Actually, I'm pretty sure that cfform.js is used by the html forms for
 JavaScript validation.
 
 In CF 5, the JavaScript was embedded in the header, in CFMX 6.1+, the JS is
 linked to from the header, and that default path is /cfide/scripts/cfform.js
 (note: wddx JavaScript functions are handled the same way.). One of the
 possible fixes is to place a copy of the scripts directory on your site
 under CFIDE. Another solution is to change the src attribute of cfform to
 point to wherever the file is. And another is to change the default location
 of the js (in the CF Admin, may be CFMX 7 only).
 
 If you do one of these fixes and it still doesn't seem to work, try creating
 a brandnew form in another file just to test outside of your existing code.
 
 - Calvin
 
 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED]
 Sent: Sunday, April 03, 2005 10:37 PM
 To: CF-Talk
 Subject: RE: Dreaded cfform.js Error
 
 flash forms are pretty sensitive to errors. I was gunna run it on my machine
 and see what happens and if I get the same error. If you want feel free to
 send it to me off line and I will give it a try.
 
 
 From: Russ Unger [EMAIL PROTECTED]
 Sent: Sunday, April 03, 2005 10:32 PM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: RE: Dreaded cfform.js Error
 
  code?
 
 It's a couple hundred lines; I was hoping that the behavior might
 trigger something. It's a bit involved and I'd be happy to share, but I
 don't want to bog down the list with my sloppy coding.
 
 Russ
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201367
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreaded cfform.js Error

2005-04-04 Thread Calvin Ward
It doesn't have to be mapped, it can be physically beneath each site (if you
do that, be sure to NOT include your CF Admin stuff).

- Calvin

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 11:41 AM
To: CF-Talk
Subject: Re: Dreaded cfform.js Error

Make sure you have the /cfide directory mapped as a virtual directory
on your web server.

On Apr 4, 2005 7:31 AM, Calvin Ward [EMAIL PROTECTED] wrote:
 Actually, I'm pretty sure that cfform.js is used by the html forms for
 JavaScript validation.
 
 In CF 5, the JavaScript was embedded in the header, in CFMX 6.1+, the JS
is
 linked to from the header, and that default path is
/cfide/scripts/cfform.js
 (note: wddx JavaScript functions are handled the same way.). One of the
 possible fixes is to place a copy of the scripts directory on your site
 under CFIDE. Another solution is to change the src attribute of cfform to
 point to wherever the file is. And another is to change the default
location
 of the js (in the CF Admin, may be CFMX 7 only).
 
 If you do one of these fixes and it still doesn't seem to work, try
creating
 a brandnew form in another file just to test outside of your existing
code.
 
 - Calvin
 
 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED]
 Sent: Sunday, April 03, 2005 10:37 PM
 To: CF-Talk
 Subject: RE: Dreaded cfform.js Error
 
 flash forms are pretty sensitive to errors. I was gunna run it on my
machine
 and see what happens and if I get the same error. If you want feel free to
 send it to me off line and I will give it a try.
 
 
 From: Russ Unger [EMAIL PROTECTED]
 Sent: Sunday, April 03, 2005 10:32 PM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: RE: Dreaded cfform.js Error
 
  code?
 
 It's a couple hundred lines; I was hoping that the behavior might
 trigger something. It's a bit involved and I'd be happy to share, but I
 don't want to bog down the list with my sloppy coding.
 
 Russ
 
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreaded cfform.js Error

2005-04-03 Thread Douglas Knudsen
so what happens if you browse to http://servers IP/CFIDE/scripts/cfform.js 
? 
 D

 On Apr 3, 2005 6:13 PM, Russ Unger [EMAIL PROTECTED] wrote: 
 
 I've been coding along nicely today, and then suddenly, on my test server, 
 I notice that I'm getting a missing page error when I submit a form.
 
 I checked all of my includes. They appear to be intact. I push to my prod 
 server to check against everything, and the same thing happens, but my logs 
 report this:
 
 [Sun Apr 3 19:23:26 2005] [error] [client ip address] File does not 
 exist: /home/website/public_html/CFIDE/scripts/cfform.js
 
 Now, I'll always admit to being more of a hack with CF than an actual 
 developer, and if it weren't for forums just like this, I'd probably not 
 have completed more than a couple of my projects. I'm lost. I'm just not 
 sure what's going on here and I've a feeling I've just made a syntax snafu 
 that's causing this to be a bit ugly But then again, I could be wrong, 
 as I've just noticed it's happening on a couple of other CFMX sites on my 
 server.
 
 I've tried moving a /CFIDE/scripts/cfform.js location on the server, but I 
 still get the same error--I thought that, based on some research, that might 
 actually help or totally fix the problem.
 
 Can anyone offer any insight/guidance here? I'm really struggling with 
 this.
 
 Thanks,
 
 Russ
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201311
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


re: Dreaded cfform.js Error

2005-04-03 Thread dave
code?


From: Russ Unger [EMAIL PROTECTED]
Sent: Sunday, April 03, 2005 9:16 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Dreaded cfform.js Error 

I've been coding along nicely today, and then suddenly, on my test server, I 
notice that I'm getting a missing page error when I submit a form.

I checked all of my includes. They appear to be intact. I push to my prod 
server to check against everything, and the same thing happens, but my logs 
report this:

[Sun Apr 3 19:23:26 2005] [error] [client ] File does not exist: 
/home/website/public_html/CFIDE/scripts/cfform.js

Now, I'll always admit to being more of a hack with CF than an actual 
developer, and if it weren't for forums just like this, I'd probably not have 
completed more than a couple of my projects. I'm lost. I'm just not sure what's 
going on here and I've a feeling I've just made a syntax snafu that's causing 
this to be a bit ugly But then again, I could be wrong, as I've just 
noticed it's happening on a couple of other CFMX sites on my server.

I've tried moving a /CFIDE/scripts/cfform.js location on the server, but I 
still get the same error--I thought that, based on some research, that might 
actually help or totally fix the problem.

Can anyone offer any insight/guidance here? I'm really struggling with this.

Thanks,

Russ 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201312
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreaded cfform.js Error

2005-04-03 Thread Russ Unger
 so what happens if you browse to http://servers 
 IP/CFIDE/scripts/cfform.js 

Browser tries to download the file.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201314
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreaded cfform.js Error

2005-04-03 Thread Russ Unger
 code?

It's a couple hundred lines; I was hoping that the behavior might
trigger something.  It's a bit involved and I'd be happy to share, but I
don't want to bog down the list with my sloppy coding.

Russ


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201315
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreaded cfform.js Error

2005-04-03 Thread dave
flash forms are pretty sensitive to errors. I was gunna run it on my machine 
and see what happens and if I get the same error. If you want feel free to send 
it to me off line and I will give it a try.


From: Russ Unger [EMAIL PROTECTED]
Sent: Sunday, April 03, 2005 10:32 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: Dreaded cfform.js Error 

 code?

It's a couple hundred lines; I was hoping that the behavior might
trigger something. It's a bit involved and I'd be happy to share, but I
don't want to bog down the list with my sloppy coding.

Russ



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201316
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54