"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">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>IUID</title>
</head>
<body bgcolor="white">
<table width="75%" border="0">
  <tr>
    <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>
  </tr>
</table>
<br>
 
 
 
 
 
 
<br>
<br>
 &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">
  <tr>
    <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">
        	 <cfelse>
			 
			<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">
         </cfif>
      </cfloop>
   </cftree>
  </cfform>
      </td>
    <td><iframe name="iframe1" width="600" height="408" scrolling="auto" frameborder="0" ></iframe></td>
  </tr>
</table>
</body>
</html>

Open in new window

chadwelrAsked:
Who is Participating?
 
_agx_Connect With a Mentor Commented:
chadwelr,

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 )

     http://www.yoursite.com/cfide/scripts/cfform.js

Also, there are a number of dependencies on the cfide directory and its subdirectories.  Are you sure yours contains all of the necessary files?
0
 
erikTsomikSystem Architect, CF programmer Commented:
may be try to declare
<cfparam name="lc_id" default="">
0
 
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.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
erikTsomikSystem Architect, CF programmer Commented:
did you tried to established the ftp connection to the server
0
 
chadwelrAuthor Commented:
Yup. Can FTP into it no problem.
0
 
_agx_Commented:
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.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18653&sliceId=1

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  ;-)
0
 
_agx_Commented:
>  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 ;)
0
 
chadwelrAuthor Commented:
Realized I had my mapping misspelled all this time. Instead of CFIDE I had CFDIE........ My bad. Thanks for the help though.
0
 
_agx_Commented:
No problem.  "CFDIE"  Is that a fruedian slip ;-)
0
 
_agx_Commented:
.. or freudian for those that can spell ;-)
0
All Courses

From novice to tech pro — start learning today.