"lc_id is undefined" is causing me to lose my mind.

Been through 100 pages and up and down these forums for solutions and nothing seems to work. Keep getting the "'lc_id' is undefined" error message. Seems to be a script error that is being thrown because CF7 acts like it doesn't know where the CFIDE folder is. I've made sure the mappings are good about 200 times now and still, the same error. Any help would be greatly appreciated.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<body bgcolor="white">
<table width="75%" border="0">
    <td><img src="pics/ilsc.gif" width="202" height="103" /></td>
    <td><img src="pics/lcmc.jpg" width="344" height="103" /></td>
    <td><p align="center"><strong>Announcements</strong></p>
      <p align="center"><a href="announcements/2008UIDeBusinessForums.html">Announcing 2008 
        UID &amp; eBusiness Forums</a></p></td>
 &nbsp;&nbsp;Click on the file on the left hand side below and it will display the selected 
file on the right hand side of the page.
  <table width="75%" border="0" background="yellow">
    <td valign="top">
	<cfset This_Parent=expandpath("docs")>
<cfdirectory action="LIST" directory="#This_Parent#" name="Test_Dir" recurse="yes">
<cfform format="flash" width="558" height="408" action="#cgi.Script_Name#">
  <cftree name="Test_Tree" width="550" height="400"  border="no">
      <cfloop query="Test_Dir">
         <cfif Test_Dir.Type is "Dir">
            <cftreeitem value="#Test_Dir.Directory#\#Test_Dir.Name#" display="#Test_Dir.Name#" parent="#Test_Dir.Directory#" expand="no">
			<cfset temp=mid("#Test_Dir.Directory#",29, len ("#Test_Dir.Directory#")-28)>
            <cftreeitem value="#Test_Dir.Name#" display="#Test_Dir.Name#" parent="#Test_Dir.Directory#" expand="no" href="#temp#/#Test_Dir.Name#" target="iframe1">
    <td><iframe name="iframe1" width="600" height="408" scrolling="auto" frameborder="0" ></iframe></td>

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

erikTsomikSystem Architect, CF programmer Commented:
may be try to declare
<cfparam name="lc_id" default="">

When you say you've verified the mappings, did you verify that you can browse the cfide directory.  For example try viewing one of the simple javascript files used by cfform  ( just as a test )


Also, there are a number of dependencies on the cfide directory and its subdirectories.  Are you sure yours contains all of the necessary files?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chadwelrAuthor Commented:
Can definitely see the file and the rest are there also. The page is sitting on a shared server with several other sites. How should the mapping be setup in this situation?

Say the site/page is located in the IUID folder and I copy the entire CFIDE folder into the IUID folder. How am I supposed to set the mapping up in that situation and have the page look at it.

P.S. This is my first venture into CF and I'm already contemplating chewing broken glass. I love php.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

erikTsomikSystem Architect, CF programmer Commented:
did you tried to established the ftp connection to the server
chadwelrAuthor Commented:
Yup. Can FTP into it no problem.
Just to be 100% clear, you can view that file in the browser and do not get an http 404 error?

By default CF looks for CFIDE under the webroot.  Though some tags also allow you to use "scriptSrc" attribute to specify its location.

I don't know what webserver you're using but I have also heard of some issues setting up the proper access with IIS.  Though IIS configuration settings really isn't my thing  ;-)
>  I'm already contemplating chewing broken glass. I love php.

Sounds like my first experience with php, java, oracle, .net and a few other things.  I eventually got to like _most_ of them once I finally figured out what the problem was .. and no it wasn't always me ;)
chadwelrAuthor Commented:
Realized I had my mapping misspelled all this time. Instead of CFIDE I had CFDIE........ My bad. Thanks for the help though.
No problem.  "CFDIE"  Is that a fruedian slip ;-)
.. or freudian for those that can spell ;-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.