chadwelr
asked on
"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 & eBusiness Forums</a></p></td>
</tr>
</table>
<br>
<br>
<br>
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>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.
did you tried to established the ftp connection to the server
ASKER
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.
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 ;-)
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 ;-)
> 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 ;)
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 ;)
ASKER
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 ;-)
<cfparam name="lc_id" default="">