CFIDE directory

apparently our host or one of our admins has removed some subdirectories under CFIDE/scripts/

This is causing error messages when outputting to excel relating to missing css files.

Are these directories items that were installed with coldfusion? if so, are they critical to the operation of CF?

The CFIDE folder is part of the ColdFusion install. This folder and all its subdirectories contain ESSENTIAL scripts that if missing will mean that some CFML might not work.

Get the idiot admin/host to replace it with the full CFIDE folder asap.

That idiot was probably doing it because the CF Administrator is in there and from their point of view that’s a security risk ;).

You’ll find a lot of the rich tags like CFChart and CFForms need to access the scripts folder in order to work, so they should at least give read permission on that part of the CFIDE. I don’t agree that you need to open up the full CFIDE folder in order to get your code working but asking if that can be setup should give you what you need :wink:

Ok Admins have verified that the css files are there at both the c:CFIDE\ level and the root sitename.com\CFIDE and that our configuration is pointing to the root CFIDE across all servers in the cluster.

Files missing message still appears when exporting to excel.
missing file C:\CFIDE\scripts\ajax\resources\cf\cf.css
missing file C:\CFIDE\scripts\ajax\resources\yui\yui.css


// if user has selected excel for output_fmtchc, set cfcontent and cfheader 
<cfif #output_fmtchc# EQ "excel">
 <cfcontent type="application/msexcel">
  <cfheader  name="content-disposition" value="attachment; filename=Orders_Changed.xls">
</cfif>

//Define headers for columns
<table>
<tr>
<td>Field1Header</td>
<td>Field2Header</td>
etc...
</tr>
//output the results based on myquery and form elements.
<cfoutput query="myquery">
<tr>
<td>#field1#</td>
<td>#field2#</td>
etc...
</tr>
</cfoutput>
</table>

Turns out the error is caused by looping back over the form when form element datefield is used.

cfinput type=“datefield”