Re: AJAX Issue

2012-12-20 Thread Bruce Sorge
Thanks Ray, I'll look into this for sure. And yeah, I am wrapping all the pages in a header, footer and nab in the application.cfc. I'll switch it to an include in the page instead. I've been out of web development for about 4 years and have obviously fallen behind the knowledge curve. Thanks f

Re: AJAX Issue

2012-12-20 Thread Raymond Camden
Here is a video demonstrating chrome dev tools: http://www.raymondcamden.com/index.cfm/2011/6/15/Example-of-using-Chrome-Dev-tools-to-solve-Ajax-issues On Thu, Dec 20, 2012 at 8:54 PM, Raymond Camden wrote: > As to your error, it is very obvious if you use the Chrome Dev Tools. I > cannot stre

Re: AJAX Issue

2012-12-20 Thread Raymond Camden
As to your error, it is very obvious if you use the Chrome Dev Tools. I cannot stress this enough. You *need* to learn how to use your browser dev tools as it makes this stuff a heck of a lot easier. I opened it up in Chrome, went to the Network panel, filtered on XHR. I then entered 88 in the fi

Re: AJAX Issue

2012-12-20 Thread Raymond Camden
I'll take a look, but I need to nitpick something. AJAX isn't a language. It is simply the name of a technique used in JavaScript to communicate with a server. Spry uses AJAX too. (But don't use Spry anymore. It's old like Donkey Kong.) On Thu, Dec 20, 2012 at 7:49 PM, Bruce Sorge wrote: > > O

AJAX Issue

2012-12-20 Thread Bruce Sorge
OK, so I gave up on the Spry version of the database validation and moved onto AJAX (a language I really don't know a lot about but I am slowly figuring it out). Anyway, I have the code working the way I want with the exception that when the validation is done, whether the code is valid or not,

Re: Script Issue

2012-12-20 Thread Bruce Sorge
What is really pissing me off about this issue is that even if I copy your example verbatim and it does not work. I even went to the source of your example and copied and pasted and it did not work on my test machine. I might just roll it out to the production site since it's not done yet and s

Recommendations for audio video players

2012-12-20 Thread Rob Voyle
Hi Folks Any recommendationns for audio/video player integration with CF9 using cfmediaplayer Thanks Rob PS the image upload/cropping etc. is workig well. thanks for all the help ~| Order the Adobe Coldfusion Anthology now!

Re: Redirecting PDF documents

2012-12-20 Thread .jonah
Would need to be done at the web server level. On 12/20/12 1:59 PM, Dave Watts wrote: >> Just wondering if it possible to redirect a pdf document. In coldfusion, I >> am assuming no since we need to have some kind of >> redirect code on that particular page we want to redirect? > I'm not sure wh

Re: CF10 and IIS

2012-12-20 Thread Dave Watts
> How are CFM pages skipping the windows authentication? By default, CF URLs are passed by IIS to CF before IIS checks the filesystem. 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 Schedu

RE: CF10 and IIS

2012-12-20 Thread Chad Gray
OK this is really strange. I had to add "Windows Authentication" to get the HTML files to be served. Now my CFM files are served (never asked for a login/password) The HTML files you have to enter a login and password, but they are served. How are CFM pages skipping the windows authentication?

Re: Redirecting PDF documents

2012-12-20 Thread Dave Watts
> Just wondering if it possible to redirect a pdf document. In coldfusion, I am > assuming no since we need to have some kind of > redirect code on that particular page we want to redirect? I'm not sure what you're trying to accomplish, exactly. But no, PDFs don't support redirection by default.

Re: CF10 and IIS

2012-12-20 Thread Dave Watts
> I made a second website in IIS and HTML files returns this error: > 401 - Unauthorized: Access is denied due to invalid credentials. > > CFMs work fine, but HTML files do not? > > Ideas? > > Anonymous Authentication is enabled. Ensure that the "Authenticated Users" group has read/execute right

RE: CF10 and IIS

2012-12-20 Thread Russ Michaels
You have permission issues on the website folder. Does the users group have read, write, execite Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 20, 2012 9:27 PM, "Chad Gray" wrote: > > OK new question.

RE: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Chad Gray
Is there an application.cfm for cfc that is preventing the file from running? Like some websites I setup a login/password code in the application.cfm page. No page will run unless that code is happy that someone is logged in. -Original Message- From: Torrent Girl [mailto:moniqueb...

Re: CF10 and IIS

2012-12-20 Thread Andrew Scott
The only thing I can think of, is that the IIS mime and handlers are not working globally. I can't say I have ever come across that, and to be honest the last time I server an HTML file is well over 16 years now. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus

RE: CF10 and IIS

2012-12-20 Thread Chad Gray
OK new question. IIS seems to be serving out CFM files fine. I made a second website in IIS and HTML files returns this error: 401 - Unauthorized: Access is denied due to invalid credentials. CFMs work fine, but HTML files do not? Ideas? Anonymous Authentication is enabled.

Redirecting PDF documents

2012-12-20 Thread fun and learning
Just wondering if it possible to redirect a pdf document. In coldfusion, I am assuming no since we need to have some kind of redirect code on that particular page we want to redirect? ~| Order the Adobe Coldfusion Anthology no

Re: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Claude Schnéegans
You could also check in the logs, if something wrong happens, it should be tracable in the mail log. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

RE: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread DURETTE, STEVEN J
You might also want to check and make sure that the email addresses you are sending to are valid. It could be failing on that. There is a java switch that will let an email go out to valid emails even if there are invalid ones, but I don't remember the switch at the moment. Steve ~~~

Re: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Andrew Scott
Aside from those options, something else to consider. I would assume that there is no conditionally logic in the template, that is failing and skipping the sending of the email. Just another thing to double check, just to be on the safe side. -- Regards, Andrew Scott WebSite: http://www.andysco

Re: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Torrent Girl
>If you browse the task manually does an error appear on the screen, or >anything in the logs to indicate this. Look in the undil folder and see if >any are there and match the dates with the logs and see what turns up. > >But it might be just as simple as running the page manually and seeing what

Re: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Andrew Scott
If you browse the task manually does an error appear on the screen, or anything in the logs to indicate this. Look in the undil folder and see if any are there and match the dates with the logs and see what turns up. But it might be just as simple as running the page manually and seeing what erro

CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Torrent Girl
Hi All I have a scheduled task that runs with no problem. It is set up to send an email. The email is not being sent. Any suggestions? TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-A

Re: CF10 and IIS

2012-12-20 Thread Andrew Scott
no -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Dec 21, 2012 at 7:13 AM, Chad Gray wrote: > > Does CF10 needs the IIS 6 Metabase? > > > > ~| O

Re: CF10 and IIS

2012-12-20 Thread Wil Genovese
It hasn't needed any II6 extensions for the installations I've done. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Dec 20, 2012, at 2:13 PM, Chad Gray wrote: > > Does CF10 needs the IIS 6 Metabase?

RE: cfftp with SSL (Coldfusion 8)

2012-12-20 Thread James Davis
Neither CF8 or CF9 support SFTP using CFFTP. However, like Russ mentioned, you can use some java libraries as an alternative. One project I worked on that required connecting to an sftp server we used the apache commons-net library (commons.apache.org/net) and it worked like a charm. Not near

CF10 and IIS

2012-12-20 Thread Chad Gray
Does CF10 needs the IIS 6 Metabase? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cf

Re: Script Issue

2012-12-20 Thread Raymond Camden
Then you need to debug in your CFM. On Thu, Dec 20, 2012 at 11:10 AM, Bruce Sorge wrote: > > No matter what I put in, I get a 1 as the result var. > On Dec 20, 2012, at 12:00 PM, Raymond Camden > wrote: > > > > > So what is result? If you use the XHR portion of your JS console you can > > see

Re: Script Issue

2012-12-20 Thread Bruce Sorge
No matter what I put in, I get a 1 as the result var. On Dec 20, 2012, at 12:00 PM, Raymond Camden wrote: > > So what is result? If you use the XHR portion of your JS console you can > see it, or just plain alert() it. > >

Re: Script Issue

2012-12-20 Thread Raymond Camden
So what is result? If you use the XHR portion of your JS console you can see it, or just plain alert() it. On Thu, Dec 20, 2012 at 10:32 AM, Bruce Sorge wrote: > > I didn't see anything that stands out. What's interesting is that if I > change this line from this: > > if(result == 0) status('Y

Re: cfobject .net assembly

2012-12-20 Thread Randy Smith
Akos, Did you ever figure this out? I'm at the exact same spot now as you were then. Thanks! RLS > wondering if anyone has experience with using cfobject with .net > assembly > > this is the testing code so far: > > > > > > > > This dumps out a list of methods can be used such as Add(

Re: Script Issue

2012-12-20 Thread Bruce Sorge
I didn't see anything that stands out. What's interesting is that if I change this line from this: if(result == 0) status('You have entered an invalid code. Please try again!'); else status(''); to this: if(result == 0) status('You have entered an invalid code. Please try agai

Re: Script Issue

2012-12-20 Thread Raymond Camden
Have you looked at your web console to examine the XHR hit and see the response? On Thu, Dec 20, 2012 at 9:20 AM, Bruce Sorge wrote: > > Yeah, I forgot that. Thanks. Now the issue is that when I enter a code in > the database, I don't get any message at all. This is driving me nuts. And > agai

Re: Script Issue

2012-12-20 Thread Raymond Camden
? Did I make a funny and not know it? ;) On Thu, Dec 20, 2012 at 9:20 AM, Brian Thornton wrote: > > I love how raymond answers this question... > On Dec 20, 2012 10:14 AM, "Raymond Camden" > wrote: > > > > > The error is on this line, > > > >var resultblock = document.getElementById("resul

Re: Script Issue

2012-12-20 Thread Brian Thornton
I love how raymond answers this question... On Dec 20, 2012 10:14 AM, "Raymond Camden" wrote: > > The error is on this line, > >var resultblock = document.getElementById("resultblock"); > > So ensure you have a or with that ID. > > > On Thu, Dec 20, 2012 at 9:06 AM, Bruce Sorge wrote: > >

Re: Script Issue

2012-12-20 Thread Bruce Sorge
Yeah, I forgot that. Thanks. Now the issue is that when I enter a code in the database, I don't get any message at all. This is driving me nuts. And again, I know that the calling CFM file works and I also know that the script is calling the checkorgname.cfm file because if I change the name of

Re: Script Issue

2012-12-20 Thread Raymond Camden
The error is on this line, var resultblock = document.getElementById("resultblock"); So ensure you have a or with that ID. On Thu, Dec 20, 2012 at 9:06 AM, Bruce Sorge wrote: > > I needed a way to check a database when someone enters a code into a form > field, and I ran across an old p

Re: Script Issue

2012-12-20 Thread Brian McCairn
I might have missed it scanning through but have you got a form field called resultblock? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Script Issue

2012-12-20 Thread Bruce Sorge
I needed a way to check a database when someone enters a code into a form field, and I ran across an old posting from Ray Camden using SPRY assets to accomplish this. (I know that I should probably use AJAX or jQuery, but I have not learned these languages yet so I am stuck going off of what I

Re: cfftp with SSL (Coldfusion 8)

2012-12-20 Thread Steve Milburn
Really? I've used CF8 with Bitvise and Tumbleweed sFTP servers for a while and it works a treat. I used a blog post by Ben Nadel as a guide: http://www.bennadel.com/blog/1337-My-First-ColdFusion-8-CFFTP-Experience-Rocky-But-Triumphant.htm Anyway, this doesn't address the initial question of usi

Re: Secure Image Uploads

2012-12-20 Thread Russ Michaels
Do a daily cleanup of uploaded files Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 20, 2012 1:55 AM, "Pete Freitag" wrote: > > From a security perspective you don't want to skip the file extension > t