CFFILEUPLOAD - Javascript errors are being thrown
We've just installed CF9 (with updater 1) on our new DEV box and I was going through the new features and am stumped on the CFFILEUPLOAD one.
I created a page and added this code
<cffileupload extensionfilter="jpg,jpeg,gif,png,bmp,tiff" name="portfoliofiles" maxfileselect="5" title="Portfolio Images" url="fileupload.cfm">
When I pull it up in the browser (FF3.6 or IE8), nothing shows up. Nada. I have the latest flash installed. Using Firebug I can see that two javascript errors are actually being thrown:
Coldfusion is not defined: ColdFusion.Ajax.importTag('CFFILEUPLOAD');
and
Coldfusion is not defined };ColdFusion.Event.registerOnLoad(_cf_fileupload_init_1287722891141);
I've seen several examples online (Camden, et al) and all examples show that just the line will pop the box.
What's the problem?
